Use merge_map when defining colors to avoid override original Bulma colors

This commit is contained in:
poulp 2019-05-17 15:28:10 +02:00 committed by Thomas Citharel
parent c53f19dc04
commit 4b80a2a203

View File

@ -5,9 +5,12 @@ $primary-invert: findColorInvert($primary);
$secondary: #FAB12D; $secondary: #FAB12D;
$secondary-invert: findColorInvert($secondary); $secondary-invert: findColorInvert($secondary);
$colors: ( $colors: map-merge(
$colors,
(
"primary": ($primary, $primary-invert), "primary": ($primary, $primary-invert),
"secondary": ($secondary, $secondary-invert), "secondary": ($secondary, $secondary-invert)
)
); );
// Navbar // Navbar