scss

Drush make file for subthemes | drupal.org

February 6, 2012 - 12:16am

My first foray with scss/compass and I'm checking out the Sasson contributed theme, which has built-in support.

Super cool, check this out (this will download Sasson, create a sub-theme and enable it):

drush dl sasson
drush cc all
drush sns "My theme"
drush en mytheme
drush vset theme_default mytheme

You can have full control on the theme name and machine name with:

drush sns "Full Name" machine_name

A List Apart: Articles: Getting Started with Sass

November 30, 2011 - 9:47pm

There is one catch. Partials are a special kind of SCSS file, not meant to be used as regular stylesheets. Any code you put into one must be @import-ed into a stylesheet to be used. Partials’ filenames must start with an underscore—for example, the pages/home partial loaded above would actually be named pages/_home.scss. (These paths are always relative to the current file.) The underscore is how the Sass compiler knows that a file is a partial, and therefore shouldn’t be compiled into a fully-fledged CSS sheet.

Subscribe to scss