diff --git a/.babelrc b/.babelrc
new file mode 100644
index 0000000..ea61312
--- /dev/null
+++ b/.babelrc
@@ -0,0 +1,4 @@
+{
+ "presets": ["es2015", "stage-2"],
+ "comments": false,
+}
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..4bd3bd8
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,12 @@
+root = true
+
+[*]
+charset = utf-8
+indent_style = space
+indent_size = 2
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.md]
+trim_trailing_whitespace = false
diff --git a/.gitignore b/.gitignore
index 51d5bd0..4dfe913 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,9 +1,9 @@
+.DS_Store
npm-debug.log
.sass-cache
node_modules
-bower_components
assets/sass/vendor
-tests
-
+package-lock.json
*.map
-**/*.map
\ No newline at end of file
+**/*.map
+yarn.lock
diff --git a/.gitmodules b/.gitmodules
index 180aa8f..2b2cb88 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,3 @@
-[submodule "assets/sass/vendor/simple-grid"]
- path = assets/sass/vendor/simple-grid
+[submodule "assets/styles/vendor/simple-grid"]
+ path = assets/styles/vendor/simple-grid
url = https://github.com/benchmarkstudios/simple-grid.git
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3c2e384..42b09d7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,15 +1,3 @@
# barebones changelog
-
-## 2.0.2
-* Add dependencies that were missing while using yarn
-
-## 2.0.1
-
-* Comment out example "add_image_size" as it can be easily forgotten which leaves you with extra unused image size.
-* Add CHANGELOG.MD to track changes
-* Tidy up formatting using PHP-CS-Fixer (mostly spacing)
-* Update README.MD dependencies
-
-## 2.0.0
-
-* Refreshed tooling using Elixir with lots of improvements
+## 3.0
+* Refreshed simplified tooling, new feaatures and improvements
diff --git a/README.md b/README.md
index 95c9e9b..9b71eb6 100644
--- a/README.md
+++ b/README.md
@@ -5,17 +5,17 @@ A lightweight and skeletal WordPress boilerplate theme for HTML5 and beyond. The
## Features
* Reset, normalisation and base font/form styles
-* Sass Boilerplate - semantically named files, organised by folders, all compiled into a single file
+* Scss Boilerplate - semantically named files, organised by folders, all compiled into a single file
* Semantic use of HTML5 elements, includes Google HTML5 shiv
* WAI-ARIA role ready
-* Comes pre-bundled with cached CDN version of jQuery
* jQuery plugin agnostic
-* Laravel Elixir to define/customize and run basic Gulp tasks
* Basic template files
* Customised functions.php adding theme support for high customisation
* Minimised HTTP requests for high Web Performance
* Localised strings for multiple language support
-* Sass compiling and watching, css minification and live reload support
+* Scss compiling and watching, css minification support
+* Rollup.js for js for smallest possible bundles
+* Image optimisation using imagemin.
## Installation
@@ -31,23 +31,26 @@ To include all its optional submodules ([Simple Grid](https://github.com/benchma
#### Dependencies
-* [Node.js](http://nodejs.org)
-* [Gulp](http://gulpjs.com)
-* [Gulp Imagemin](https://github.com/sindresorhus/gulp-imagemin)
-* [Laravel Elixir](https://github.com/laravel/elixir)
+Install Dependencies:
+```
+ npm install
+```
-### Using Gulp and Laravel Elixir
+.. or with yarn:
+```
+ yarn
+```
+
+### Using Gulp
Install Gulp as a global NPM package, if you don't have it already on your machine:
npm install --global gulp
-Install Laravel Elixir:
+Install Dependencies, you have haven't done yet:
npm install
-Edit your gulpfile.js adding the required tasks (check the [Laravel Elixir](http://laravel.com/docs/master/elixir) documentation for further information).
-
Then run:
gulp
@@ -58,11 +61,20 @@ Then run:
*to watch*
- gulp --production
+ gulp images
-*to minify*
+*to optimise images*
-This will execute all the Gulp tasks on the gulpfile.js.
+ gulp build
+
+*to create a build (minification, removes map files and comments)*
+
+This will execute all the Gulp tasks on the gulpfile.babel.js.
+
+### Images
+
+Drop all your images into assets/imagess. When running gulp tasks, they will be automatically
+optimised and output files will available in img folder in the root of the theme.
## WordPress Support
@@ -75,3 +87,21 @@ Compatible with WordPress 3.2 and above, but always use the latest version.
* Safari 4.0+
* Chrome 14.0+
* Opera 10.0+
+
+## Tips & Tricks
+
+### SVG Fallbacks
+
+*CSS*
+```
+...
+background-size: 120px 15px;
+background-image: url(/img/fallback.png);
+background-image: linear-gradient(transparent, transparent), url(/img/image.svg);
+...
+```
+
+*HTML*
+```
+
+```
diff --git a/assets/.DS_Store b/assets/.DS_Store
deleted file mode 100644
index 5008ddf..0000000
Binary files a/assets/.DS_Store and /dev/null differ
diff --git a/assets/images/.gitkeep b/assets/images/.gitkeep
deleted file mode 100644
index e69de29..0000000
diff --git a/assets/images/logo.png b/assets/images/logo.png
new file mode 100644
index 0000000..029011f
Binary files /dev/null and b/assets/images/logo.png differ
diff --git a/assets/images/logo.svg b/assets/images/logo.svg
new file mode 100644
index 0000000..6575236
--- /dev/null
+++ b/assets/images/logo.svg
@@ -0,0 +1,36 @@
+
+
+
diff --git a/assets/js/bootstrap.js b/assets/js/bootstrap.js
deleted file mode 100644
index b58532e..0000000
--- a/assets/js/bootstrap.js
+++ /dev/null
@@ -1 +0,0 @@
-window.$ = window.jQuery = require('jquery');
diff --git a/assets/js/script.js b/assets/js/script.js
deleted file mode 100644
index f7e4403..0000000
--- a/assets/js/script.js
+++ /dev/null
@@ -1,3 +0,0 @@
-require('./bootstrap');
-
-console.log( 'Barebones rocks! You are running jQuery version: ' + $.fn.jquery );
diff --git a/assets/sass/.DS_Store b/assets/sass/.DS_Store
deleted file mode 100644
index fcc4cd6..0000000
Binary files a/assets/sass/.DS_Store and /dev/null differ
diff --git a/assets/sass/barebones.scss b/assets/sass/barebones.scss
deleted file mode 100755
index dc5a5d2..0000000
--- a/assets/sass/barebones.scss
+++ /dev/null
@@ -1,48 +0,0 @@
-/**
-Theme Name: Barebones
-Theme URI: http://github.com/benchmarkstudios/barebones
-Author: Benchmark
-*/
-
-@charset 'UTF-8';
-
-// 1. Configuration
-@import
- 'config/variables',
- 'config/mixins';
-
-// 2. Vendors
-@import
- 'vendor/simple-grid/simple-grid';
-
-// 3. Utilities
-@import
- 'utils/reset',
- 'utils/a11y',
- 'utils/responsive',
- 'utils/helpers';
-
-// 4. Base stuff
-@import
- 'base/base',
- 'base/fonts',
- 'base/images',
- 'base/forms',
- 'base/lists',
- 'base/typography';
-
-// 5. Layout-related sections
-@import
- 'layout/main',
- 'layout/header',
- 'layout/footer';
-
-// 6. Components
-@import
- 'components/buttons',
- 'components/nav',
- 'components/alerts';
-
-// 7. Page-specific styles
-@import
- 'pages/home';
diff --git a/assets/sass/utils/.DS_Store b/assets/sass/utils/.DS_Store
deleted file mode 100644
index 5008ddf..0000000
Binary files a/assets/sass/utils/.DS_Store and /dev/null differ
diff --git a/assets/sass/utils/_a11y.scss b/assets/sass/utils/_a11y.scss
deleted file mode 100644
index c626587..0000000
--- a/assets/sass/utils/_a11y.scss
+++ /dev/null
@@ -1,7 +0,0 @@
-.sr-only {
- font-size: 0;
- height: 0;
- overflow: hidden;
- position: absolute;
- width: 0;
-}
diff --git a/assets/sass/vendor/simple-grid b/assets/sass/vendor/simple-grid
deleted file mode 160000
index 4aee262..0000000
--- a/assets/sass/vendor/simple-grid
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 4aee2627e323b19a70045a84adafc9f4fee44a6f
diff --git a/assets/scripts/scripts.js b/assets/scripts/scripts.js
new file mode 100644
index 0000000..65fd7fb
--- /dev/null
+++ b/assets/scripts/scripts.js
@@ -0,0 +1,3 @@
+import $ from 'jquery';
+
+console.log($);
diff --git a/assets/sass/base/_base.scss b/assets/styles/base/_base.scss
similarity index 100%
rename from assets/sass/base/_base.scss
rename to assets/styles/base/_base.scss
diff --git a/assets/sass/base/_fonts.scss b/assets/styles/base/_fonts.scss
similarity index 100%
rename from assets/sass/base/_fonts.scss
rename to assets/styles/base/_fonts.scss
diff --git a/assets/sass/base/_forms.scss b/assets/styles/base/_forms.scss
similarity index 100%
rename from assets/sass/base/_forms.scss
rename to assets/styles/base/_forms.scss
diff --git a/assets/sass/base/_images.scss b/assets/styles/base/_images.scss
similarity index 100%
rename from assets/sass/base/_images.scss
rename to assets/styles/base/_images.scss
diff --git a/assets/sass/base/_lists.scss b/assets/styles/base/_lists.scss
similarity index 100%
rename from assets/sass/base/_lists.scss
rename to assets/styles/base/_lists.scss
diff --git a/assets/sass/base/_typography.scss b/assets/styles/base/_typography.scss
similarity index 100%
rename from assets/sass/base/_typography.scss
rename to assets/styles/base/_typography.scss
diff --git a/assets/sass/components/_alerts.scss b/assets/styles/components/_alerts.scss
similarity index 100%
rename from assets/sass/components/_alerts.scss
rename to assets/styles/components/_alerts.scss
diff --git a/assets/sass/components/_buttons.scss b/assets/styles/components/_buttons.scss
similarity index 100%
rename from assets/sass/components/_buttons.scss
rename to assets/styles/components/_buttons.scss
diff --git a/assets/styles/components/_logo.scss b/assets/styles/components/_logo.scss
new file mode 100644
index 0000000..8bf6826
--- /dev/null
+++ b/assets/styles/components/_logo.scss
@@ -0,0 +1,4 @@
+.logo {
+ width: 250px;
+ height: 41px;
+}
diff --git a/assets/sass/components/_nav.scss b/assets/styles/components/_nav.scss
similarity index 100%
rename from assets/sass/components/_nav.scss
rename to assets/styles/components/_nav.scss
diff --git a/assets/sass/config/_mixins.scss b/assets/styles/config/_mixins.scss
similarity index 100%
rename from assets/sass/config/_mixins.scss
rename to assets/styles/config/_mixins.scss
diff --git a/assets/sass/config/_variables.scss b/assets/styles/config/_variables.scss
similarity index 100%
rename from assets/sass/config/_variables.scss
rename to assets/styles/config/_variables.scss
diff --git a/assets/styles/core.scss b/assets/styles/core.scss
new file mode 100755
index 0000000..f33782d
--- /dev/null
+++ b/assets/styles/core.scss
@@ -0,0 +1,20 @@
+@import 'config/variables';
+@import 'config/mixins';
+
+// Vendors
+@import 'vendor/simple-grid/simple-grid';
+
+// Utilities
+@import 'utils/reset';
+@import 'utils/responsive';
+@import 'utils/helpers';
+
+// Base stuff
+@import 'base/base';
+@import 'base/fonts';
+@import 'base/images';
+@import 'base/forms';
+@import 'base/lists';
+@import 'base/typography';
+
+@import 'components/logo';
diff --git a/assets/sass/layout/_footer.scss b/assets/styles/layout/_footer.scss
similarity index 100%
rename from assets/sass/layout/_footer.scss
rename to assets/styles/layout/_footer.scss
diff --git a/assets/sass/layout/_header.scss b/assets/styles/layout/_header.scss
similarity index 100%
rename from assets/sass/layout/_header.scss
rename to assets/styles/layout/_header.scss
diff --git a/assets/sass/layout/_main.scss b/assets/styles/layout/_main.scss
similarity index 100%
rename from assets/sass/layout/_main.scss
rename to assets/styles/layout/_main.scss
diff --git a/assets/sass/pages/_home.scss b/assets/styles/pages/_home.scss
similarity index 100%
rename from assets/sass/pages/_home.scss
rename to assets/styles/pages/_home.scss
diff --git a/assets/styles/styles.scss b/assets/styles/styles.scss
new file mode 100755
index 0000000..d4e9b40
--- /dev/null
+++ b/assets/styles/styles.scss
@@ -0,0 +1,15 @@
+@import 'config/variables';
+@import 'config/mixins';
+
+// Layout-related sections
+@import 'layout/main';
+@import 'layout/header';
+@import 'layout/footer';
+
+// Components
+@import 'components/buttons';
+@import 'components/nav';
+@import 'components/alerts';
+
+// Page-specific styles
+@import 'pages/home';
diff --git a/assets/sass/utils/_helpers.scss b/assets/styles/utils/_helpers.scss
similarity index 100%
rename from assets/sass/utils/_helpers.scss
rename to assets/styles/utils/_helpers.scss
diff --git a/assets/sass/utils/_reset.scss b/assets/styles/utils/_reset.scss
similarity index 100%
rename from assets/sass/utils/_reset.scss
rename to assets/styles/utils/_reset.scss
diff --git a/assets/sass/utils/_responsive.scss b/assets/styles/utils/_responsive.scss
similarity index 100%
rename from assets/sass/utils/_responsive.scss
rename to assets/styles/utils/_responsive.scss
diff --git a/assets/styles/vendor/simple-grid/.gitattributes b/assets/styles/vendor/simple-grid/.gitattributes
new file mode 100644
index 0000000..e394296
--- /dev/null
+++ b/assets/styles/vendor/simple-grid/.gitattributes
@@ -0,0 +1 @@
+README export-ignore
diff --git a/assets/styles/vendor/simple-grid/README.md b/assets/styles/vendor/simple-grid/README.md
new file mode 100644
index 0000000..82eef37
--- /dev/null
+++ b/assets/styles/vendor/simple-grid/README.md
@@ -0,0 +1,122 @@
+# Just a simple grid
+
+Based on existing grid systems, such as [Twitter Bootstrap Grid System](http://getbootstrap.com/css/#grid) and [csswizardry-grids](http://csswizardry.com/csswizardry-grids/), this is a fluid, flexible and responsive grid that can be scaled up to an arbitrary size, within the `$max-width` of your main `.container`. You also can easily and infinitly nest columns and rows, so you can build out complicated layouts without creating a lot of new custom elements. This is a grid system generated by Sass and it is based on [BEM syntax](http://csswizardry.com/2013/01/mindbemding-getting-your-head-round-bem-syntax/).
+
+## Setup
+
+The only thing you need to do to start building your grid is to adjust the number of `$grid-columns`, the desired `$gutter` and the main container `$max-width`.
+
+## How it works
+
+Grid systems, as you may know, are used for creating page layouts through a series of rows and columns that will host your content:
+
+* Your `.row` element(s) must be placed within a `.container`, with a fixed `$max-width` for proper alignment. This elements will split up your page horizontally and will contain groups of `.col`.
+* Your content should be placed within the `.col` blocks, and only `.col` may be immediate children of `.row`.
+* You can nest `.row` and `.col` how many times you need, since you follow the previous standard.
+* Your `.col` width is defined by specifying the number of a single grid columns, in your total `$grid-columns`. For example, a `.col--*-4` will represent a width of 4 columns in your `$grid-columns` total.
+* To control your responsive grid, there are available three class prefixes: `.col--sm-*` for small devices, `.col-md-*` for medium devices and `.col--lg-*` for large devices. All together, in your `.col` element, it will make your grid respond to each one of your default media queries.
+* Finaly, you have the option to move columns to the right using `.col--*-offset-*` classes. These classes increase the left margin of a column by the number of columns you want. For example, `.col--*-offset-4` will push `.col-*-4` over four columns.
+
+
+## Markup
+
+### Basic usage
+Simple column set - `
` - inside a `.row`.
+
+```html
+
+
+
Col 1
+
+
+
+
+
Col 2
+
+
+
Col 3
+
+
+
+
+
Col 4
+
+
+
Col 5
+
+
+
Col 6
+
+
+
+
+
Col 7
+
+
+
Col 8
+
+
+```
+
+### Offsetting columns
+Increase the left margin of a column by the number of columns you want, along with the responsive class prefixes, if you need.
+
+```html
+
+
+
Col 9 with offset 0
+
+
+
Col 10 with offset 4
+
+
+
+
+
Col 11 with offset 3
+
+
+
Col 12 with offset 6
+
+
+
+
+
Col 13 with offset 3
+
+
+```
+
+### Nesting columns
+To nest your content, add a new `.row` inside a `.col`, and set of `.col-ld-*` columns within an existing `.col-ld-*` column. Nested rows should include a set of columns that add up to 12 or less.
+
+```html
+
+
+
Col 14
+
+
+
Nested col 14.1
+
+
+
Nested col 14.2
+
+
+
+
+```
+
+### Gutterless columns
+To remove all the gutters from your columns just add the class `.row--gutterless` to your `.row` element.
+
+```html
+