1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-29 08:10:47 +02:00

New _colors.scss

This commit is contained in:
Mark Otto
2025-03-04 12:13:48 -08:00
parent 7d8b2f0ded
commit ede41f571b
3 changed files with 294 additions and 5 deletions

View File

@@ -6,13 +6,19 @@
//
// Generate palettes for full colors, grays, and theme colors.
@each $color, $value in $colors {
--#{$prefix}#{$color}: #{$value};
@each $color-group-name, $color-group in $all-colors {
@each $color-name, $color-value in $color-group {
--#{$prefix}#{$color-name}: #{$color-value};
}
}
@each $color, $value in $grays {
--#{$prefix}gray-#{$color}: #{$value};
}
// @each $color, $value in $colors {
// --#{$prefix}#{$color}: #{$value};
// }
// @each $color, $value in $grays {
// --#{$prefix}gray-#{$color}: #{$value};
// }
@each $color, $value in $theme-colors {
--#{$prefix}#{$color}: #{$value};