ashokvijayendra / design-tokens-demo

Sample application to demonstrate a design workflow that keeps design and code in sync using design tokens

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Design Tokens Demo

Sample application to demonstrate a design workflow that keeps design and code in sync using design tokens.

Screenshot

Development Build

To develop all apps and packages, run the following command:

# Install dependencies
npm install

# Generate styles from tokens
npm run token-pipeline

# Run the app
npm run dev

Point your browser http://localhost:3000/ to see the running application.

Note: Do not run npm install in any of the subdirectories. It will break the build. There should be only one package-lock.json file in the entire repo (at the root).

Production Build

To build all apps and packages, run the following command:

npm install
npm run token-pipeline
npm run build

About

Sample application to demonstrate a design workflow that keeps design and code in sync using design tokens


Languages

Language:TypeScript 43.1%Language:CSS 36.0%Language:JavaScript 18.2%Language:HTML 2.7%