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

Font Awesome for responsive layout #47

Open
mmlac opened this issue Apr 2, 2012 · 1 comment
Open

Font Awesome for responsive layout #47

mmlac opened this issue Apr 2, 2012 · 1 comment

Comments

@mmlac
Copy link

mmlac commented Apr 2, 2012

How can I import the font awesome with the responsive layout without screwing around in the gem?

@import "compass_twitter_bootstrap_responsive"
@import "compass_twitter_bootstrap/font-awesome"

throws
Invalid CSS after "...rap_responsive"": expected selector or at-rule, was "@import "compas..."

Or: can we get a compass_twitter_bootstrap_responsive_awesome?

Btw: why is the _awesome so long? can't you just do import the normal one and then do an @import font-awesome? (just asking, still new to SASS)

@keithamus
Copy link

This wont work because the "_responsive" sass file is designed for including after one of "compass_twitter_bootstrap" or "compass_twitter_bootstrap_awesome". The right way to do this is:

@import "compass_twitter_bootstrap_awesome"
@import "compass_twitter_bootstrap_responsive"

or without font-awesome, like so:

@import "compass_twitter_bootstrap"
@import "compass_twitter_bootstrap_responsive"

This could probably be described better in the docs.

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

2 participants