Skip to content

Commit

Permalink
refactor(utilities): override theme-colors in map-merge() instead of …
Browse files Browse the repository at this point in the history
…using another map
  • Loading branch information
ffoodd committed Apr 8, 2020
1 parent 73c6e06 commit 10d075f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
9 changes: 6 additions & 3 deletions scss/_utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -399,10 +399,13 @@ $utilities: map-merge(
property: background-color,
class: bg,
values: map-merge(
$supporting-colors,
$theme-colors,
(
"primary": $primary,
"secondary": $secondary,
"success": $green-2,
"info": $blue-2,
"warning": $yellow-2,
"danger": $pink,
"purple": $purple,
"body": $body-bg,
"light": $light,
"white": $white,
Expand Down
10 changes: 0 additions & 10 deletions scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,6 @@ $theme-colors: (
"light": $light,
"dark": $dark
) !default;

// Boosted mod
$supporting-colors: (
"success": $green-2,
"info": $blue-2,
"warning": $yellow-2,
"danger": $pink,
"purple": $purple
) !default;
// End mod
// fusv-enable

// Set a specific jump point for requesting color jumps
Expand Down

0 comments on commit 10d075f

Please sign in to comment.