GOV.UK look and feel as a single easy import (at least that's the goal)
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets/scss/look-and-feel
docs Crosslink analytics docs Oct 18, 2017
examples/test-app Added a sample selection buttons with description Sep 14, 2018
src
templates/look-and-feel Removed line break and added a class for selection description span Sep 14, 2018
test Remove unnecessary js copy plugin Oct 18, 2017
.bumpedrc
.dockerignore Speed up docker builds by explicitly ignoring node_modules from docke… Aug 10, 2017
.eslintignore
.eslintrc.json Merge webpack settings with users webpack settings Oct 18, 2017
.gitignore Added example app dist folder to .gitignore Sep 14, 2018
.nvmrc More travis config (#84) Jul 3, 2018
.travis.yml Update npm token (#89) Jul 19, 2018
CHANGELOG.md * Updated CHANGELOG.md for 1.19.2 Sep 14, 2018
Dockerfile locking to v9 as there is a bug with the current version of node May 25, 2018
Makefile
README.md
docker-compose.yml
package.json Added an optional selection button description to fields.njk Sep 14, 2018
yarn.lock

README.md

Look and Feel

Greenkeeper badge

Build Status npm (scoped) Codacy grade

GOV.UK look and feel as a single easy import (at least that's the goal).

Usage

To use look-and-feel first add it to your package.json:

> yarn add @hmcts/look-and-feel

Then configure it in your app.js:

const express = require('express');
const app = express();
...
const lookAndFeel = require('@hmcts/look-and-feel');
lookAndFeel.configure(app);
...

Documentation

All documentation is stored in the [docs] folder.

Development

We use the Dockerfile and docker-compose.yml to create a development container used for running tests, etc.

To start the container run:

make

Once complete you will be dropped in to a shell where you can run yarn.