improvement | notification: add light colors (#2709)

* notification: add light and dark colors

* notification: add light and dark colors

(fix indentation)
This commit is contained in:
Efynox 2020-01-05 13:42:52 +01:00 committed by Jeremy Thomas
parent 5381f2649d
commit 5405a8b5c8

View File

@ -34,3 +34,10 @@ $notification-padding: 1.25rem 2.5rem 1.25rem 1.5rem !default
&.is-#{$name} &.is-#{$name}
background-color: $color background-color: $color
color: $color-invert color: $color-invert
// If light and dark colors are provided
@if length($pair) >= 4
$color-light: nth($pair, 3)
$color-dark: nth($pair, 4)
&.is-light
background-color: $color-light
color: $color-dark