kobeaerts / workbench

A basic frontend boilerplate with some opinionated magic

Home Page:https://www.webosaurus.be

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

workbench

A basic frontend boilerplate with some opinionated gulp magic

Demo: http://kobeaerts.github.io/workbench/

getting started

Just copy the assets and dist folders and the gulpfile.js and package.json files to your project run npm install and you're done.

Compile your sass with the gulp watch command. Run gulp compile-jsto minify the javascript and gulp optimize-images to compress your images

whats in the css

  • Sanitize.css as a css reset
  • Responsive typography with rem units
  • Some colors en margin mixins
  • Basic styles for buttons, forms, lists, paragraphs and tags

whats in the javascript

what does the magic gulpfile do

  • Compile your sass to a minified css file with sourcemaps
  • Extends your css with Rucksack superpowers
  • Autoprefix it (it's 2015 cmon..)
  • Base64 small images inline in your css (max 8kb)
  • Optimize other images
  • Concat and minify javascript files
  • Livereload on filechanges

bonus: a modular paragraph system

A system to mix titles, text, images, quotes, grids and carousels. Check the demo on how it works.

About

A basic frontend boilerplate with some opinionated magic

https://www.webosaurus.be


Languages

Language:CSS 53.3%Language:HTML 38.7%Language:JavaScript 8.0%