2017-08-11 17:59:31 +03:00
|
|
|
//
|
|
|
|
// Docs color palette classes
|
|
|
|
//
|
|
|
|
|
|
|
|
@each $color, $value in $colors {
|
|
|
|
.swatch-#{$color} {
|
|
|
|
background-color: #{$value};
|
2018-01-23 15:15:45 +03:00
|
|
|
color: color-yiq($value);
|
2017-08-11 17:59:31 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@each $color, $value in $theme-colors {
|
|
|
|
.swatch-#{$color} {
|
|
|
|
background-color: #{$value};
|
2018-01-23 15:15:45 +03:00
|
|
|
color: color-yiq($value);
|
2017-08-11 17:59:31 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@each $color, $value in $grays {
|
|
|
|
.swatch-#{$color} {
|
|
|
|
background-color: #{$value};
|
2018-01-23 15:15:45 +03:00
|
|
|
color: color-yiq($value);
|
2017-08-11 17:59:31 +03:00
|
|
|
}
|
|
|
|
}
|