pengwynn / compass-wordpress

Compass plugin for creating WordPress themes using Sass

This URL has Read+Write access

name age message
file .document Thu Nov 05 20:16:55 -0800 2009 Initial version [pengwynn]
file .gitignore Thu Nov 05 14:05:43 -0800 2009 Initial commit to compass-wordpress. [pengwynn]
file LICENSE Fri Nov 06 00:42:54 -0800 2009 Move thematic into wordpress, update the readme... [Adam Stacoviak]
file README.markdown Tue Nov 10 06:25:09 -0800 2009 Update that added link to turn it into a link [Adam Stacoviak]
file Rakefile Fri Nov 06 00:06:08 -0800 2009 Drop un-needed library items, rename library to... [Adam Stacoviak]
file VERSION Wed Dec 09 23:38:35 -0800 2009 Version bump to 0.1.4 [Adam Stacoviak]
file compass-wordpress.gemspec Wed Dec 09 23:39:19 -0800 2009 Regenerated gemspec for version 0.1.4 [Adam Stacoviak]
directory lib/ Thu Nov 05 20:16:55 -0800 2009 Initial version [pengwynn]
directory sass/ Mon Nov 30 03:50:48 -0800 2009 Generate new gemspec, clean up Sass errors when... [Adam Stacoviak]
directory templates/ Thu Dec 10 08:29:22 -0800 2009 Updates to 'Base', updated header to include pr... [Adam Stacoviak]
README.markdown

Compass WordPress

This Compass extension provides support for creating WordPress Themes and working with WordPress Theme Frameworks using Sass.

Installing

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:

require 'compass-wordpress'

OR, just run this command:

compass -r compass-wordpress -f wordpress --sass-dir=sass --css-dir=css -s compressed -p <Theme Name> /path/to/installation

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.

Supported Theme Options

  • project (default)
  • thematic

Note on Patches/Pull Requests

  • Fork the project!
  • Develop your feature or bug fix.
  • Add tests for it. This is IMPORTANT so your work doesn't get broken in a future version unintentionally.
  • 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

Copyright (c) 2009 Wynn Netherland / Adam Stacoviak. See LICENSE for details.