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

Already on GitHub? Sign in to your account

Please create a .scss file as well #58

Closed
jensimmons opened this Issue Oct 19, 2012 · 8 comments

Comments

Projects
None yet
3 participants

I'd love to have a .scss file. Many of us use Sass with .scss, instead of .sass.

Owner

nathansmith commented Oct 19, 2012

Assuming you're using Formalize via an @import, the *.sass version should work just as well as if it was *.scss.

So, I guess I'm wondering – What's the use-case for having it as *.scss? I'm not saying "no," just saying "Help me to understand."

Sometimes I'll fork Formalize, instead of overriding it's visual styles. Depends on the project. But when I want to fork it, I have to make a .scss file so we can use it. Today I spent a while converting that CSS into SCSS, putting your groovy comments back in, sassifying some of the code. Tedious. I wondered, hey how come there's not a .scss file here already? That would be handy. So I thought I'd open an issue.

Also, THANKS! Reading through the code line by line again today made me realize how handy this library is.

Owner

nathansmith commented Nov 30, 2012

Just posting here to let you know I haven't forgotten about this. I still have the email thread star'd in my inbox.

But, I'm trying to think of a way to be able to write *.sass and have it also spit out a *.scss file. I'm thinking maybe doing some sort of regex, but haven't had the time to experiment with that approach.

smizell commented Dec 7, 2012

I was looking at this too. Looks like there is a way to convert back and forth between *.sass and *.scss.

http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html

Owner

nathansmith commented Dec 7, 2012

Nice, I'll check if I can just make this part of my normal build process.

Oh, that would be handy. Easy to make. Flexible for all kinds of uses. :) Thanks.

Owner

nathansmith commented Dec 10, 2012

That convert command worked like a charm. Added in this commit…

e33fb64

Sweet! Thanks Nathan. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment