-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Best Practices
avit edited this page Sep 13, 2010
·
16 revisions
Create a _base.sass
partial to initialize your stylesheets with common variables and the framework utilities you plan to use:
@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.
The _base.sass
file is also a great place to keep your own custom mixins, so they’re available to any stylesheet that includes it.
Then you can include this file in all other stylesheets:
@import base.sass #wrapper +container // etc.