Skip to content

Commit

Permalink
refactor(colors): new $background-colors to use supporting colours in…
Browse files Browse the repository at this point in the history
… backgrounds
  • Loading branch information
ffoodd committed May 14, 2020
1 parent 0f081b6 commit 8c18f2b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
7 changes: 1 addition & 6 deletions scss/_utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -412,15 +412,10 @@ $utilities: map-merge(
property: background-color,
class: bg,
values: map-merge(
$theme-colors,
$background-colors,
(
"success": $green-2,
"info": $blue-2,
"warning": $yellow-2,
"danger": $purple,
"pink": $pink,
"body": $body-bg,
"light": $light,
"white": $white,
"transparent": transparent
)
Expand Down
10 changes: 10 additions & 0 deletions scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,16 @@ $theme-colors: (
"light": $light,
"dark": $dark
) !default;

$background-colors: map-merge(
$theme-colors,
(
"success": $green-2,
"info": $blue-2,
"warning": $yellow-2,
"danger": $purple
)
) !default;
// fusv-enable

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

0 comments on commit 8c18f2b

Please sign in to comment.