This Compass extension provides support for creating WordPress Themes and working with WordPress Theme Frameworks using Sass.
Assuming you don't have Haml or Compass installed.
sudo gem install gemcutter gem tumble sudo gem haml sudo gem install compass sudo gem install compass-wordpress
To install a theme into your existing compass project, add the following to your compass configuration file:
OR, just run this command:
compass create -r compass-wordpress --using wordpress -s compressed <name>
What this does is call
compass, requires the compass-wordpress extension, uses the framework wordpress, sets the sass and css directories, sets the Sass output to be compressed and finally ends with you setting the theme name.
Read more details at Wynn's blog.
** As of this version, we only have support for Thematic developed. Suggest one to use, or fork the project and take a stab at it yourself. Either way, get in touch we want to hear from you.
Note on Patches/Pull Requests
- Fork the project!
- Develop your feature or bug fix.
- Commit, do not mess with rakefile, version, or history. (if you want to have your own version that's fine, but bump version in a commit by itself so it can be ignored when pulled)
- Send your pull request. Bonus points for usage of topic branches.
Copyright (c) 2009 Wynn Netherland / Adam Stacoviak / Pepijn de Vos. See LICENSE for details.