Skip to content

Commit

Permalink
fix(panel): use $panel-colors variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Gomah authored and jgthms committed Oct 21, 2019
1 parent 40fb5e7 commit d1fb5d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sass/components/panel.sass
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ $panel-block-active-color: $link-active !default
$panel-block-active-icon-color: $link !default

$panel-icon-color: $text-light !default
$panel-colors: $colors !default

.panel
border-radius: $panel-radius
Expand All @@ -34,7 +35,7 @@ $panel-icon-color: $text-light !default
&:not(:last-child)
margin-bottom: $panel-margin
// Colors
@each $name, $components in $message-colors
@each $name, $components in $panel-colors
$color: nth($components, 1)
$color-invert: nth($components, 2)
&.is-#{$name}
Expand Down

0 comments on commit d1fb5d3

Please sign in to comment.