2.6.0 • Published 4 years ago
@totallymoney/design-tokens v2.6.0
TotallyMoney Design Tokens
This repository houses all our design tokens.
Usage
Package Installation
yarn add @totallymoney/design-tokensOr using npm:
npm install @totallymoney/design-tokens --saveURL
We can use unpkg to access the design tokens package using its url:
https://unpkg.com/browse/@totallymoney/design-tokensThen you can access the path to the tokens and drop it in your solution or video making software:
<link rel="stylesheet" href="https://unpkg.com/browse/@totallymoney/design-tokens/dist/web/tokens.css" />How this works
All our design tokens are generated automatically from Figma and processed using style-dictionary:
- A design token in the Figma library is updated
- The update triggers a PR in this repo
- The PR is merged
- The workflow triggers
style-dictionaryto process the design tokens into formats specifically for native and web - The npm package is published with the design tokens