@dataimago/tokens-neutral 0.1.0-alpha.6 → 0.1.0-alpha.7
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 +2 -0
- package/dist/colors.json +134 -0
- package/dist/components.json +44 -0
- package/dist/effects.json +54 -0
- package/dist/frequent.json +51 -0
- package/dist/spacing.json +56 -0
- package/dist/theme-colors.json +112 -0
- package/dist/tokens.dtcg.json +644 -0
- package/dist/tokens.studio.json +497 -0
- package/dist/tokens.w3c.dtcg.json +617 -0
- package/dist/typography.json +168 -0
- package/package.json +9 -6
|
@@ -0,0 +1,497 @@
|
|
|
1
|
+
{
|
|
2
|
+
"global": {
|
|
3
|
+
"color": {
|
|
4
|
+
"surface": {
|
|
5
|
+
"page": {
|
|
6
|
+
"value": "#ededeb",
|
|
7
|
+
"type": "color"
|
|
8
|
+
},
|
|
9
|
+
"page-scrolled": {
|
|
10
|
+
"value": "#ededeb",
|
|
11
|
+
"type": "color"
|
|
12
|
+
},
|
|
13
|
+
"elevated": {
|
|
14
|
+
"value": "#f7f7f6",
|
|
15
|
+
"type": "color"
|
|
16
|
+
},
|
|
17
|
+
"sunken": {
|
|
18
|
+
"value": "#faf2e3",
|
|
19
|
+
"type": "color"
|
|
20
|
+
},
|
|
21
|
+
"navbar": {
|
|
22
|
+
"value": "#ededeb",
|
|
23
|
+
"type": "color"
|
|
24
|
+
},
|
|
25
|
+
"navbar-scrolled": {
|
|
26
|
+
"value": "#ededeb",
|
|
27
|
+
"type": "color"
|
|
28
|
+
},
|
|
29
|
+
"code": {
|
|
30
|
+
"value": "#faf2e3",
|
|
31
|
+
"type": "color"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"border": {
|
|
35
|
+
"subtle": {
|
|
36
|
+
"value": "rgba(12, 10, 9, 0.08)",
|
|
37
|
+
"type": "color"
|
|
38
|
+
},
|
|
39
|
+
"moderate": {
|
|
40
|
+
"value": "rgba(12, 10, 9, 0.15)",
|
|
41
|
+
"type": "color"
|
|
42
|
+
},
|
|
43
|
+
"strong": {
|
|
44
|
+
"value": "rgba(12, 10, 9, 0.25)",
|
|
45
|
+
"type": "color"
|
|
46
|
+
},
|
|
47
|
+
"card": {
|
|
48
|
+
"value": "rgba(12, 10, 9, 0.15)",
|
|
49
|
+
"type": "color"
|
|
50
|
+
},
|
|
51
|
+
"code": {
|
|
52
|
+
"value": "#d6d3d1",
|
|
53
|
+
"type": "color"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"content": {
|
|
57
|
+
"primary": {
|
|
58
|
+
"value": "#14140f",
|
|
59
|
+
"type": "color"
|
|
60
|
+
},
|
|
61
|
+
"secondary": {
|
|
62
|
+
"value": "#7c7c7c",
|
|
63
|
+
"type": "color"
|
|
64
|
+
},
|
|
65
|
+
"muted": {
|
|
66
|
+
"value": "#78716c",
|
|
67
|
+
"type": "color"
|
|
68
|
+
},
|
|
69
|
+
"inverse": {
|
|
70
|
+
"value": "#fdf9f2",
|
|
71
|
+
"type": "color"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"interactive": {
|
|
75
|
+
"primary": {
|
|
76
|
+
"value": "#292524",
|
|
77
|
+
"type": "color"
|
|
78
|
+
},
|
|
79
|
+
"hover": {
|
|
80
|
+
"value": "#1c1917",
|
|
81
|
+
"type": "color"
|
|
82
|
+
},
|
|
83
|
+
"accent": {
|
|
84
|
+
"value": "#292524",
|
|
85
|
+
"type": "color"
|
|
86
|
+
},
|
|
87
|
+
"focus": {
|
|
88
|
+
"value": "#292524",
|
|
89
|
+
"type": "color"
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"shadow": {
|
|
94
|
+
"sm": {
|
|
95
|
+
"value": "0 1px 2px 0 rgb(0 0 0 / 0.05)",
|
|
96
|
+
"type": "other"
|
|
97
|
+
},
|
|
98
|
+
"md": {
|
|
99
|
+
"value": "0 4px 6px -1px rgb(0 0 0 / 0.1)",
|
|
100
|
+
"type": "other"
|
|
101
|
+
},
|
|
102
|
+
"lg": {
|
|
103
|
+
"value": "0 10px 15px -3px rgb(0 0 0 / 0.1)",
|
|
104
|
+
"type": "other"
|
|
105
|
+
},
|
|
106
|
+
"xl": {
|
|
107
|
+
"value": "0 20px 25px -5px rgb(0 0 0 / 0.1)",
|
|
108
|
+
"type": "other"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"border": {
|
|
112
|
+
"subtle": {
|
|
113
|
+
"value": "rgba(20, 20, 16, 0.1)",
|
|
114
|
+
"type": "color"
|
|
115
|
+
},
|
|
116
|
+
"moderate": {
|
|
117
|
+
"value": "rgba(20, 20, 16, 0.15)",
|
|
118
|
+
"type": "color"
|
|
119
|
+
},
|
|
120
|
+
"focus": {
|
|
121
|
+
"value": "#3498DB",
|
|
122
|
+
"type": "color"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"transition": {
|
|
126
|
+
"quick": {
|
|
127
|
+
"value": "0.15s ease",
|
|
128
|
+
"type": "duration"
|
|
129
|
+
},
|
|
130
|
+
"standard": {
|
|
131
|
+
"value": "0.25s ease-in-out",
|
|
132
|
+
"type": "duration"
|
|
133
|
+
},
|
|
134
|
+
"smooth": {
|
|
135
|
+
"value": "0.35s ease",
|
|
136
|
+
"type": "duration"
|
|
137
|
+
},
|
|
138
|
+
"logo": {
|
|
139
|
+
"value": "0.3s",
|
|
140
|
+
"type": "duration"
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"font": {
|
|
144
|
+
"family": {
|
|
145
|
+
"sans": {
|
|
146
|
+
"value": "Noto Sans, Fira Sans, system-ui, sans-serif",
|
|
147
|
+
"type": "other"
|
|
148
|
+
},
|
|
149
|
+
"mono": {
|
|
150
|
+
"value": "JetBrains Mono, SF Mono, Monaco, Inconsolata, monospace",
|
|
151
|
+
"type": "other"
|
|
152
|
+
},
|
|
153
|
+
"display": {
|
|
154
|
+
"value": "var(--font-family-display-editorial)",
|
|
155
|
+
"type": "other"
|
|
156
|
+
},
|
|
157
|
+
"display-editorial": {
|
|
158
|
+
"value": "Noto Sans, system-ui, sans-serif",
|
|
159
|
+
"type": "other"
|
|
160
|
+
},
|
|
161
|
+
"display-documentation": {
|
|
162
|
+
"value": "Noto Sans, system-ui, sans-serif",
|
|
163
|
+
"type": "other"
|
|
164
|
+
},
|
|
165
|
+
"brand": {
|
|
166
|
+
"value": "Noto Sans, system-ui, sans-serif",
|
|
167
|
+
"type": "other"
|
|
168
|
+
},
|
|
169
|
+
"math": {
|
|
170
|
+
"value": "Noto Sans Math, Noto Sans, system-ui, sans-serif",
|
|
171
|
+
"type": "other"
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"size": {
|
|
175
|
+
"micro": {
|
|
176
|
+
"value": "0.75rem",
|
|
177
|
+
"type": "dimension"
|
|
178
|
+
},
|
|
179
|
+
"small": {
|
|
180
|
+
"value": "0.875rem",
|
|
181
|
+
"type": "dimension"
|
|
182
|
+
},
|
|
183
|
+
"base": {
|
|
184
|
+
"value": "1rem",
|
|
185
|
+
"type": "dimension"
|
|
186
|
+
},
|
|
187
|
+
"readable": {
|
|
188
|
+
"value": "1.125rem",
|
|
189
|
+
"type": "dimension"
|
|
190
|
+
},
|
|
191
|
+
"emphasis": {
|
|
192
|
+
"value": "1.25rem",
|
|
193
|
+
"type": "dimension"
|
|
194
|
+
},
|
|
195
|
+
"heading-small": {
|
|
196
|
+
"value": "1.5rem",
|
|
197
|
+
"type": "dimension"
|
|
198
|
+
},
|
|
199
|
+
"heading-medium": {
|
|
200
|
+
"value": "1.875rem",
|
|
201
|
+
"type": "dimension"
|
|
202
|
+
},
|
|
203
|
+
"heading-large": {
|
|
204
|
+
"value": "2.25rem",
|
|
205
|
+
"type": "dimension"
|
|
206
|
+
},
|
|
207
|
+
"heading-xl": {
|
|
208
|
+
"value": "3rem",
|
|
209
|
+
"type": "dimension"
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"weight": {
|
|
213
|
+
"extralight": {
|
|
214
|
+
"value": "200",
|
|
215
|
+
"type": "number"
|
|
216
|
+
},
|
|
217
|
+
"light": {
|
|
218
|
+
"value": "300",
|
|
219
|
+
"type": "number"
|
|
220
|
+
},
|
|
221
|
+
"normal": {
|
|
222
|
+
"value": "400",
|
|
223
|
+
"type": "number"
|
|
224
|
+
},
|
|
225
|
+
"medium": {
|
|
226
|
+
"value": "500",
|
|
227
|
+
"type": "number"
|
|
228
|
+
},
|
|
229
|
+
"semibold": {
|
|
230
|
+
"value": "600",
|
|
231
|
+
"type": "number"
|
|
232
|
+
},
|
|
233
|
+
"bold": {
|
|
234
|
+
"value": "700",
|
|
235
|
+
"type": "number"
|
|
236
|
+
},
|
|
237
|
+
"heading": {
|
|
238
|
+
"_invariant": {
|
|
239
|
+
"value": "Heading-weight cluster — neutral default uses semibold (600) for h1/h2 because Noto Sans's medium (500) feels light at hero scale where Josefin's medium has geometric character. Owners may override per-heading by extending the Tailwind preset.",
|
|
240
|
+
"type": "other"
|
|
241
|
+
},
|
|
242
|
+
"h1": {
|
|
243
|
+
"value": "var(--font-weight-semibold)",
|
|
244
|
+
"type": "other"
|
|
245
|
+
},
|
|
246
|
+
"h2": {
|
|
247
|
+
"value": "var(--font-weight-semibold)",
|
|
248
|
+
"type": "other"
|
|
249
|
+
},
|
|
250
|
+
"h3": {
|
|
251
|
+
"value": "var(--font-weight-medium)",
|
|
252
|
+
"type": "other"
|
|
253
|
+
},
|
|
254
|
+
"h4": {
|
|
255
|
+
"value": "var(--font-weight-normal)",
|
|
256
|
+
"type": "other"
|
|
257
|
+
},
|
|
258
|
+
"h5": {
|
|
259
|
+
"value": "var(--font-weight-normal)",
|
|
260
|
+
"type": "other"
|
|
261
|
+
},
|
|
262
|
+
"h6": {
|
|
263
|
+
"value": "var(--font-weight-normal)",
|
|
264
|
+
"type": "other"
|
|
265
|
+
},
|
|
266
|
+
"subtitle": {
|
|
267
|
+
"value": "var(--font-weight-semibold)",
|
|
268
|
+
"type": "other"
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
"style": {
|
|
273
|
+
"normal": {
|
|
274
|
+
"value": "normal",
|
|
275
|
+
"type": "other"
|
|
276
|
+
},
|
|
277
|
+
"italic": {
|
|
278
|
+
"value": "italic",
|
|
279
|
+
"type": "other"
|
|
280
|
+
},
|
|
281
|
+
"oblique": {
|
|
282
|
+
"value": "oblique",
|
|
283
|
+
"type": "other"
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"lineHeight": {
|
|
287
|
+
"tight": {
|
|
288
|
+
"value": "1.25",
|
|
289
|
+
"type": "number"
|
|
290
|
+
},
|
|
291
|
+
"normal": {
|
|
292
|
+
"value": "1.5",
|
|
293
|
+
"type": "number"
|
|
294
|
+
},
|
|
295
|
+
"relaxed": {
|
|
296
|
+
"value": "1.625",
|
|
297
|
+
"type": "number"
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
"feature-settings": {
|
|
301
|
+
"_invariant": {
|
|
302
|
+
"value": "OpenType feature settings — neutral defaults. @dataimago/tokens applies lining figures (lnum) to display headings to correct Josefin Sans's old-style default figures; Noto Sans uses uniform-baseline figures natively, so the neutral package emits `normal` for both display and body.",
|
|
303
|
+
"type": "other"
|
|
304
|
+
},
|
|
305
|
+
"display": {
|
|
306
|
+
"value": "\"normal\"",
|
|
307
|
+
"type": "other"
|
|
308
|
+
},
|
|
309
|
+
"body": {
|
|
310
|
+
"value": "\"normal\"",
|
|
311
|
+
"type": "other"
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
"spacing": {
|
|
316
|
+
"xs": {
|
|
317
|
+
"value": "0.25rem",
|
|
318
|
+
"type": "dimension"
|
|
319
|
+
},
|
|
320
|
+
"sm": {
|
|
321
|
+
"value": "0.5rem",
|
|
322
|
+
"type": "dimension"
|
|
323
|
+
},
|
|
324
|
+
"md": {
|
|
325
|
+
"value": "1rem",
|
|
326
|
+
"type": "dimension"
|
|
327
|
+
},
|
|
328
|
+
"lg": {
|
|
329
|
+
"value": "1.5rem",
|
|
330
|
+
"type": "dimension"
|
|
331
|
+
},
|
|
332
|
+
"xl": {
|
|
333
|
+
"value": "2rem",
|
|
334
|
+
"type": "dimension"
|
|
335
|
+
},
|
|
336
|
+
"2xl": {
|
|
337
|
+
"value": "3rem",
|
|
338
|
+
"type": "dimension"
|
|
339
|
+
},
|
|
340
|
+
"3xl": {
|
|
341
|
+
"value": "4rem",
|
|
342
|
+
"type": "dimension"
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
"radius": {
|
|
346
|
+
"sm": {
|
|
347
|
+
"value": "0.25rem",
|
|
348
|
+
"type": "dimension"
|
|
349
|
+
},
|
|
350
|
+
"md": {
|
|
351
|
+
"value": "0.5rem",
|
|
352
|
+
"type": "dimension"
|
|
353
|
+
},
|
|
354
|
+
"lg": {
|
|
355
|
+
"value": "0.75rem",
|
|
356
|
+
"type": "dimension"
|
|
357
|
+
},
|
|
358
|
+
"xl": {
|
|
359
|
+
"value": "1rem",
|
|
360
|
+
"type": "dimension"
|
|
361
|
+
},
|
|
362
|
+
"full": {
|
|
363
|
+
"value": "9999px",
|
|
364
|
+
"type": "dimension"
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
"dark": {
|
|
369
|
+
"color": {
|
|
370
|
+
"surface": {
|
|
371
|
+
"page": {
|
|
372
|
+
"value": "#141410",
|
|
373
|
+
"type": "color"
|
|
374
|
+
},
|
|
375
|
+
"page-scrolled": {
|
|
376
|
+
"value": "#141410",
|
|
377
|
+
"type": "color"
|
|
378
|
+
},
|
|
379
|
+
"elevated": {
|
|
380
|
+
"value": "#1c1917",
|
|
381
|
+
"type": "color"
|
|
382
|
+
},
|
|
383
|
+
"sunken": {
|
|
384
|
+
"value": "#0c0a09",
|
|
385
|
+
"type": "color"
|
|
386
|
+
},
|
|
387
|
+
"navbar": {
|
|
388
|
+
"value": "#141410",
|
|
389
|
+
"type": "color"
|
|
390
|
+
},
|
|
391
|
+
"navbar-scrolled": {
|
|
392
|
+
"value": "#141410",
|
|
393
|
+
"type": "color"
|
|
394
|
+
},
|
|
395
|
+
"code": {
|
|
396
|
+
"value": "#1c1917",
|
|
397
|
+
"type": "color"
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
"border": {
|
|
401
|
+
"subtle": {
|
|
402
|
+
"value": "rgba(253, 249, 242, 0.08)",
|
|
403
|
+
"type": "color"
|
|
404
|
+
},
|
|
405
|
+
"moderate": {
|
|
406
|
+
"value": "rgba(253, 249, 242, 0.15)",
|
|
407
|
+
"type": "color"
|
|
408
|
+
},
|
|
409
|
+
"strong": {
|
|
410
|
+
"value": "rgba(253, 249, 242, 0.25)",
|
|
411
|
+
"type": "color"
|
|
412
|
+
},
|
|
413
|
+
"card": {
|
|
414
|
+
"value": "rgba(253, 249, 242, 0.15)",
|
|
415
|
+
"type": "color"
|
|
416
|
+
},
|
|
417
|
+
"code": {
|
|
418
|
+
"value": "#292524",
|
|
419
|
+
"type": "color"
|
|
420
|
+
}
|
|
421
|
+
},
|
|
422
|
+
"content": {
|
|
423
|
+
"primary": {
|
|
424
|
+
"value": "#fdf9f2",
|
|
425
|
+
"type": "color"
|
|
426
|
+
},
|
|
427
|
+
"secondary": {
|
|
428
|
+
"value": "#a8a29e",
|
|
429
|
+
"type": "color"
|
|
430
|
+
},
|
|
431
|
+
"muted": {
|
|
432
|
+
"value": "#78716c",
|
|
433
|
+
"type": "color"
|
|
434
|
+
},
|
|
435
|
+
"inverse": {
|
|
436
|
+
"value": "#0c0a09",
|
|
437
|
+
"type": "color"
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
"interactive": {
|
|
441
|
+
"primary": {
|
|
442
|
+
"value": "#d6d3d1",
|
|
443
|
+
"type": "color"
|
|
444
|
+
},
|
|
445
|
+
"hover": {
|
|
446
|
+
"value": "#a8a29e",
|
|
447
|
+
"type": "color"
|
|
448
|
+
},
|
|
449
|
+
"accent": {
|
|
450
|
+
"value": "#d6d3d1",
|
|
451
|
+
"type": "color"
|
|
452
|
+
},
|
|
453
|
+
"focus": {
|
|
454
|
+
"value": "#d6d3d1",
|
|
455
|
+
"type": "color"
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
"border": {
|
|
460
|
+
"subtle": {
|
|
461
|
+
"value": "rgba(237, 237, 235, 0.1)",
|
|
462
|
+
"type": "color"
|
|
463
|
+
},
|
|
464
|
+
"moderate": {
|
|
465
|
+
"value": "rgba(237, 237, 235, 0.15)",
|
|
466
|
+
"type": "color"
|
|
467
|
+
},
|
|
468
|
+
"focus": {
|
|
469
|
+
"value": "#4FC3F7",
|
|
470
|
+
"type": "color"
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
},
|
|
474
|
+
"$themes": [
|
|
475
|
+
{
|
|
476
|
+
"id": "light",
|
|
477
|
+
"name": "Light",
|
|
478
|
+
"selectedTokenSets": {
|
|
479
|
+
"global": "enabled"
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"id": "dark",
|
|
484
|
+
"name": "Dark",
|
|
485
|
+
"selectedTokenSets": {
|
|
486
|
+
"global": "enabled",
|
|
487
|
+
"dark": "enabled"
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
],
|
|
491
|
+
"$metadata": {
|
|
492
|
+
"tokenSetOrder": [
|
|
493
|
+
"global",
|
|
494
|
+
"dark"
|
|
495
|
+
]
|
|
496
|
+
}
|
|
497
|
+
}
|