Add new spacing helpers

This commit is contained in:
Jeremy Thomas
2020-05-10 14:47:06 +01:00
parent 0dc44161bc
commit a2a9564ca9
15 changed files with 433 additions and 147 deletions

16
sass/helpers/color.sass Normal file
View 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