c4c6dcb68c
We have a range of shades for most of the theme colors Grouped them into color maps the same way Bootstrap does for $grays already Also add type scale utils
17 lines
319 B
SCSS
17 lines
319 B
SCSS
@each $variant, $range in $color-ranges {
|
|
@each $suffix, $color in $range {
|
|
#{'.bg-#{$variant}-#{$suffix}'} {
|
|
background-color: $color;
|
|
}
|
|
|
|
#{'.text-#{$variant}-#{$suffix}'} {
|
|
color: $color;
|
|
}
|
|
}
|
|
}
|
|
|
|
@each $index, $size in $type-scale {
|
|
#{'.text-#{$index}'} {
|
|
font-size: $size;
|
|
}
|
|
}
|