Skip to content

Raconteur-Media/design-tokens

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raconteur Design Tokens

Raconteur Media Ltd Design Tokens.

Installation

$ npm install @raconteur-media/desing-tokens

Or add this package to your package.json file:

"dependencies": {
    "@raconteur-media/desing-tokens": "1.0.3"
  }

Content

.
├── CHANGELOG.md
├── README.md
├── dist
│   ├── index.cjs               // Theme UI Raconteur Design Tokens in CommonJS format
│   ├── index.css               // Theme UI Raconteur Design Tokens as CSS variables 
│   ├── index.js                // Theme UI Raconteur Design Tokens in ES format (entry point copy of raconteur-theme.js)
│   ├── index.json              // Theme UI Raconteur Design Tokens in JSON format 
│   ├── index.scss              // Theme UI Raconteur Design Tokens as SASS variables
│   ├── rac-dsm-theme.cjs       // DSM Raconteur Design Tokens in CommonJS format
│   ├── rac-dsm-theme.js        // DSM Raconteur Design Tokens in ES format
│   ├── rac-dsm-theme.json      // DSM Raconteur Design Tokens in JSON format
│   └── rac-dsm-theme.scss      // DSM Raconteur Design Tokens in SASS format
├── package.json
├── scripts
│   ├── js-to-scss.js
│   ├── json-to-css-variables.js
│   ├── theme-to-custom-properties.js
│   └── theme-to-json.js
├── src
│   ├── raconteur-theme.js      // Theme UI Raconteur Design Tokens
│   └── style-data.json         // DSM Design Tokens

Build

Theme UI

Any update shoudl occur in src/raconteur-theme.js To generate any other variation just run yarn theme

DSM

To get InVision DSM tokens and generate any other variation just run yarn dsm

Script

yarn dsm To update tokens based on InVision DSM

yarn theme To update tokens based on Theme UI

Refs

TO DO

  • Get InVision DSM tokens in a Theme UI Format to achive an autoated design/dev sync.
  • Add more refs.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published