1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-01 17:32:41 +02:00

docs(customize/colors): dump grays swatches (unused) and merge -500 in swatches

This commit is contained in:
Gaël Poupard
2020-05-07 16:48:08 +02:00
committed by Gaël Poupard
parent e03ef123e2
commit b45a2ab178
2 changed files with 2 additions and 9 deletions

View File

@@ -2,7 +2,7 @@
// Docs color palette classes
//
@each $color, $value in $colors {
@each $color, $value in map-merge($colors, ("gray-500": $gray-500)) {
.swatch-#{$color} {
color: color-contrast($value);
background-color: #{$value};
@@ -40,13 +40,6 @@
}
}
@each $color, $value in $grays {
.swatch-#{$color} {
color: color-contrast($value);
background-color: #{$value};
}
}
// stylelint-disable declaration-block-single-line-max-declarations
.bd-blue-100 { color: color-contrast($blue-100); background-color: $blue-100; }