Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorAndres Galante <agalante@gmail.com>2017-10-19 09:05:00 +0300
committerXhmikosR <xhmikosr@gmail.com>2017-10-19 09:05:00 +0300
commitbee20c04e884fd40e40bd1802d10ce70e0ebd390 (patch)
treefa81299a40287c18c002c538c0eba83aba25e1cb /scss
parentdc5a096e0355cbc8e313677ad16b0e9fbe301f3c (diff)
Move theme variables outside of the theme map. (#23918)
Diffstat (limited to 'scss')
-rw-r--r--scss/_variables.scss25
1 files changed, 17 insertions, 8 deletions
diff --git a/scss/_variables.scss b/scss/_variables.scss
index 3d78f0b8ae..af0846806e 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