Skip to content

Design tokens, managed via Google Spreadsheets, generated using Theo

License

Notifications You must be signed in to change notification settings

kaelig/google-spreadsheets-theo-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Design tokens (demo project)

Quick start

  1. Create a new repository from google-spreadsheets-theo-demo (or click the “Use this template” button on GitHub)

  2. Clone the repository and install the dependencies:

    git clone https://github.com/<your-github-username>/google-spreadsheets-theo-demo.git
    cd google-spreadsheets-theo-demo
    yarn
    
  3. Edit tokens in the spreadsheet

  4. Run yarn build-tokens

This should appear:

yarn build-tokens
yarn run v1.12.3
$ yarn clean
$ rimraf tokens
$ node ./build-tokens.js
✔ Design tokens written to ./tokens/colors.scss
✔ Design tokens written to ./tokens/colors.common.js
✔ Design tokens written to ./tokens/colors.android.xml
✔ Design tokens written to ./tokens/colors.ios.json
✔ Design tokens written to ./tokens/spacing.scss
✔ Design tokens written to ./tokens/spacing.common.js
✔ Design tokens written to ./tokens/spacing.android.xml
✔ Design tokens written to ./tokens/spacing.ios.json
✨  Done in 2.29s.

The design tokens in ./tokens/ should be updated.

About

Design tokens, managed via Google Spreadsheets, generated using Theo

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published