figma-tokens-flattener 1.0.1 → 1.0.2

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.
Files changed (2) hide show
  1. package/README.md +8 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -10,14 +10,16 @@ A tool for transforming Ant Design tokens from Tokens Studio for Figma (Single f
10
10
 
11
11
  Create a figma-tokens-flattener-config.json file in your project root:
12
12
 
13
- ``{
13
+ ```
14
+ {
14
15
  "source": {
15
16
  "tokensFile": "src/tokens/tokens.json"
16
17
  },
17
18
  "target": {
18
19
  "jsonsDir": "src/tokens"
19
20
  }
20
- }``
21
+ }
22
+ ```
21
23
 
22
24
  ## Run Transformation
23
25
 
@@ -27,11 +29,13 @@ Create a figma-tokens-flattener-config.json file in your project root:
27
29
 
28
30
  Add a script to your package.json:
29
31
 
30
- ``{
32
+ ```
33
+ {
31
34
  "scripts": {
32
35
  "flatten-tokens": "simple-token-transformer flatten"
33
36
  }
34
- }``
37
+ }
38
+ ```
35
39
 
36
40
  And run with:
37
41
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "figma-tokens-flattener",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "A tool for transforming Ant Design tokens from Tokens Studio for Figma (Single file) into flat style mappings for light and dark themes.",
5
5
  "main": "index.js",
6
6
  "scripts": {