mirror of
https://github.com/jgthms/bulma
synced 2026-03-23 21:39:36 -07:00
Add new spacing helpers
This commit is contained in:
16
sass/helpers/color.sass
Normal file
16
sass/helpers/color.sass
Normal file
@@ -0,0 +1,16 @@
|
||||
@each $name, $pair in $colors
|
||||
$color: nth($pair, 1)
|
||||
.has-text-#{$name}
|
||||
color: $color !important
|
||||
a.has-text-#{$name}
|
||||
&:hover,
|
||||
&:focus
|
||||
color: bulmaDarken($color, 10%) !important
|
||||
.has-background-#{$name}
|
||||
background-color: $color !important
|
||||
|
||||
@each $name, $shade in $shades
|
||||
.has-text-#{$name}
|
||||
color: $shade !important
|
||||
.has-background-#{$name}
|
||||
background-color: $shade !important
|
||||
Reference in New Issue
Block a user