mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-30 12:24:19 +01:00
25 lines
419 B
SCSS
25 lines
419 B
SCSS
//
|
|
// Docs color palette classes
|
|
//
|
|
|
|
@each $color, $value in $colors {
|
|
.swatch-#{$color} {
|
|
color: color-yiq($value);
|
|
background-color: #{$value};
|
|
}
|
|
}
|
|
|
|
@each $color, $value in $theme-colors {
|
|
.swatch-#{$color} {
|
|
color: color-yiq($value);
|
|
background-color: #{$value};
|
|
}
|
|
}
|
|
|
|
@each $color, $value in $grays {
|
|
.swatch-#{$color} {
|
|
color: color-yiq($value);
|
|
background-color: #{$value};
|
|
}
|
|
}
|