-
Notifications
You must be signed in to change notification settings - Fork 10.6k
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
Converted normalize.css to SASS #9
Conversation
…so they will be removed in output.
I think the existing |
Would this be worth discussing again? With the advent pf Bower, converting it manually would mean giving up the benefits of having a pacakge manager. Importing a CSS template into a Sass template compiles to a standard CSS @import rather than pulling in the partial, which makes deployments more difficult. I know there are SCSS versions on bower, but this is the only one guaranteed to be up-to-date. Thoughts? |
That's not true. Don't include the |
I can't get it to work, is there something else to it? I have a file called Relevant part of the file:
Gives the error stack:
|
@Melindrea That makes sense to me; I was under the impression if you don't include an extension, Sass assumes it's looking for an SCSS file. Is that incorrect @necolas? |
Oh, looks like I was wrong, been a while since I used Sass - sass/sass#193 I'd suggest you use one of the existing Sass forks or get your build step to combine the files. |
Fair enough. |
The trick I use in my local repository is a symbolic link from |
Nice idea |
I fork normalize.css project https://github.com/appleboy/normalize.scss and install it via bower (http://bower.io/).
import it via sass.
|
@mlawren I like that! I tend to pull normalize in through ST2 fetch, but I prefer your way. |
Hadn't thought about the symlink approach. I wrote a custom importer that allows me to not specify an extension but still import CSS files as though they are SCSS templates like: @import "bower!normalize-css/normalize"; It's on gist (https://gist.github.com/joefiorini/5563919) right now, I'm hoping to release a gem eventually. |
converted normalize.css to SASS ( http://sass-lang.com/ ) and switched to single-line comments so they will be removed in output.