0.3.0 • Published 4 months ago

@enveritas/design-tokens v0.3.0

Weekly downloads
-
License
-
Repository
-
Last release
4 months ago

Enveritas Design Tokens

This repository contains the design tokens of the Enveritas Design System (eds).
The design tokens are prepared to synchronize with the Figma Token Studio plugin via Github. The tokens are converted into distribution formats with style-dictionary.

General Structure

There are four main folders relevant to this repository:

  • src/scripts
    Contains the style-dictionary instructions for building the corresponding style dictionaries.
  • build
    Contains the style dictionary figma.json that is synchronized with the Figma Token Studio plugin. The initial set of tokens was computed based on a set of base tokens which can be found in the initial commit.
  • dist
    Contains the style dictionaries for further distribution and consumption of other modules.

Scripts

There are three different scripts for creating the style dictionaries:

  • src/scripts/dist.js
    This script prepares the tokens from build/figma.json into the defined distribution style dictionaries. These dictionaries are written into the folder dist.

Workflow

The file build/figma.json should be synchronized on the figma branch with the Figma Token Studio Plugin. Updates from Figma can be pushed through Figma in a pull request. After merging to the main branch, the distribution sets can be generated with the dist.js script.

0.3.0

4 months ago

0.3.0-1

4 months ago

0.3.0-3

4 months ago

0.3.0-2

4 months ago

0.3.0-0

4 months ago

0.2.0

5 months ago

0.1.0

9 months ago

0.1.0-4

10 months ago

0.1.1

7 months ago

0.1.1-0

7 months ago

0.1.0-1

11 months ago

0.1.0-0

11 months ago

0.1.0-3

10 months ago

0.1.1-1

7 months ago

0.1.0-2

10 months ago

0.0.1-2

1 year ago

0.0.1-1

1 year ago

0.0.1-0

1 year ago