@x12i/tokens 0.0.0-stage → 1.0.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/LICENSE +21 -0
- package/README.md +62 -3
- package/dist/css/base.css +243 -0
- package/dist/css/density-comfortable.css +17 -0
- package/dist/css/density-compact.css +17 -0
- package/dist/css/density-default.css +17 -0
- package/dist/css/theme-dark.css +60 -0
- package/dist/css/theme-hc.css +60 -0
- package/dist/css/theme-light.css +60 -0
- package/dist/index.d.ts +1007 -0
- package/dist/index.js +690 -0
- package/dist/index.js.map +1 -0
- package/dist/tailwind/theme.css +100 -0
- package/dist/tokens-studio.json +2068 -0
- package/package.json +53 -3
- package/src/dtcg/component/component.json +34 -0
- package/src/dtcg/primitive/border.json +10 -0
- package/src/dtcg/primitive/color.json +459 -0
- package/src/dtcg/primitive/font.json +61 -0
- package/src/dtcg/primitive/radius.json +13 -0
- package/src/dtcg/primitive/size.json +16 -0
- package/src/dtcg/primitive/space.json +20 -0
- package/src/dtcg/semantic/base.json +113 -0
- package/src/dtcg/semantic/density/comfortable.json +26 -0
- package/src/dtcg/semantic/density/compact.json +26 -0
- package/src/dtcg/semantic/density/default.json +26 -0
- package/src/dtcg/semantic/themes/dark.json +93 -0
- package/src/dtcg/semantic/themes/hc.json +93 -0
- package/src/dtcg/semantic/themes/light.json +93 -0
package/package.json
CHANGED
|
@@ -1,6 +1,56 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@x12i/tokens",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Design tokens for the Unified UI Kit: W3C DTCG source compiled to CSS variables, a Tailwind v4 theme, typed TypeScript and Tokens Studio JSON.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/x12i/unified-ui-kit.git",
|
|
9
|
+
"directory": "packages/tokens"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/x12i/unified-ui-kit/tree/main/packages/tokens#readme",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/x12i/unified-ui-kit/issues"
|
|
14
|
+
},
|
|
15
|
+
"type": "module",
|
|
16
|
+
"sideEffects": false,
|
|
17
|
+
"files": [
|
|
18
|
+
"dist",
|
|
19
|
+
"src/dtcg",
|
|
20
|
+
"README.md"
|
|
21
|
+
],
|
|
22
|
+
"exports": {
|
|
23
|
+
".": {
|
|
24
|
+
"types": "./dist/index.d.ts",
|
|
25
|
+
"default": "./dist/index.js"
|
|
26
|
+
},
|
|
27
|
+
"./css/base.css": "./dist/css/base.css",
|
|
28
|
+
"./css/theme-light.css": "./dist/css/theme-light.css",
|
|
29
|
+
"./css/theme-dark.css": "./dist/css/theme-dark.css",
|
|
30
|
+
"./css/theme-hc.css": "./dist/css/theme-hc.css",
|
|
31
|
+
"./css/density-compact.css": "./dist/css/density-compact.css",
|
|
32
|
+
"./css/density-default.css": "./dist/css/density-default.css",
|
|
33
|
+
"./css/density-comfortable.css": "./dist/css/density-comfortable.css",
|
|
34
|
+
"./tailwind.css": "./dist/tailwind/theme.css",
|
|
35
|
+
"./tokens-studio.json": "./dist/tokens-studio.json",
|
|
36
|
+
"./dtcg/*": "./src/dtcg/*",
|
|
37
|
+
"./package.json": "./package.json"
|
|
38
|
+
},
|
|
39
|
+
"publishConfig": {
|
|
40
|
+
"access": "public"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@types/culori": "^4.0.1",
|
|
44
|
+
"@types/node": "^24.0.0",
|
|
45
|
+
"culori": "^4.0.2",
|
|
46
|
+
"style-dictionary": "^5.8.0"
|
|
47
|
+
},
|
|
48
|
+
"scripts": {
|
|
49
|
+
"generate:ramps": "node scripts/generate-ramps.mjs",
|
|
50
|
+
"build:tokens": "node scripts/build-tokens.mjs",
|
|
51
|
+
"build": "pnpm build:tokens && tsup",
|
|
52
|
+
"typecheck": "pnpm build:tokens && tsc --noEmit",
|
|
53
|
+
"lint": "eslint .",
|
|
54
|
+
"test": "pnpm build:tokens && vitest run"
|
|
55
|
+
}
|
|
6
56
|
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$description": "Component tier. Only for values where no semantic token fits. They alias density-aware semantic tokens, so they follow data-density automatically.",
|
|
3
|
+
"button": {
|
|
4
|
+
"height": {
|
|
5
|
+
"$type": "dimension",
|
|
6
|
+
"xs": { "$value": "{size.control.xs}" },
|
|
7
|
+
"sm": { "$value": "{size.control.sm}" },
|
|
8
|
+
"md": { "$value": "{size.control.md}" },
|
|
9
|
+
"lg": { "$value": "{size.control.lg}" },
|
|
10
|
+
"xl": { "$value": "{size.control.xl}" }
|
|
11
|
+
},
|
|
12
|
+
"paddingInline": {
|
|
13
|
+
"$type": "dimension",
|
|
14
|
+
"xs": { "$value": "{space.control.inline.xs}" },
|
|
15
|
+
"sm": { "$value": "{space.control.inline.sm}" },
|
|
16
|
+
"md": { "$value": "{space.control.inline.md}" },
|
|
17
|
+
"lg": { "$value": "{space.control.inline.lg}" },
|
|
18
|
+
"xl": { "$value": "{space.control.inline.xl}" }
|
|
19
|
+
},
|
|
20
|
+
"gap": { "$type": "dimension", "$value": "{space.control.gap}" }
|
|
21
|
+
},
|
|
22
|
+
"badge": {
|
|
23
|
+
"height": {
|
|
24
|
+
"$type": "dimension",
|
|
25
|
+
"sm": { "$value": "{size.16}" },
|
|
26
|
+
"md": { "$value": "{size.20}" }
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"grid": {
|
|
30
|
+
"row": {
|
|
31
|
+
"height": { "$type": "dimension", "$value": "{size.control.lg}" }
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,459 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$description": "Primitive color ramps. Generated by scripts/generate-ramps.mjs. Placeholder values until the visual target is signed off.",
|
|
3
|
+
"color": {
|
|
4
|
+
"black": {
|
|
5
|
+
"$type": "color",
|
|
6
|
+
"$value": "#000000"
|
|
7
|
+
},
|
|
8
|
+
"white": {
|
|
9
|
+
"$type": "color",
|
|
10
|
+
"$value": "#ffffff"
|
|
11
|
+
},
|
|
12
|
+
"neutral": {
|
|
13
|
+
"1": {
|
|
14
|
+
"$type": "color",
|
|
15
|
+
"$value": "#07090e"
|
|
16
|
+
},
|
|
17
|
+
"2": {
|
|
18
|
+
"$type": "color",
|
|
19
|
+
"$value": "#0f1217"
|
|
20
|
+
},
|
|
21
|
+
"3": {
|
|
22
|
+
"$type": "color",
|
|
23
|
+
"$value": "#181b20"
|
|
24
|
+
},
|
|
25
|
+
"4": {
|
|
26
|
+
"$type": "color",
|
|
27
|
+
"$value": "#24262c"
|
|
28
|
+
},
|
|
29
|
+
"5": {
|
|
30
|
+
"$type": "color",
|
|
31
|
+
"$value": "#32353c"
|
|
32
|
+
},
|
|
33
|
+
"6": {
|
|
34
|
+
"$type": "color",
|
|
35
|
+
"$value": "#44484e"
|
|
36
|
+
},
|
|
37
|
+
"7": {
|
|
38
|
+
"$type": "color",
|
|
39
|
+
"$value": "#5d6067"
|
|
40
|
+
},
|
|
41
|
+
"8": {
|
|
42
|
+
"$type": "color",
|
|
43
|
+
"$value": "#777a82"
|
|
44
|
+
},
|
|
45
|
+
"9": {
|
|
46
|
+
"$type": "color",
|
|
47
|
+
"$value": "#92959d"
|
|
48
|
+
},
|
|
49
|
+
"10": {
|
|
50
|
+
"$type": "color",
|
|
51
|
+
"$value": "#b0b4bc"
|
|
52
|
+
},
|
|
53
|
+
"11": {
|
|
54
|
+
"$type": "color",
|
|
55
|
+
"$value": "#e7ebf4"
|
|
56
|
+
},
|
|
57
|
+
"12": {
|
|
58
|
+
"$type": "color",
|
|
59
|
+
"$value": "#f8faff"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"accent": {
|
|
63
|
+
"1": {
|
|
64
|
+
"$type": "color",
|
|
65
|
+
"$value": "#0a0c25"
|
|
66
|
+
},
|
|
67
|
+
"2": {
|
|
68
|
+
"$type": "color",
|
|
69
|
+
"$value": "#12163a"
|
|
70
|
+
},
|
|
71
|
+
"3": {
|
|
72
|
+
"$type": "color",
|
|
73
|
+
"$value": "#1d2059"
|
|
74
|
+
},
|
|
75
|
+
"4": {
|
|
76
|
+
"$type": "color",
|
|
77
|
+
"$value": "#282d74"
|
|
78
|
+
},
|
|
79
|
+
"5": {
|
|
80
|
+
"$type": "color",
|
|
81
|
+
"$value": "#373e94"
|
|
82
|
+
},
|
|
83
|
+
"6": {
|
|
84
|
+
"$type": "color",
|
|
85
|
+
"$value": "#444cb2"
|
|
86
|
+
},
|
|
87
|
+
"7": {
|
|
88
|
+
"$type": "color",
|
|
89
|
+
"$value": "#5057dc"
|
|
90
|
+
},
|
|
91
|
+
"8": {
|
|
92
|
+
"$type": "color",
|
|
93
|
+
"$value": "#5d67ee"
|
|
94
|
+
},
|
|
95
|
+
"9": {
|
|
96
|
+
"$type": "color",
|
|
97
|
+
"$value": "#6e7cfd"
|
|
98
|
+
},
|
|
99
|
+
"10": {
|
|
100
|
+
"$type": "color",
|
|
101
|
+
"$value": "#8b9bff"
|
|
102
|
+
},
|
|
103
|
+
"11": {
|
|
104
|
+
"$type": "color",
|
|
105
|
+
"$value": "#e1e7ff"
|
|
106
|
+
},
|
|
107
|
+
"12": {
|
|
108
|
+
"$type": "color",
|
|
109
|
+
"$value": "#f4f6ff"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"success": {
|
|
113
|
+
"1": {
|
|
114
|
+
"$type": "color",
|
|
115
|
+
"$value": "#011408"
|
|
116
|
+
},
|
|
117
|
+
"2": {
|
|
118
|
+
"$type": "color",
|
|
119
|
+
"$value": "#00220f"
|
|
120
|
+
},
|
|
121
|
+
"3": {
|
|
122
|
+
"$type": "color",
|
|
123
|
+
"$value": "#003219"
|
|
124
|
+
},
|
|
125
|
+
"4": {
|
|
126
|
+
"$type": "color",
|
|
127
|
+
"$value": "#004424"
|
|
128
|
+
},
|
|
129
|
+
"5": {
|
|
130
|
+
"$type": "color",
|
|
131
|
+
"$value": "#005a31"
|
|
132
|
+
},
|
|
133
|
+
"6": {
|
|
134
|
+
"$type": "color",
|
|
135
|
+
"$value": "#006d3c"
|
|
136
|
+
},
|
|
137
|
+
"7": {
|
|
138
|
+
"$type": "color",
|
|
139
|
+
"$value": "#008148"
|
|
140
|
+
},
|
|
141
|
+
"8": {
|
|
142
|
+
"$type": "color",
|
|
143
|
+
"$value": "#009253"
|
|
144
|
+
},
|
|
145
|
+
"9": {
|
|
146
|
+
"$type": "color",
|
|
147
|
+
"$value": "#19a661"
|
|
148
|
+
},
|
|
149
|
+
"10": {
|
|
150
|
+
"$type": "color",
|
|
151
|
+
"$value": "#59bc81"
|
|
152
|
+
},
|
|
153
|
+
"11": {
|
|
154
|
+
"$type": "color",
|
|
155
|
+
"$value": "#d0f2da"
|
|
156
|
+
},
|
|
157
|
+
"12": {
|
|
158
|
+
"$type": "color",
|
|
159
|
+
"$value": "#effaf2"
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"warning": {
|
|
163
|
+
"1": {
|
|
164
|
+
"$type": "color",
|
|
165
|
+
"$value": "#180d00"
|
|
166
|
+
},
|
|
167
|
+
"2": {
|
|
168
|
+
"$type": "color",
|
|
169
|
+
"$value": "#271700"
|
|
170
|
+
},
|
|
171
|
+
"3": {
|
|
172
|
+
"$type": "color",
|
|
173
|
+
"$value": "#3a2400"
|
|
174
|
+
},
|
|
175
|
+
"4": {
|
|
176
|
+
"$type": "color",
|
|
177
|
+
"$value": "#4d3200"
|
|
178
|
+
},
|
|
179
|
+
"5": {
|
|
180
|
+
"$type": "color",
|
|
181
|
+
"$value": "#654200"
|
|
182
|
+
},
|
|
183
|
+
"6": {
|
|
184
|
+
"$type": "color",
|
|
185
|
+
"$value": "#7b5100"
|
|
186
|
+
},
|
|
187
|
+
"7": {
|
|
188
|
+
"$type": "color",
|
|
189
|
+
"$value": "#916100"
|
|
190
|
+
},
|
|
191
|
+
"8": {
|
|
192
|
+
"$type": "color",
|
|
193
|
+
"$value": "#a46e00"
|
|
194
|
+
},
|
|
195
|
+
"9": {
|
|
196
|
+
"$type": "color",
|
|
197
|
+
"$value": "#bb7e00"
|
|
198
|
+
},
|
|
199
|
+
"10": {
|
|
200
|
+
"$type": "color",
|
|
201
|
+
"$value": "#d09945"
|
|
202
|
+
},
|
|
203
|
+
"11": {
|
|
204
|
+
"$type": "color",
|
|
205
|
+
"$value": "#fae4c7"
|
|
206
|
+
},
|
|
207
|
+
"12": {
|
|
208
|
+
"$type": "color",
|
|
209
|
+
"$value": "#fdf6ec"
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"danger": {
|
|
213
|
+
"1": {
|
|
214
|
+
"$type": "color",
|
|
215
|
+
"$value": "#210505"
|
|
216
|
+
},
|
|
217
|
+
"2": {
|
|
218
|
+
"$type": "color",
|
|
219
|
+
"$value": "#340909"
|
|
220
|
+
},
|
|
221
|
+
"3": {
|
|
222
|
+
"$type": "color",
|
|
223
|
+
"$value": "#4f0a0d"
|
|
224
|
+
},
|
|
225
|
+
"4": {
|
|
226
|
+
"$type": "color",
|
|
227
|
+
"$value": "#691214"
|
|
228
|
+
},
|
|
229
|
+
"5": {
|
|
230
|
+
"$type": "color",
|
|
231
|
+
"$value": "#861d1f"
|
|
232
|
+
},
|
|
233
|
+
"6": {
|
|
234
|
+
"$type": "color",
|
|
235
|
+
"$value": "#a12628"
|
|
236
|
+
},
|
|
237
|
+
"7": {
|
|
238
|
+
"$type": "color",
|
|
239
|
+
"$value": "#c51d28"
|
|
240
|
+
},
|
|
241
|
+
"8": {
|
|
242
|
+
"$type": "color",
|
|
243
|
+
"$value": "#d73337"
|
|
244
|
+
},
|
|
245
|
+
"9": {
|
|
246
|
+
"$type": "color",
|
|
247
|
+
"$value": "#e9504d"
|
|
248
|
+
},
|
|
249
|
+
"10": {
|
|
250
|
+
"$type": "color",
|
|
251
|
+
"$value": "#f97770"
|
|
252
|
+
},
|
|
253
|
+
"11": {
|
|
254
|
+
"$type": "color",
|
|
255
|
+
"$value": "#ffdfdc"
|
|
256
|
+
},
|
|
257
|
+
"12": {
|
|
258
|
+
"$type": "color",
|
|
259
|
+
"$value": "#fff4f3"
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
"info": {
|
|
263
|
+
"1": {
|
|
264
|
+
"$type": "color",
|
|
265
|
+
"$value": "#00121d"
|
|
266
|
+
},
|
|
267
|
+
"2": {
|
|
268
|
+
"$type": "color",
|
|
269
|
+
"$value": "#001e2d"
|
|
270
|
+
},
|
|
271
|
+
"3": {
|
|
272
|
+
"$type": "color",
|
|
273
|
+
"$value": "#002d42"
|
|
274
|
+
},
|
|
275
|
+
"4": {
|
|
276
|
+
"$type": "color",
|
|
277
|
+
"$value": "#003d58"
|
|
278
|
+
},
|
|
279
|
+
"5": {
|
|
280
|
+
"$type": "color",
|
|
281
|
+
"$value": "#005172"
|
|
282
|
+
},
|
|
283
|
+
"6": {
|
|
284
|
+
"$type": "color",
|
|
285
|
+
"$value": "#00628a"
|
|
286
|
+
},
|
|
287
|
+
"7": {
|
|
288
|
+
"$type": "color",
|
|
289
|
+
"$value": "#0075a3"
|
|
290
|
+
},
|
|
291
|
+
"8": {
|
|
292
|
+
"$type": "color",
|
|
293
|
+
"$value": "#0084b8"
|
|
294
|
+
},
|
|
295
|
+
"9": {
|
|
296
|
+
"$type": "color",
|
|
297
|
+
"$value": "#0097d2"
|
|
298
|
+
},
|
|
299
|
+
"10": {
|
|
300
|
+
"$type": "color",
|
|
301
|
+
"$value": "#4cb0e5"
|
|
302
|
+
},
|
|
303
|
+
"11": {
|
|
304
|
+
"$type": "color",
|
|
305
|
+
"$value": "#d0edff"
|
|
306
|
+
},
|
|
307
|
+
"12": {
|
|
308
|
+
"$type": "color",
|
|
309
|
+
"$value": "#eef9ff"
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
"categorical": {
|
|
313
|
+
"light": {
|
|
314
|
+
"1": {
|
|
315
|
+
"$type": "color",
|
|
316
|
+
"$value": "#2971c6"
|
|
317
|
+
},
|
|
318
|
+
"2": {
|
|
319
|
+
"$type": "color",
|
|
320
|
+
"$value": "#ac5700"
|
|
321
|
+
},
|
|
322
|
+
"3": {
|
|
323
|
+
"$type": "color",
|
|
324
|
+
"$value": "#008758"
|
|
325
|
+
},
|
|
326
|
+
"4": {
|
|
327
|
+
"$type": "color",
|
|
328
|
+
"$value": "#a8488d"
|
|
329
|
+
},
|
|
330
|
+
"5": {
|
|
331
|
+
"$type": "color",
|
|
332
|
+
"$value": "#867000"
|
|
333
|
+
},
|
|
334
|
+
"6": {
|
|
335
|
+
"$type": "color",
|
|
336
|
+
"$value": "#00818c"
|
|
337
|
+
},
|
|
338
|
+
"7": {
|
|
339
|
+
"$type": "color",
|
|
340
|
+
"$value": "#b94642"
|
|
341
|
+
},
|
|
342
|
+
"8": {
|
|
343
|
+
"$type": "color",
|
|
344
|
+
"$value": "#8059bb"
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
"dark": {
|
|
348
|
+
"1": {
|
|
349
|
+
"$type": "color",
|
|
350
|
+
"$value": "#70adfb"
|
|
351
|
+
},
|
|
352
|
+
"2": {
|
|
353
|
+
"$type": "color",
|
|
354
|
+
"$value": "#e99355"
|
|
355
|
+
},
|
|
356
|
+
"3": {
|
|
357
|
+
"$type": "color",
|
|
358
|
+
"$value": "#53c48e"
|
|
359
|
+
},
|
|
360
|
+
"4": {
|
|
361
|
+
"$type": "color",
|
|
362
|
+
"$value": "#e189c5"
|
|
363
|
+
},
|
|
364
|
+
"5": {
|
|
365
|
+
"$type": "color",
|
|
366
|
+
"$value": "#c5a93b"
|
|
367
|
+
},
|
|
368
|
+
"6": {
|
|
369
|
+
"$type": "color",
|
|
370
|
+
"$value": "#00c1d0"
|
|
371
|
+
},
|
|
372
|
+
"7": {
|
|
373
|
+
"$type": "color",
|
|
374
|
+
"$value": "#f28881"
|
|
375
|
+
},
|
|
376
|
+
"8": {
|
|
377
|
+
"$type": "color",
|
|
378
|
+
"$value": "#b897f0"
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
"sequential": {
|
|
383
|
+
"1": {
|
|
384
|
+
"$type": "color",
|
|
385
|
+
"$value": "#e9f3ff"
|
|
386
|
+
},
|
|
387
|
+
"2": {
|
|
388
|
+
"$type": "color",
|
|
389
|
+
"$value": "#bcd9ff"
|
|
390
|
+
},
|
|
391
|
+
"3": {
|
|
392
|
+
"$type": "color",
|
|
393
|
+
"$value": "#8ebfff"
|
|
394
|
+
},
|
|
395
|
+
"4": {
|
|
396
|
+
"$type": "color",
|
|
397
|
+
"$value": "#5ea4fd"
|
|
398
|
+
},
|
|
399
|
+
"5": {
|
|
400
|
+
"$type": "color",
|
|
401
|
+
"$value": "#478ade"
|
|
402
|
+
},
|
|
403
|
+
"6": {
|
|
404
|
+
"$type": "color",
|
|
405
|
+
"$value": "#3f72b2"
|
|
406
|
+
},
|
|
407
|
+
"7": {
|
|
408
|
+
"$type": "color",
|
|
409
|
+
"$value": "#3f5b7f"
|
|
410
|
+
},
|
|
411
|
+
"8": {
|
|
412
|
+
"$type": "color",
|
|
413
|
+
"$value": "#384453"
|
|
414
|
+
},
|
|
415
|
+
"9": {
|
|
416
|
+
"$type": "color",
|
|
417
|
+
"$value": "#242f3d"
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
"diverging": {
|
|
421
|
+
"1": {
|
|
422
|
+
"$type": "color",
|
|
423
|
+
"$value": "#2a6cba"
|
|
424
|
+
},
|
|
425
|
+
"2": {
|
|
426
|
+
"$type": "color",
|
|
427
|
+
"$value": "#5e8dc9"
|
|
428
|
+
},
|
|
429
|
+
"3": {
|
|
430
|
+
"$type": "color",
|
|
431
|
+
"$value": "#8dadd7"
|
|
432
|
+
},
|
|
433
|
+
"4": {
|
|
434
|
+
"$type": "color",
|
|
435
|
+
"$value": "#bdcee3"
|
|
436
|
+
},
|
|
437
|
+
"5": {
|
|
438
|
+
"$type": "color",
|
|
439
|
+
"$value": "#eeeeee"
|
|
440
|
+
},
|
|
441
|
+
"6": {
|
|
442
|
+
"$type": "color",
|
|
443
|
+
"$value": "#dfc7b7"
|
|
444
|
+
},
|
|
445
|
+
"7": {
|
|
446
|
+
"$type": "color",
|
|
447
|
+
"$value": "#cea081"
|
|
448
|
+
},
|
|
449
|
+
"8": {
|
|
450
|
+
"$type": "color",
|
|
451
|
+
"$value": "#bb7949"
|
|
452
|
+
},
|
|
453
|
+
"9": {
|
|
454
|
+
"$type": "color",
|
|
455
|
+
"$value": "#a45300"
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$description": "Font primitives. Family names are placeholders until the final sans and mono families are confirmed (spec section 3). Hebrew and Arabic fallbacks are part of the stack.",
|
|
3
|
+
"font": {
|
|
4
|
+
"family": {
|
|
5
|
+
"$type": "fontFamily",
|
|
6
|
+
"sans": {
|
|
7
|
+
"$value": [
|
|
8
|
+
"Inter",
|
|
9
|
+
"system-ui",
|
|
10
|
+
"-apple-system",
|
|
11
|
+
"Segoe UI",
|
|
12
|
+
"Roboto",
|
|
13
|
+
"Noto Sans Hebrew",
|
|
14
|
+
"Noto Sans Arabic",
|
|
15
|
+
"Helvetica Neue",
|
|
16
|
+
"Arial",
|
|
17
|
+
"sans-serif"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
"mono": {
|
|
21
|
+
"$value": [
|
|
22
|
+
"JetBrains Mono",
|
|
23
|
+
"ui-monospace",
|
|
24
|
+
"SFMono-Regular",
|
|
25
|
+
"Menlo",
|
|
26
|
+
"Consolas",
|
|
27
|
+
"Liberation Mono",
|
|
28
|
+
"monospace"
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"weight": {
|
|
33
|
+
"$type": "fontWeight",
|
|
34
|
+
"regular": { "$value": 400 },
|
|
35
|
+
"medium": { "$value": 500 },
|
|
36
|
+
"semibold": { "$value": 600 }
|
|
37
|
+
},
|
|
38
|
+
"size": {
|
|
39
|
+
"$type": "dimension",
|
|
40
|
+
"12": { "$value": "12px" },
|
|
41
|
+
"13": { "$value": "13px" },
|
|
42
|
+
"14": { "$value": "14px" },
|
|
43
|
+
"16": { "$value": "16px" },
|
|
44
|
+
"20": { "$value": "20px" },
|
|
45
|
+
"24": { "$value": "24px" },
|
|
46
|
+
"30": { "$value": "30px" },
|
|
47
|
+
"48": { "$value": "48px" }
|
|
48
|
+
},
|
|
49
|
+
"lineHeight": {
|
|
50
|
+
"$type": "dimension",
|
|
51
|
+
"16": { "$value": "16px" },
|
|
52
|
+
"20": { "$value": "20px" },
|
|
53
|
+
"22": { "$value": "22px" },
|
|
54
|
+
"24": { "$value": "24px" },
|
|
55
|
+
"28": { "$value": "28px" },
|
|
56
|
+
"32": { "$value": "32px" },
|
|
57
|
+
"38": { "$value": "38px" },
|
|
58
|
+
"56": { "$value": "56px" }
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$description": "Radius scale. Key is the pixel value.",
|
|
3
|
+
"radius": {
|
|
4
|
+
"$type": "dimension",
|
|
5
|
+
"2": { "$value": "2px" },
|
|
6
|
+
"4": { "$value": "4px" },
|
|
7
|
+
"6": { "$value": "6px" },
|
|
8
|
+
"8": { "$value": "8px" },
|
|
9
|
+
"12": { "$value": "12px" },
|
|
10
|
+
"16": { "$value": "16px" },
|
|
11
|
+
"full": { "$value": "9999px" }
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$description": "Size scale for controls and icons. Key is the pixel value.",
|
|
3
|
+
"size": {
|
|
4
|
+
"$type": "dimension",
|
|
5
|
+
"12": { "$value": "12px" },
|
|
6
|
+
"16": { "$value": "16px" },
|
|
7
|
+
"20": { "$value": "20px" },
|
|
8
|
+
"24": { "$value": "24px" },
|
|
9
|
+
"28": { "$value": "28px" },
|
|
10
|
+
"32": { "$value": "32px" },
|
|
11
|
+
"40": { "$value": "40px" },
|
|
12
|
+
"44": { "$value": "44px" },
|
|
13
|
+
"48": { "$value": "48px" },
|
|
14
|
+
"56": { "$value": "56px" }
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$description": "4px base grid. Scale: 0, 2, 4, 8, 12, 16, 20, 24, 32, 40, 48, 64, 80, 96. Key N is N x 4px; 0-5 is 2px.",
|
|
3
|
+
"space": {
|
|
4
|
+
"$type": "dimension",
|
|
5
|
+
"0": { "$value": "0px" },
|
|
6
|
+
"0-5": { "$value": "2px" },
|
|
7
|
+
"1": { "$value": "4px" },
|
|
8
|
+
"2": { "$value": "8px" },
|
|
9
|
+
"3": { "$value": "12px" },
|
|
10
|
+
"4": { "$value": "16px" },
|
|
11
|
+
"5": { "$value": "20px" },
|
|
12
|
+
"6": { "$value": "24px" },
|
|
13
|
+
"8": { "$value": "32px" },
|
|
14
|
+
"10": { "$value": "40px" },
|
|
15
|
+
"12": { "$value": "48px" },
|
|
16
|
+
"16": { "$value": "64px" },
|
|
17
|
+
"20": { "$value": "80px" },
|
|
18
|
+
"24": { "$value": "96px" }
|
|
19
|
+
}
|
|
20
|
+
}
|