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

Use SCSS import vs sprockets require for compatibility with bourbon #105

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

terracatta
Copy link

Hey Redactor-Rails Maintainers,

I ran into an issue with my Rails 4 app (but could happen to 3.2 users as well). Instead of using sprockets requires, files in my application.css, as recommended by Thoughtbot's Bourbon project I use SCSS's @import feature and rename my applicaton.css to application.css.scss.

When I tried to import redactor-rails stylesheets, I got unreadable errors (I think because it uses sprockets inline which vanilla SCSS can't read), so I changed everything over to normal scss imports which work fine. I believe this should be backwards compatible with anyone sprockets so the README.md will not have to change.

Let me know what this needs to merge.

Review on Reviewable

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

Successfully merging this pull request may close these issues.

1 participant