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 a9136a5b29
commit 3b5d3cd2e3

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