Skip to content

Commit

Permalink
Move theme variables outside of the theme map. (#23918)
Browse files Browse the repository at this point in the history
  • Loading branch information
andresgalante authored and XhmikosR committed Oct 19, 2017
1 parent dc5a096 commit bee20c0
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit bee20c0

Please sign in to comment.