@totallymoney/design-tokens
TypeScript icon, indicating that this package has built-in type declarations

2.6.0 • Public • Published

TotallyMoney Design Tokens

This repository houses all our design tokens.

npm npm (scoped)

Usage

Package Installation

yarn add @totallymoney/design-tokens

Or using npm:

npm install @totallymoney/design-tokens --save

URL

We can use unpkg to access the design tokens package using its url:

https://unpkg.com/browse/@totallymoney/design-tokens

Then 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:

  1. A design token in the Figma library is updated
  2. The update triggers a PR in this repo
  3. The PR is merged
  4. The workflow triggers style-dictionary to process the design tokens into formats specifically for native and web
  5. The npm package is published with the design tokens

Readme

Keywords

none

Package Sidebar

Install

npm i @totallymoney/design-tokens

Weekly Downloads

2

Version

2.6.0

License

MIT

Unpacked Size

200 kB

Total Files

12

Last publish

Collaborators

  • tbanham
  • lcolgan
  • nickblair
  • klaatu01
  • iqabsent
  • ac1989
  • totallymoney_svc