Craig
Craig

Reputation: 427

Create a project using foundation and sass syntax?

I just installed the 'foundation' (v.1.0.4) gem with ruby 2.1.2 and I want to create a project using the sass syntax, not scss. I would have thought that the 'foundation' command used to create a new project would offer a "--syntax sass" option but it appears its only options are: Options: [--libsass], [--no-libsass]
[--version=VERSION]

Amazingly, I can't find any documentation for the 'foundation' command that lets me create a new project with sass syntax. It's like the sass syntax has just disappeared off the face of the earth hehe. I can't seem to find any mention of it anywhere on the foundation site.

Does anyone know how I can do that? Blessings...

Upvotes: 0

Views: 160

Answers (2)

Alfred Bez
Alfred Bez

Reputation: 1251

sass-convert -F scss -T sass --recursive scssFolder sassFolder

Upvotes: 1

JAre
JAre

Reputation: 4756

With compass you can convert from one syntax to another(see config.rb)

Or with sass command line:

sass-convert

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.

Upvotes: 1

Related Questions