]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
fix(panel): use $panel-colors variable
authorGomah <hi@gomah.fr>
Sun, 20 Oct 2019 01:11:13 +0000 (12:11 +1100)
committerJeremy Thomas <bbxdesign@gmail.com>
Mon, 21 Oct 2019 19:18:47 +0000 (15:18 -0400)
sass/components/panel.sass

index 3c32be600d9d7777069584512f59b064d974ca3d..c7b1487724a1c6e94f5a491ae3f07144753a62b4 100644 (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}