Skip to content
This repository has been archived by the owner on May 20, 2021. It is now read-only.

How to edit SASS? #11

Closed
danilovaz opened this issue Feb 23, 2016 · 4 comments
Closed

How to edit SASS? #11

danilovaz opened this issue Feb 23, 2016 · 4 comments

Comments

@danilovaz
Copy link

First, thank u for this project.

I need to change background-color off class .top-bar from $light-gray to $white, but if I change in node_modules/ember-cli-foundation-6-sass I will lost all changes in CSS. What the right in this case?

Ty.

@donaldwasserman
Copy link
Contributor

Hey there - I'm new to this project, but depending on your project sass structure, you can include a _settings.scss file (see http://foundation.zurb.com/sites/docs/sass.html#the-settings-file) to make those changes. Let me know if you need more help!

@danilovaz
Copy link
Author

Hi Donald!

Thank you for yor help.

So yes, I have this file in my project.

But the case is I want change variable is used in the class, but I only find file CSS foundation in node_modules, e.g:

FROM THIS:

.top-bar {
background-color: $light-gray;
}

TO THIS

.top-bar {
background-color: $white;
}

I don't know if I be clear with my question.

@acoustep
Copy link
Owner

Hi @danilovaz

After installing and running the generator you should have two SASS files inside of app/styles

There should be a _settings.scss file, and at the bottom there is a section for the topbar variables.

Does that help?

@acoustep
Copy link
Owner

acoustep commented Apr 3, 2016

Closing this for now. Feel free to reopen if you're still having an issue.

@acoustep acoustep closed this as completed Apr 3, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants