@clafoutis/cli 1.1.1 → 1.2.0
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/dist/index.js +166 -252
- package/dist/index.js.map +1 -1
- package/dist/templates/tokens/colors/components.dark.json +760 -0
- package/dist/templates/tokens/colors/components.json +760 -0
- package/dist/templates/tokens/colors/primitives.dark.json +1554 -0
- package/dist/templates/tokens/colors/primitives.json +1654 -0
- package/dist/templates/tokens/colors/semantics.dark.json +274 -0
- package/dist/templates/tokens/colors/semantics.json +274 -0
- package/dist/templates/tokens/dimensions/base.json +60 -0
- package/dist/templates/tokens/objectValues/base.json +24 -0
- package/dist/templates/tokens/typography/base.json +93 -0
- package/package.json +4 -3
- package/src/templates/tokens/colors/components.dark.json +760 -0
- package/src/templates/tokens/colors/components.json +760 -0
- package/src/templates/tokens/colors/primitives.dark.json +1554 -0
- package/src/templates/tokens/colors/primitives.json +1654 -0
- package/src/templates/tokens/colors/semantics.dark.json +274 -0
- package/src/templates/tokens/colors/semantics.json +274 -0
- package/src/templates/tokens/dimensions/base.json +60 -0
- package/src/templates/tokens/objectValues/base.json +24 -0
- package/src/templates/tokens/typography/base.json +93 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$type": "typography",
|
|
3
|
+
"fontFamily": {
|
|
4
|
+
"base": {
|
|
5
|
+
"$type": "fontFamily",
|
|
6
|
+
"$value": "Overpass, Arial, sans-serif"
|
|
7
|
+
},
|
|
8
|
+
"heading": {
|
|
9
|
+
"$type": "fontFamily",
|
|
10
|
+
"$value": "Overpass, Arial, sans-serif"
|
|
11
|
+
},
|
|
12
|
+
"mono": {
|
|
13
|
+
"$type": "fontFamily",
|
|
14
|
+
"$value": "Fira Code, Courier New, monospace"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"fontSize": {
|
|
18
|
+
"xs": {
|
|
19
|
+
"$type": "dimension",
|
|
20
|
+
"$value": "12px"
|
|
21
|
+
},
|
|
22
|
+
"sm": {
|
|
23
|
+
"$type": "dimension",
|
|
24
|
+
"$value": "14px"
|
|
25
|
+
},
|
|
26
|
+
"base": {
|
|
27
|
+
"$type": "dimension",
|
|
28
|
+
"$value": "16px"
|
|
29
|
+
},
|
|
30
|
+
"lg": {
|
|
31
|
+
"$type": "dimension",
|
|
32
|
+
"$value": "18px"
|
|
33
|
+
},
|
|
34
|
+
"xl": {
|
|
35
|
+
"$type": "dimension",
|
|
36
|
+
"$value": "20px"
|
|
37
|
+
},
|
|
38
|
+
"2xl": {
|
|
39
|
+
"$type": "dimension",
|
|
40
|
+
"$value": "24px"
|
|
41
|
+
},
|
|
42
|
+
"3xl": {
|
|
43
|
+
"$type": "dimension",
|
|
44
|
+
"$value": "30px"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"fontWeight": {
|
|
48
|
+
"normal": {
|
|
49
|
+
"$type": "fontWeight",
|
|
50
|
+
"$value": "400"
|
|
51
|
+
},
|
|
52
|
+
"medium": {
|
|
53
|
+
"$type": "fontWeight",
|
|
54
|
+
"$value": "500"
|
|
55
|
+
},
|
|
56
|
+
"semibold": {
|
|
57
|
+
"$type": "fontWeight",
|
|
58
|
+
"$value": "600"
|
|
59
|
+
},
|
|
60
|
+
"bold": {
|
|
61
|
+
"$type": "fontWeight",
|
|
62
|
+
"$value": "700"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"lineHeight": {
|
|
66
|
+
"normal": {
|
|
67
|
+
"$type": "number",
|
|
68
|
+
"$value": "1.25"
|
|
69
|
+
},
|
|
70
|
+
"heading": {
|
|
71
|
+
"$type": "number",
|
|
72
|
+
"$value": "1.1"
|
|
73
|
+
},
|
|
74
|
+
"tight": {
|
|
75
|
+
"$type": "number",
|
|
76
|
+
"$value": "1"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"letterSpacing": {
|
|
80
|
+
"normal": {
|
|
81
|
+
"$type": "dimension",
|
|
82
|
+
"$value": "0em"
|
|
83
|
+
},
|
|
84
|
+
"narrow": {
|
|
85
|
+
"$type": "dimension",
|
|
86
|
+
"$value": "-0.5px"
|
|
87
|
+
},
|
|
88
|
+
"wide": {
|
|
89
|
+
"$type": "dimension",
|
|
90
|
+
"$value": "0.5px"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clafoutis/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "GitOps powered design system CLI - generate and sync design tokens",
|
|
5
5
|
"author": "Dessert Labs",
|
|
6
6
|
"license": "BUSL-1.1",
|
|
@@ -20,11 +20,12 @@
|
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
"files": [
|
|
23
|
-
"dist/**/*"
|
|
23
|
+
"dist/**/*",
|
|
24
|
+
"src/templates/tokens/**/*.json"
|
|
24
25
|
],
|
|
25
26
|
"dependencies": {
|
|
26
27
|
"@clack/prompts": "^1.0.0",
|
|
27
|
-
"@clafoutis/generators": "^1.0.
|
|
28
|
+
"@clafoutis/generators": "^1.0.4",
|
|
28
29
|
"@clafoutis/shared": "^1.0.0",
|
|
29
30
|
"ajv": "^8.12.0",
|
|
30
31
|
"commander": "^12.0.0",
|