0
0
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:
Andres Galante 2017-10-19 03:05:00 -03:00 committed by XhmikosR
parent dc5a096e03
commit bee20c04e8

View File

@ -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