6.5.0 • Published 9 days ago

@devoinc/genesys-tokens v6.5.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 days ago

Genesys tokens

Tokens' definition and generation tools.

This project provides the tools to generate Devo's brand design tokens and its customizations. It includes the agnostic source for the generation of the tokens, as described in Genesys Design System. It uses style-dictionary under the hood. The generated tokens are W3CDTCG-compliant©™. See W3C Design Tokens Format Module for more information.

Tokens generation tools

Generator

Given an input schema, we can generate the corresponding tokens. Tokens are generated in the following formats: css, figma tokens plugin, js, json and scss. An extra html format provides an interactive visualization of the output.

import { generate, Scheme } from '@devoinc/genesys-tokens';

generate({
  source: './schemes/light',
  scheme: Scheme.light,
  menuScheme: Scheme.light,
  output: `dist/light/`,
});

Validator

Once a set of tokens has been generated, the output can be validated using:

validate(pathToFolder);

Typescript

The type definitions for the brands generated using @devoinc/genesys-tokens are available in @devoinc/genesys-tokens-types.

6.5.0

9 days ago

6.4.2

2 months ago

6.4.1

2 months ago

6.4.0

3 months ago

6.3.0

4 months ago

6.1.0

9 months ago

6.0.1

9 months ago

6.0.0

9 months ago

6.2.0

7 months ago

6.1.1

9 months ago

5.15.0

10 months ago

5.14.0

10 months ago

5.13.0

10 months ago

5.19.0

9 months ago

5.18.0

10 months ago

5.17.0

10 months ago

5.16.0

10 months ago

5.20.0

9 months ago

5.12.0

10 months ago

5.6.0

1 year ago

5.5.0

1 year ago

5.11.0

11 months ago

5.10.0

11 months ago

5.9.0

11 months ago

5.8.0

12 months ago

5.7.0

12 months ago

5.4.0

1 year ago

5.3.0

1 year ago

5.2.0

1 year ago

5.1.0

1 year ago

5.0.0

1 year ago

4.3.1

1 year ago

4.1.0

1 year ago

4.0.0

1 year ago

4.3.0

1 year ago

4.2.0

1 year ago

3.8.2

1 year ago

3.8.1

1 year ago

3.8.0

1 year ago

3.7.0

1 year ago

3.6.0

1 year ago

3.5.0

1 year ago

3.4.0

1 year ago

3.3.2

2 years ago

3.3.1

2 years ago

3.3.0

2 years ago

3.2.0

2 years ago

3.1.0

2 years ago

3.0.0

2 years ago