tokenize-css 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,16 +3,19 @@
|
|
|
3
3
|
CLI tool to convert Design Tokens (Token Studio) to CSS variables.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
|
+
|
|
6
7
|
```bash
|
|
7
8
|
npm install -g tokenize-css
|
|
8
9
|
```
|
|
9
10
|
|
|
10
11
|
## Usage
|
|
12
|
+
|
|
11
13
|
```bash
|
|
12
14
|
tokenize <input> <output> [options]
|
|
13
15
|
```
|
|
14
16
|
|
|
15
17
|
### Examples
|
|
18
|
+
|
|
16
19
|
```bash
|
|
17
20
|
# Basic usage
|
|
18
21
|
tokenize tokens.json dist
|
|
@@ -29,12 +32,12 @@ tokenize tokens.json dist --watch
|
|
|
29
32
|
|
|
30
33
|
### Options
|
|
31
34
|
|
|
32
|
-
| Option
|
|
33
|
-
|
|
35
|
+
| Option | Description | Default |
|
|
36
|
+
| --------------------- | ------------------------------------------- | ------------ |
|
|
34
37
|
| `-s, --source <type>` | Source type (token-studio, figma-variables) | token-studio |
|
|
35
|
-
| `-w, --watch`
|
|
36
|
-
| `-V, --version`
|
|
37
|
-
| `-h, --help`
|
|
38
|
+
| `-w, --watch` | Watch for changes and rebuild automatically | false |
|
|
39
|
+
| `-V, --version` | Output version | |
|
|
40
|
+
| `-h, --help` | Display help | |
|
|
38
41
|
|
|
39
42
|
## Supported Sources
|
|
40
43
|
|