iati-design-system v3.7.0
IATI Design System
What is the IATI Design System?
The IATI Design System is a set of reusable styles and components which should be used in IATI web products, along with guidance on how to use them.
Using the IATI Design System
Please see the Storybook site for instructions.
Contributing to the IATI Design System
Prerequisites
Node v20
IATI Design System requires Node v20. We recommend installing Node Version Manager and running the command nvm use
to use the Node version set in the .nvmrc
file at the root of the project.
Running locally
To run Storybook locally, take the following steps:
- Install dependencies:
npm install
- Start Storybook:
npm start
You will see live updates in the browser when you update styles or stories.
Production build
CSS
To check the CSS production build, take the following steps:
- Build the CSS:
npm run build
- View the CSS file:
./dist/css/iati.css
.
Storybook
The check the Storybook production build, take the following steps:
- Build the Storybook:
npm run build:storybook
- Serve the Storybook:
npm run serve:storybook
11 months ago
11 months ago
11 months ago
11 months ago
12 months ago
10 months ago
10 months ago
10 months ago
10 months ago
8 months ago
8 months ago
10 months ago
10 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago