Sass

From Things and Stuff Wiki
Jump to navigation Jump to search


Basics

_partial.sass  - partial files, for inclusion, will not be compiled


Sasson config.rb

prefered_syntax = :scss
http_path = '/'
css_dir = 'styles'
sass_dir = 'styles'
images_dir = 'images'
javascripts_dir = 'scripts'
relative_assets = true
line_comments = true

#output_style = :compressed
output_style = :expanded

PHP

Ruby init

gem install sass 
mv style.css style.scss 
sass --watch style.scss:style.css

Don't forget to add to $PATH (i.e. /var/lib/gems/1.8/bin)

Conversion tools

Other

Compass

Guides

Grids

Susy

Zocal

Drupal