This repository contains all the code needed to start building user interfaces for websites and web applications for the Scottish Government and other Scottish public sector bodies.
See live examples of the available components, alongside guidance on how and when to use them in the Scottish Government Design System.
If you need any help or want to give any feedback you can e-mail the Design System team at: designsystem@gov.scot.
We recommend installing the package using node package manager (npm).
To install your own local copy of the package follow these steps:
npm install @scottish-government/design-system
in your chosen directory. This will install the project and its dependencies.Once installed the following tasks can be run:
These are the optimised CSS, JavaScript files and static assets that should be included in your project.
Run:
npm run prepack
This will compile the various files and conduct a series of automated tests and update the contents of the /dist
directory with the newly generated files.