Repository is archived
No commit activity in last 3 years
No release in over 3 years
This Compass extension provides support for creating WordPress Themes using Sass.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 2.2.1.1
>= 0.12.2
>= 3.2.0
~> 1.0.5
 Project Readme

WordPress Starter

This Compass extension provides support for creating WordPress Themes using Sass.

Installing

[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.

Available patterns

There are some available patterns:

The default pattern creates a basic theme

compass -r wordpress-starter -f wordpress /path/to/installation

this theme comes bundled with a few features that makes easier to start:

The foundation pattern contains a basic theme based on Zurb's Foundation framework

compass -r wordpress-starter -f wordpress/foundation /path/to/installation

this theme comes bundled with a few features that makes easier to start:

The boostrap pattern contains a basic theme based on Twitter Boostrap framework

compass -r wordpress-starter -f wordpress/boostrap /path/to/installation

this theme comes bundled with a few features that makes easier to start:

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

Dependencies

  • compass >= 0.12.2
  • sass >= 3.2.0
  • bootstrap-sass ~> 2.2.1.1
  • zurb-foundation >= 3.2.2
  • susy ~> 1.0.5

Note on Patches/Pull Requests

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Copyright

Copyright (c) 2012 Alex Sancho. See LICENSE for details.

Bitdeli Badge