Skip to content

Compass Integration

edrex edited this page Aug 15, 2011 · 2 revisions

Frank supports Compass out of box since 0.4.0. Just

gem install compass

and you can use compass in your SASS/SCSS files:

@import "compass/reset";

If you want to customize Compass or use a compass plugin, you'll need to add a few lines to Frank's setup.rb. For example:

require 'ninesixty'
# or
Compass.add_project_configuration './compass_config.rb'

# needed to update the include path for sass etc
Frank.sass_options = Compass.sass_engine_options

Note: don't call your compass config file "compass.rb". It will break the compass gem in Ruby 1.8.

Clone this wiki locally