mirror of
https://github.com/jgthms/bulma
synced 2026-03-21 20:54:30 -07:00
fix(panel): use $panel-colors variable
This commit is contained in:
@@ -26,6 +26,7 @@ $panel-block-active-color: $link-active !default
|
|||||||
$panel-block-active-icon-color: $link !default
|
$panel-block-active-icon-color: $link !default
|
||||||
|
|
||||||
$panel-icon-color: $text-light !default
|
$panel-icon-color: $text-light !default
|
||||||
|
$panel-colors: $colors !default
|
||||||
|
|
||||||
.panel
|
.panel
|
||||||
border-radius: $panel-radius
|
border-radius: $panel-radius
|
||||||
@@ -34,7 +35,7 @@ $panel-icon-color: $text-light !default
|
|||||||
&:not(:last-child)
|
&:not(:last-child)
|
||||||
margin-bottom: $panel-margin
|
margin-bottom: $panel-margin
|
||||||
// Colors
|
// Colors
|
||||||
@each $name, $components in $message-colors
|
@each $name, $components in $panel-colors
|
||||||
$color: nth($components, 1)
|
$color: nth($components, 1)
|
||||||
$color-invert: nth($components, 2)
|
$color-invert: nth($components, 2)
|
||||||
&.is-#{$name}
|
&.is-#{$name}
|
||||||
|
|||||||
Reference in New Issue
Block a user