GovLab / styleguide

The GovLab style guide.
http://govlab.github.io/styleguide/
1 stars 3 forks source link

govlab-styleguide

A styleguide / lightweight frontend framework for GovLab websites.

This is a living styleguide generated by kss-node and built on top of a super lightweight custom build of Foundation, which aims to be easily reusable for any project within the GovLab ecosystem.

Getting Started

To use the styleguide in your project, simply run the following command in the base directory of your project:

npm i --save-dev govlab-styleguide

Development

To develop the styleguide, clone the git repository, and run the following in the project directory:

npm in
gulp

To deploy the living styleguide site to github pages run the following command:

gulp deploy

NOTE: before publishing new versions of this package to npm, make sure you build the site (eg. gulp build) in order to get the latest built dist css/js

For more info on how to maintain npm packages like this one check the NPM docs: https://docs.npmjs.com/getting-started/publishing-npm-packages

For more info on how to work with kss / kss-node, check out the docs.

Documentation

Living documentation of the styleguide is on our gh-pages. Check it out!