This Compass extension provides support for creating WordPress Themes using Sass.
[sudo] gem install wordpress-starter
To install a theme into your existing compass project, add the following to your compass configuration file:
require 'wordpress-starter'
Or, just run this command:
compass -r wordpress-starter -f wordpress /path/to/installation
What this does is call compass
, requires the wordpress-starter extension, uses the framework wordpress, sets the Sass output to be compressed and finally ends with you setting the theme name.
There are some available patterns:
compass -r wordpress-starter -f wordpress /path/to/installation
this theme comes bundled with a few features that makes easier to start:
- Full HTML5+CSS3 markup
- Build with Compass and Susy grid framework http://susy.oddbird.net/
- The theme is bundled with the Slightly Modded Options Framework SMOF, and include some known filters and actions that cleans and improves the output generated by WordPress
compass -r wordpress-starter -f wordpress/foundation /path/to/installation
this theme comes bundled with a few features that makes easier to start:
- Full HTML5+CSS3 markup
- Build with Compass and Zurb's Foundation framework 3.2 http://foundation.zurb.com/
- The theme is bundled with the Slightly Modded Options Framework SMOF, and include some known filters and actions that cleans and improves the output generated by WordPress
compass -r wordpress-starter -f wordpress/boostrap /path/to/installation
this theme comes bundled with a few features that makes easier to start:
- Full HTML5+CSS3 markup
- Build with Compass and Twitter Boostrap framework 2.2.2 http://twitter.github.com/bootstrap
- The theme is bundled with the Slightly Modded Options Framework SMOF, and include some known filters and actions that cleans and improves the output generated by WordPress
The starter pattern contains the Automattic starter theme _s http://underscores.me/
compass -r wordpress-starter -f wordpress/starter /path/to/installation
- The theme has been adapted to work with sass.
All the code included tries to follow the WordPress coding standards
- compass >= 0.12.2
- sass >= 3.2.0
- bootstrap-sass ~> 2.2.1.1
- zurb-foundation >= 3.2.2
- susy ~> 1.0.5
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Copyright (c) 2012 Alex Sancho. See LICENSE for details.