- Requirements: node.js
npm installto install dependencies
npm startto start a watch task and a live-reloading local server
npm testto lint SCSS and JS
npm run buildto create an optimized build
CSS is compiled from Sass (SCSS) using node-sass, postcss, autoprefixer and postcss-flexbugs-fixes and minified using cleancss. normalize.css is included as a Sass partial. Sass sourcemaps are generated.
presets/: predefined values for various things, some of them overridable (
project/: project-based settings and variables
mixins/: mixins for various purposes, some of them used by the rest of the SCSS
base/: sensible base styles, mostly for things not covered by normalize
layout/: mixins and (optional) predefined classes for different types of (grid-based) layout
modules/: This is the part of the SCSS where “the actual work is done”, meaning it's where SCSS is actually being written using a modular approach. Apart from
modules/_global.scsswhich is really just a placeholder, partials for every project-specific module are supposed to be created and included here.
Please note that this project includes components that all have their own licenses which may differ from the license of this project. Everything that was developed specifically for this project is under MIT license.