Oakcool
Oakcool

Reputation: 1496

How to override setting in Zurb Foundation Framework. ie $topbar-bg .Sass

I am trying to set a different color then the default black for the top bar, and I found that there is a variable that could be set to make this change but the way I am doing apparently does not make a difference. I am using Visual Studio, with the nuget package and I also installed Compass to deal with SASS. The Site.sass, I would imagine that would be the perfect place to do that so right after the @imports, I attempt to set the variable by doing the following

$topbar-bg: rgb(94, 136, 203);

But when I run the website, I see nothing different. Is this the correct way of doing this? Does anyone have any suggestions? Should I just go ahead and change on the source (That does not seem right)?

Thanks all suggestions are welcome.

Upvotes: 1

Views: 2973

Answers (1)

Compass documentation suggests that you set configuration variables prior to importing extensions:

http://compass-style.org/help/tutorials/configurable-variables/

Upvotes: 3

Related Questions