Disabled buttons

This commit is contained in:
Jeremy Thomas
2019-09-21 00:40:16 +01:00
parent b6f9893f74
commit 6dc88bd30c
2 changed files with 78 additions and 76 deletions

View File

@@ -86,13 +86,6 @@ $shades: mergeColorMaps(("black-bis": $black-bis, "black-ter": $black-ter, "grey
$sizes: $size-1 $size-2 $size-3 $size-4 $size-5 $size-6 $size-7 !default
@function getLightnessColor($color, $l)
@if type-of($color) == 'color'
@if lightness($color) > $lightness
$l: lightness($color)
@return change-color($color, $lightness: $l)
@return $background
@function findLightColor($color)
@if type-of($color) == 'color'
$l: 96%
@@ -121,7 +114,6 @@ $sizes: $size-1 $size-2 $size-3 $size-4 $size-5 $size-6 $size-7 !default
--#{$base}: hsl(var(--#{$base}-h), calc(var(--#{$base}-s)), calc(var(--#{$base}-l)))
--#{$base}-hover: hsl(var(--#{$base}-h), calc(var(--#{$base}-s)), calc(var(--#{$base}-l) - 5%))
--#{$base}-active: hsl(var(--#{$base}-h), calc(var(--#{$base}-s)), calc(var(--#{$base}-l) - 10%))
--#{$base}-shadow: hsl(var(--#{$base}-h), calc(var(--#{$base}-s)), 86%)
$light: findLightColor($color)
--#{$base}-light: #{$light}