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

Add SCSS Partials #22

Closed
wants to merge 1 commit into from
Closed

Add SCSS Partials #22

wants to merge 1 commit into from

Conversation

akai
Copy link

@akai akai commented Jul 7, 2011

I add a scss partials file.

@necolas
Copy link
Owner

necolas commented Jul 12, 2011

I think this can be done by authors themselves rather than having to maintain 2 near-identical files in the project repo. Is there a tool that will automatically do this?

@akai
Copy link
Author

akai commented Jul 13, 2011

OK. But I can't find a tool for that.

@akai akai closed this Jul 13, 2011
@aratak
Copy link

aratak commented Jul 13, 2011

The sass-convert executable converts between CSS, Sass, and SCSS. When converting from CSS to Sass or SCSS, nesting is applied where appropriate. See sass-convert --help for further information and options.

@akai
Copy link
Author

akai commented Jul 13, 2011

But sass-convert can't convert comments: /* ... */ to // ... .

@aratak
Copy link

aratak commented Jul 13, 2011

I'm sure, that you can spend 10 mins and convert css to scss manually. After that, using sass-convert convert scss to sass if it needed.

@akai
Copy link
Author

akai commented Jul 14, 2011

OK, thx!

@lampslave
Copy link

How about something like this for one-line comments?

find * -type f | xargs sed -i -e 's/\/\\/\//g'
find * -type f | xargs sed -i -e 's/\*\///g'

@aratak
Copy link

aratak commented Jul 17, 2011

I mean that, when I'm say "manually"

@drublic drublic mentioned this pull request Sep 23, 2013
@kevva kevva mentioned this pull request Mar 10, 2015
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.

4 participants