bangpound / compass-drupal-zen-plugin

Sass port of Drupal Zen 2 theme as part of the Compass Stylesheet Framework

This URL has Read+Write access

name age message
file Manifest Fri Apr 24 16:41:56 -0700 2009 blind stupid drunk attempt at making a gemspec [bangpound]
file README.mkdn Wed May 06 15:53:45 -0700 2009 markdown syntax correction [bangpound]
file Rakefile Sun Apr 26 07:21:37 -0700 2009 finally a working gemspec [bangpound]
file VERSION.yml Sat May 16 09:51:53 -0700 2009 Version bump to 0.3.1 [bangpound]
file compass-drupal-zen-plugin.gemspec Sat May 16 09:52:23 -0700 2009 Regenerated gemspec for version 0.3.1 [bangpound]
directory d6_zen2/ Sat May 16 09:52:02 -0700 2009 fix manifest.rb to include new sass stylesheets [bangpound]
directory lib/ Sun Apr 26 07:21:37 -0700 2009 finally a working gemspec [bangpound]
README.mkdn

Drupal Zen theme - Compass Plugin

  • Port of Version 2
  • 2009-04-24

Sass stylesheets created by Benjamin Doherty (bangpound). See Drupal.org for more info about Zen theme: http://drupal.org/project/zen

Compass plugins can require libraries and provide frameworks. Multiple libraries may be included in this project for each version of Zen theme, and each of these libraries provides the zen subtheme framework.


This plugin adds the Drupal Zen theme STARTERKIT to Compass.

Install

sudo gem install chriseppstein-compass
sudo gem install compass-drupal-zen-plugin

Create a Drupal Zen theme Compass Project

compass -r d6_zen2 -f zen <project name> --css-dir .

Use of the --css-dir . puts the compiled stylesheets into the theme folder where the theme .info file tells Drupal they should be.

To recompile your Drupal Zen theme stylesheets from src

Edit the config.rb file in your theme folder and add to the top:

require 'd6_zen2'

Whenever you want to update your compiled stylesheets, just run compass from your theme directory:

cd sites/all/themes/STARTERKIT
compass