0.9.0 • Published 9 months ago

@s-ui/tokens v0.9.0

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

sui-tokens

Generates the semantic tokens styles file by a simple config file.

Installation

$ npm install @s-ui/tokens --save-dev

Configuration

The configuration files might follow the next structure: tokens.config.ts

Usage

By default, it generates the styles in native CSS format.

To see the resulting configuration, you can run the following command:

$ tokens -c <config.manifest.file.js>

To export the result on css format you can use the css script

$ tokens -c <config.manifest.file.js> -o <output.json>
To export the result on json format you can use the JSON script

```bash
$ tokens json -c <config.manifest.file.js> -o <output.json>

To export the result on SCSS format you can use the scss script

$ tokens scss -c <config.manifest.file.js> -o <output.scss>

To see other configurations you can use the -h flag

$ tokens -h

...or use it on each script

$ tokens json -h
$ tokens scss -h
0.9.0

9 months ago

0.8.0

9 months ago

0.7.0

9 months ago

0.6.0

9 months ago

0.5.0

10 months ago

0.4.0

10 months ago

0.3.0

10 months ago

0.2.0

10 months ago

0.1.0

10 months ago

0.0.0-beta.20

10 months ago

0.0.0-beta.19

10 months ago

0.0.0-beta.18

10 months ago

0.0.0-beta.17

10 months ago

0.0.0-beta.16

10 months ago

0.0.0-beta.15

10 months ago

0.0.0-beta.14

10 months ago

0.0.0-beta.13

10 months ago

0.0.0-beta.12

10 months ago

0.0.0-beta.11

10 months ago

0.0.0-beta.10

10 months ago

0.0.0-beta.9

10 months ago

0.0.0-beta.8

10 months ago

0.0.0-beta.7

10 months ago

0.0.0-beta.6

10 months ago

0.0.0-beta.5

10 months ago

0.0.0-beta.3

11 months ago

0.0.0-beta.2

11 months ago

0.0.0-beta.1

11 months ago

0.0.0-beta.0

11 months ago