Sass

From Things and Stuff Wiki
Jump to navigation Jump to search


Basics

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

Ruby

Init;

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

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

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

Compass

Guides

Grids

Vertical rhythm

Other

Zocal

Drupal

Tools