mirror of
https://github.com/jgthms/bulma
synced 2026-03-20 12:24:28 -07:00
Allow each component to have its own colors and default to the global set
This commit is contained in:
committed by
Jeremy Thomas
parent
7a3efb04aa
commit
da369e134c
@@ -46,6 +46,8 @@ $navbar-bottom-box-shadow-size: 0 -2px 0 0 !default
|
||||
|
||||
$navbar-breakpoint: $desktop !default
|
||||
|
||||
$navbar-colors: $colors !default
|
||||
|
||||
=navbar-fixed
|
||||
left: 0
|
||||
position: fixed
|
||||
@@ -57,7 +59,7 @@ $navbar-breakpoint: $desktop !default
|
||||
min-height: $navbar-height
|
||||
position: relative
|
||||
z-index: $navbar-z
|
||||
@each $name, $pair in $colors
|
||||
@each $name, $pair in $navbar-colors
|
||||
$color: nth($pair, 1)
|
||||
$color-invert: nth($pair, 2)
|
||||
&.is-#{$name}
|
||||
|
||||
Reference in New Issue
Block a user