mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
Move theme variables outside of the theme map. (#23918)
This commit is contained in:
parent
dc5a096e03
commit
bee20c04e8
@ -62,16 +62,25 @@ $colors: map-merge((
|
||||
"gray-dark": $gray-800
|
||||
), $colors);
|
||||
|
||||
$primary: $blue !default;
|
||||
$secondary: $gray-600 !default;
|
||||
$success: $green !default;
|
||||
$info: $cyan !default;
|
||||
$warning: $yellow !default;
|
||||
$danger: $red !default;
|
||||
$light: $gray-100 !default;
|
||||
$dark: $gray-800 !default;
|
||||
|
||||
$theme-colors: () !default;
|
||||
$theme-colors: map-merge((
|
||||
"primary": $blue,
|
||||
"secondary": $gray-600,
|
||||
"success": $green,
|
||||
"info": $cyan,
|
||||
"warning": $yellow,
|
||||
"danger": $red,
|
||||
"light": $gray-100,
|
||||
"dark": $gray-800
|
||||
"primary": $primary,
|
||||
"secondary": $secondary,
|
||||
"success": $success,
|
||||
"info": $info,
|
||||
"warning": $warning,
|
||||
"danger": $danger,
|
||||
"light": $light,
|
||||
"dark": $dark
|
||||
), $theme-colors);
|
||||
// stylelint-enable
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user