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
|
"gray-dark": $gray-800
|
||||||
), $colors);
|
), $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: () !default;
|
||||||
$theme-colors: map-merge((
|
$theme-colors: map-merge((
|
||||||
"primary": $blue,
|
"primary": $primary,
|
||||||
"secondary": $gray-600,
|
"secondary": $secondary,
|
||||||
"success": $green,
|
"success": $success,
|
||||||
"info": $cyan,
|
"info": $info,
|
||||||
"warning": $yellow,
|
"warning": $warning,
|
||||||
"danger": $red,
|
"danger": $danger,
|
||||||
"light": $gray-100,
|
"light": $light,
|
||||||
"dark": $gray-800
|
"dark": $dark
|
||||||
), $theme-colors);
|
), $theme-colors);
|
||||||
// stylelint-enable
|
// stylelint-enable
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user