Skip to content

Add SCSS Partials#22

Closed
akai wants to merge 1 commit into
necolas:masterfrom
akai:master
Closed

Add SCSS Partials#22
akai wants to merge 1 commit into
necolas:masterfrom
akai:master

Conversation

@akai

@akai akai commented Jul 7, 2011

Copy link
Copy Markdown

I add a scss partials file.

@necolas

necolas commented Jul 12, 2011

Copy link
Copy Markdown
Owner

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

akai commented Jul 13, 2011

Copy link
Copy Markdown
Author

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

@akai akai closed this Jul 13, 2011
@aratak

aratak commented Jul 13, 2011

Copy link
Copy Markdown

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

akai commented Jul 13, 2011

Copy link
Copy Markdown
Author

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

@aratak

aratak commented Jul 13, 2011

Copy link
Copy Markdown

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

akai commented Jul 14, 2011

Copy link
Copy Markdown
Author

OK, thx!

@lampslave

Copy link
Copy Markdown

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

aratak commented Jul 17, 2011

Copy link
Copy Markdown

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