/pasteup-palette

Colour palette for all Guardian digital products

Primary LanguageHTMLOtherNOASSERTION

Pasteup Palette

Part of the Pasteup collection.

View the docs or the demo

Installation

You will need

$ npm install -g bower

Then install this component with

$ bower install pasteup-palette --save

Usage

@import 'bower_components/guss-colours/_colours'
@import 'bower_components/pasteup-palette/src/_palette'

Or use the standalone build

Development

On top of the above requirements, you will also need

$ gem install bundler
$ npm install -g grunt-cli

Then, in root, install the dependecies

$ bundle install
$ npm install
$ bower install

To validate the source

$ grunt validate

To build the demo

$ grunt build:demo

To build the docs (output to the docs dir)

$ grunt docs

To release the component

$ grunt release

By default a patch release. Also major and minor targets available, e.g.

$ grunt release:minor