SlickNav icon indicating copy to clipboard operation
SlickNav copied to clipboard

Overriding SCSS variables

Open nandorocker opened this issue 9 years ago • 1 comments

Trying to override variables with no luck. I did this:

$color_bg: #fff;

@import slicknav;

Can't get that background to change. What am I doing wrong? You need to add some info about the SCSS to your documentation...

nandorocker avatar May 06 '15 02:05 nandorocker

From a quick look, $color_bg is defined like this in theme.scss:

$color_bg: #4c4c4c;

It is not overrideable unless it has !default, like so:

$color_bg: #4c4c4c !default;

So, a pull request is in order. :beers:

liviucmg avatar Nov 17 '15 17:11 liviucmg