-
Notifications
You must be signed in to change notification settings - Fork 463
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
Support for in-place importing of CSS #318
Comments
Natively SCSS doesn't support in-place importing of CSS files ( sass/libsass#318 ), but we want to import bower dependencies CSS files into our SCSS files. The temporary solution ( as suggested by sass/sass#556 (comment) ) is to copy all the CSS files at the bower_components folder as SCSS files so that we can import them. The implemented solution also uses a watch to perform this copy task automatically on any dependency changes.
+1 for this. It's been officially roadmapped for Sass 3.4 (along with a complete overhaul of the |
The full collection of use cases for people who stumble across this is documented here: sass/sass#1094 |
sass#318 Refactor lookup code for better readability
What's the status on this? If I'm correct we can implement to load css files at least with non-standard imports, like |
Well, both @import "file.css" and @import url("file.css") are part of the actual CSS spec and, as such, should be left intact. That is, making one of these inline the contents of the CSS file would go against the spec. What is needed is a formal syntax to inline CSS, similar to what Less does. That's the right way to handle the issue. Sent from my iPhone
|
OK, so PR at #754 should be good to go!? |
sass#318 Refactor lookup code for better readability
sass#318 Refactor lookup code for better readability
sass#318 Refactor lookup code for better readability
#754 has been merged! |
Never mind, I see the 3.2 milestone on the PR itself. I wantz it now! |
This is currently possible with the Ruby version using https://github.com/chriseppstein/sass-css-importer. Would be great to have so we can import CSS from bower libs etc.
The text was updated successfully, but these errors were encountered: