Style Guide Example

An example of living style guide using KSS

🎯 Purpose

The content of this style guide is not important because the purpose of this project is to practice kss-node and list tips for a further real usage.

The design is fully inspired by the awesome website every-layout.dev.

👨‍💻 Development

  1. Install all the dependencies: npm install
  2. Start the development server: npm run dev
  3. Open a browser to http://localhost:3000
  4. Modify the files in src/ and template/ folders

🔨 Building Tools

In order to keep the building tools simple, I decided to use only npm scripts instead of a task runner (Grunt, Gulp...) or a module bundler (Webpack, Rollup...).

Dependencies

Tips

🎨 Styles

In order to make the code more flexible, I decided to use the Sass preprocessor (with SCSS syntax) instead of pure CSS.

Any other preprocessor (LESS, Stylus...) is also a good choice.

Dependencies

TODO

📖 Style Guide

In order to make the development faster, I decided to use the KSS style guide generator.

DocumentCSS and stylemark may also work well.

Dependencies

Project Structure

Tips

Useful Links