Go to file
Pedro Reis 47b7195a34 Update _mixins.scss 2014-05-09 10:00:52 +01:00
css Update _mixins.scss 2014-05-09 10:00:52 +01:00
js Grunt SVG stuff and general tidy-up 2014-05-08 11:24:17 +01:00
.gitignore Grunt SVG stuff and general tidy-up 2014-05-08 11:24:17 +01:00
Gruntfile.js Added JS linting 2014-05-08 16:45:41 +01:00
README.md re-integration of grunt 2014-02-21 10:23:33 +00:00
footer.php converted all tabs to spaces 2014-03-31 16:19:42 +01:00
functions.php Grunt SVG stuff and general tidy-up 2014-05-08 11:24:17 +01:00
header.php Grunt SVG stuff and general tidy-up 2014-05-08 11:24:17 +01:00
index.php converted all tabs to spaces 2014-03-31 16:19:42 +01:00
package.json Added JS linting 2014-05-08 16:45:41 +01:00
script.js Grunt SVG stuff and general tidy-up 2014-05-08 11:24:17 +01:00
style.css Grunt SVG stuff and general tidy-up 2014-05-08 11:24:17 +01:00

README.md

barebones

A lightweight and skeletal WordPress boilerplate theme for HTML5 and beyond. There's lots of these out there but most themes include lots of bloat and files which you might not necessarily need, so I thought I'd create my own which is great as a starting point with powerful features to encourage rapid development for most projects.

Features

  • Reset, normalisation and base font/form styles
  • Sass powered - semantically named files all compiled into a single file
  • Semantic use of HTML5 elements, includes Google HTML5 shiv
  • WAI-ARIA role ready
  • Uses bourbon's neat responsive grid framework
  • Comes pre-bundled with cached CDN version of jQuery
  • jQuery plugin agnostic
  • Basic index.php Loop template
  • Customised functions.php adding theme support for high customisation
  • Minimised HTTP requests for high Web Performance
  • Localised strings for multiple language support
  • Grunt.js integration - automatic image optimisation, Sass compiling and watching, css minification and live reload support

Installation

Dependencies

  • Bourbon gem
  • Neat gem
  • Node.js
  • Grunt.js

Optional

Clone/download the barebones repositories into your WordPress /wp-content/themes/ directory, then open /barebones/ in a command line tool, such as Mac Terminal, then first install the bourbon/neat gems if you haven't already:

$ gem install bourbon
$ gem install neat

Then install bourbon/neat to the theme's css folder

$ cd css
$ bourbon install
$ neat install

and run the following to install all of this project's Grunt dependencies:

$ npm install --save-dev

Then run grunt:

WordPress Support

Compatible with WordPress 3.2 and above, but always use the latest version.

Browser Support

  • Internet Explorer 8.0+
  • Firefox 3.0+
  • Safari 4.0+
  • Chrome 14.0+
  • Opera 10.0+

Roadmap

  • Organisation of Sass folders