#fawn
A WordPress Starter Theme
For use as a starting template for building custom themes. Uses SCSS and AutoPrefixr, HTML5 Boilerplate with Modernizr and Normalize.css, and Grunt for all processing tasks.
The theme is setup to use Grunt to compile SCSS (with source maps), run it through AutoPrefixr, lint, concatenate and minify JavaScript (with source maps), optimize images, with flexibility to add any additional tasks via the Gruntfile.
Run npm install to pull in all Grunt dependencies. Run grunt to execute tasks.
- Compile
assets/styles/style.scsstostyle.css - Compile
assets/styles/editor-style.scsstoeditor-style.css - Compile
assets/styles/lte-ie9.scsstolte-ie9.css - Concatenate and minify plugins in
assets/js/vendorandassets/js/source/plugins.jstoassets/js/plugins.min.js - Minify and lint
assets/js/source/main.jstoassets/js/main.min.js
To concatenate and minify your jQuery plugins, add them to the assets/js/vendor directory and add the js filename and path to the Gruntfile uglify task. Previous versions of the starter theme automatically pulled all plugins in the vendor directory, but this has changed to allow more granular control and for managing plugins and assets with bower.
- Normalized stylesheet for cross-browser compatibility using Normalize.css version 3 (IE8+)
- Condensed Bootstrap Grid - Full bootstrap grid experience packed into a 2kb Sass partial
- SCSS partially setup with reset dependencies and base styles
- Grunt for processing all SASS, JavaScript and images
- SVG Defs system with png fallback