Skip to content
avit edited this page Sep 13, 2010 · 16 revisions

Use a Base stylesheet file

Create a _base.sass partial to initialize your stylesheets with common variables and the framework utilities you plan to use:

_base.sass

@import compass/reset.sass
@import compass/utilities.sass
@import blueprint/screen.sass

!font_color           = #333

!layout_grid_columns = 24
!layout_grid_width = 30px
!layout_grid_margin = 10px

// etc.

Then you can include this file in all other stylesheets:

application.sass

@import base.sass

#wrapper
  +container
// etc.
Clone this wiki locally