fix(panel): use $panel-colors variable

This commit is contained in:
Gomah
2019-10-20 12:11:13 +11:00
committed by Jeremy Thomas
parent 40fb5e7c7c
commit d1fb5d3480

View File

@@ -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
@@ -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}