diff options
| author | Andres Galante <[email protected]> | 2017-10-19 03:05:00 -0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2017-10-19 09:05:00 +0300 |
| commit | bee20c04e884fd40e40bd1802d10ce70e0ebd390 (patch) | |
| tree | fa81299a40287c18c002c538c0eba83aba25e1cb | |
| parent | dc5a096e0355cbc8e313677ad16b0e9fbe301f3c (diff) | |
| download | bootstrap-bee20c04e884fd40e40bd1802d10ce70e0ebd390.tar.xz bootstrap-bee20c04e884fd40e40bd1802d10ce70e0ebd390.zip | |
Move theme variables outside of the theme map. (#23918)
| -rw-r--r-- | scss/_variables.scss | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/scss/_variables.scss b/scss/_variables.scss index 3d78f0b8a..af0846806 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -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 |
