Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined mixin 'foundation-global-styles'. #218

Open
AmberWilkie opened this issue Feb 19, 2017 · 2 comments
Open

Undefined mixin 'foundation-global-styles'. #218

AmberWilkie opened this issue Feb 19, 2017 · 2 comments

Comments

@AmberWilkie
Copy link

AmberWilkie commented Feb 19, 2017

I'm getting this error directly after the generator runs. None of the mixins are working. I have the sass-rails gem included in the Gemfile (comes with installation)

My application.scss looks like this:

 *= require font-awesome
 *= require foundation_and_overrides
 *= require_tree .
 *= require_self

Here's the link to the code: https://github.com/AmberWilkie/snack-app/tree/navbar

Thanks so much for any insights!

@Deckluhm
Copy link
Contributor

You have CSS versions of Foundation in your app/assets/stylesheets directory and I think this line which is supposed to @import the SCSS version of Foundation (contained in the gem) is instead importing this one.

So just remove foundation.css and foundation.min.css from the app/assets/stylesheets directory and it should work.

@interpegasus
Copy link

Removing foundation.css and foundation.min.css solved the issue on my end. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants