0.0.7 • Published 2 years ago

sade-tokens v0.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Sade Tokens

This repo contains all design tokens for Sanoma Design System.

The setup enables automatic sync of design tokens from Figma to front end development. All design token sets are converted from Figma Tokens -plugin (JSON) to CSS variables using a custom script (transformToCSS.js) + Style Dictionary.

The process

  1. Designer pushes tokens to any branch from Figma Tokens as JSON (each token set is usually a part of a theme defined in $themes.json
  2. Designer creates a pull request, after which .transform.yml action is executed
  3. transformToCSS.js (ran from inside .transform.yml) removes all references and maths from each token set
  4. transformToCSS.js maps through each theme (in $themes) and combines the required token sets into theme-specific CSS stylesheets
0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago