0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-14 02:24:00 +01:00
Bootstrap/assets/scss/_colors.scss

25 lines
419 B
SCSS
Raw Normal View History

2017-06-15 20:15:28 +02:00
//
// Docs color palette classes
//
@each $color, $value in $colors {
.swatch-#{$color} {
color: color-yiq($value);
2017-10-04 10:55:48 +02:00
background-color: #{$value};
2017-06-15 20:15:28 +02:00
}
}
@each $color, $value in $theme-colors {
.swatch-#{$color} {
color: color-yiq($value);
2017-10-04 10:55:48 +02:00
background-color: #{$value};
2017-06-15 20:15:28 +02:00
}
}
@each $color, $value in $grays {
.swatch-#{$color} {
color: color-yiq($value);
2017-10-04 10:55:48 +02:00
background-color: #{$value};
2017-06-15 20:15:28 +02:00
}
}