@ftdata/tokens
Version:
Fulltime Design Tokens
35 lines (22 loc) • 822 B
Markdown
# fulltime-styleguide
## Initial setup
Install the project dependencies via the CLI command:
```
npm install
```
## Project structure
The project is made of these files and folders:
- `/token-generators` contains the design tokens input files (in JSON format)
- `/templates` contains the templates used to generate the output files
- `/dist` contains the generated output files (in different formats)
- `build.js` is the script used to generate the output files
## Running the project
You can build the design tokens from the `/src/` folder using the CLI command:
```
npm run build
```
of you can automatically re-build the tokens at every change using the command:
```
npm run watch
```
The generated tokens are saved in the `/dist` folder, and organised by target platform.