Experimental project

This is a sandbox project, which contains experimental code for developer use only.

Aggregated SASS via Compass

Compass is an open-source CSS Authoring Framework. Compass uses Sass. Sass is an extension of CSS3 which adds nested rules, variables, mixins, selector inheritance, and more. Sass generates well formatted CSS and makes your stylesheets easier to organize and maintain.

There are several other modules that add Sass and/or Compass support to Drupal. This module takes a different approach to Sass integration.

All scss files are aggregated into two files. One is a global scss file that @includes all scss files that are present on every page of the site. The second is a page specific scss file that @includes those scss files specific to the page.

Doing this allows Sass variables and mixings to be shared across files regardless of what module/theme added the scss file.

For example, a module could add a scss file to every page of the site that contains a number of variables and mixings. A theme could add a scss file and that file could have access to those variables and mixings created by the module. Pure awesomeness.

This is a work in progress and documentation will follow shortly.

Project information