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

More docs Sass modules

This commit is contained in:
Mark Otto
2025-03-04 16:38:32 -08:00
parent 6e9f89d81d
commit 02c1e34645
19 changed files with 67 additions and 536 deletions

View File

@@ -12,8 +12,12 @@
:root,
[data-bs-theme="light"] {
@each $color-group-name, $color-group in $all-colors {
@each $color-name, $color-value in $color-group {
--#{$prefix}#{$color-name}: #{$color-value};
@if type-of($color-group) == "map" {
@each $color-name, $color-value in $color-group {
--#{$prefix}#{$color-name}: #{$color-value};
}
} @else {
--#{$prefix}#{$color-group-name}: #{$color-group};
}
}