Add color helpers

This commit is contained in:
Jeremy Thomas
2018-04-08 15:34:40 +01:00
parent 7f03c86c1e
commit 7ece5f5156
9 changed files with 150 additions and 15 deletions

View File

@@ -100,7 +100,7 @@ $alignments: ('centered': 'center', 'justified': 'justify', 'left': 'left', 'rig
&:hover,
&:focus
color: darken($color, 10%) !important
.has-bg-#{$name}
.has-background-#{$name}
background-color: $color !important
@each $name, $shade in $shades