A base theme for the Wordpress platform developed by Codelation.
- Download Local By Flywheel and follow install instructions.
Assuming that you already have our development environment setup we just need to install a couple of gems.
Install Compass CSS Authoring Framework
gem install compass
Install Sass-Globbing to be able to import all scss files in a directory
gem install sass-globbing
We also natively include all of the Codelation Mixins from the Codelation Assets project. This is manually setup, so any updates to the Codelation Assets project will need to be manually added to assets/vendor/codelation
- Clone this project into the wordpress directory you just created under
wp-content/themes/
- Log into the Wordpress Admin and switch the theme to the
Codelation Default Theme - Navigate to the
codelation-default/assetsdirectory and typecompass watch
codelation-default/style.cssimports fromcodelation-default/css/style.cssto keep everything in the Wordpress world happy.codelation-default/css/style.cssimports all of the generated stylescodelation-default/assets/stylesheets/style.scss:codelation-default/stylesheets/components/*codelation-default/stylesheets/views/*
codelation-default/assets/stylesheets/_base.scssincludes all of the codelation-assets mixins and must be included in every scss file in which to use a codelation-assets mixincodelation-default/assets/stylesheets/_variables.scssis used to declare all local variables and is included in_base.scss