mirror of
https://github.com/jgthms/bulma
synced 2026-03-22 05:04:28 -07:00
Add white black light dark colors, Fix button inverted
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
@each $name, $pair in $colors
|
||||
$color: nth($pair, 1)
|
||||
$color-invert: nth($pair, 2)
|
||||
$lightning: (100% - lightness($color)) - 4%
|
||||
$lightning: max((100% - lightness($color)) - 4%, 0%)
|
||||
$darkness: max(lightness($color) - 10%, lightness($color))
|
||||
&.is-#{$name}
|
||||
background: lighten($color, $lightning)
|
||||
|
||||
Reference in New Issue
Block a user