app/assets/stylesheets/sass/elements/notification.sass in bulma-sass-0.9.0 vs app/assets/stylesheets/sass/elements/notification.sass in bulma-sass-0.9.1
- old
+ new
@@ -3,10 +3,12 @@
$notification-radius: $radius !default
$notification-padding: 1.25rem 2.5rem 1.25rem 1.5rem !default
$notification-padding-ltr: 1.25rem 2.5rem 1.25rem 1.5rem !default
$notification-padding-rtl: 1.25rem 1.5rem 1.25rem 2.5rem !default
+$notification-colors: $colors !default
+
.notification
@extend %block
background-color: $notification-background-color
border-radius: $notification-radius
position: relative
@@ -31,10 +33,10 @@
.title,
.subtitle,
.content
color: currentColor
// Colors
- @each $name, $pair in $colors
+ @each $name, $pair in $notification-colors
$color: nth($pair, 1)
$color-invert: nth($pair, 2)
&.is-#{$name}
background-color: $color
color: $color-invert