mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
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:
parent
5381f2649d
commit
5405a8b5c8
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user