@orangesys/tokens 0.0.0-stage → 0.5.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 +46 -2
- package/css/tokens.css +565 -0
- package/dist/contrast.d.ts +8 -0
- package/dist/contrast.js +35 -0
- package/dist/dtcg.d.ts +96 -0
- package/dist/dtcg.js +217 -0
- package/dist/index.d.ts +600 -0
- package/dist/index.js +650 -0
- package/dist/tokens/$metadata.json +9 -0
- package/dist/tokens/$themes.json +46 -0
- package/dist/tokens/primitivas.json +1468 -0
- package/dist/tokens/tema/dark-hc.json +522 -0
- package/dist/tokens/tema/dark.json +531 -0
- package/dist/tokens/tema/light-hc.json +506 -0
- package/dist/tokens/tema/light.json +547 -0
- package/dist/tokens.dtcg.json +3631 -0
- package/package.json +65 -3
|
@@ -0,0 +1,506 @@
|
|
|
1
|
+
{
|
|
2
|
+
"color": {
|
|
3
|
+
"$type": "color",
|
|
4
|
+
"bg": {
|
|
5
|
+
"$value": "{color.paper.0}",
|
|
6
|
+
"$extensions": {
|
|
7
|
+
"orange.cssVar": "--or-color-bg"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"bg-subtle": {
|
|
11
|
+
"$value": "{color.paper.50}",
|
|
12
|
+
"$extensions": {
|
|
13
|
+
"orange.cssVar": "--or-color-bg-subtle"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"surface": {
|
|
17
|
+
"$value": "{color.paper.0}",
|
|
18
|
+
"$extensions": {
|
|
19
|
+
"orange.cssVar": "--or-color-surface"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"surface-raised": {
|
|
23
|
+
"$value": "{color.paper.0}",
|
|
24
|
+
"$extensions": {
|
|
25
|
+
"orange.cssVar": "--or-color-surface-raised"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"surface-hover": {
|
|
29
|
+
"$value": "{color.paper.200}",
|
|
30
|
+
"$extensions": {
|
|
31
|
+
"orange.cssVar": "--or-color-surface-hover"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"surface-active": {
|
|
35
|
+
"$value": "{color.paper.300}",
|
|
36
|
+
"$extensions": {
|
|
37
|
+
"orange.cssVar": "--or-color-surface-active"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"surface-inverse": {
|
|
41
|
+
"$value": "{color.paper.950}",
|
|
42
|
+
"$extensions": {
|
|
43
|
+
"orange.cssVar": "--or-color-surface-inverse"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"overlay": {
|
|
47
|
+
"$value": {
|
|
48
|
+
"colorSpace": "srgb",
|
|
49
|
+
"components": [
|
|
50
|
+
0.0588,
|
|
51
|
+
0.0588,
|
|
52
|
+
0.0706
|
|
53
|
+
],
|
|
54
|
+
"hex": "#0f0f12",
|
|
55
|
+
"alpha": 0.64
|
|
56
|
+
},
|
|
57
|
+
"$extensions": {
|
|
58
|
+
"orange.cssVar": "--or-color-overlay"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"shadow": {
|
|
62
|
+
"$value": {
|
|
63
|
+
"colorSpace": "srgb",
|
|
64
|
+
"components": [
|
|
65
|
+
0.0588,
|
|
66
|
+
0.0588,
|
|
67
|
+
0.0706
|
|
68
|
+
],
|
|
69
|
+
"hex": "#0f0f12",
|
|
70
|
+
"alpha": 0.28
|
|
71
|
+
},
|
|
72
|
+
"$extensions": {
|
|
73
|
+
"orange.cssVar": "--or-color-shadow"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"text": {
|
|
77
|
+
"$value": "{color.paper.950}",
|
|
78
|
+
"$extensions": {
|
|
79
|
+
"orange.cssVar": "--or-color-text"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"text-muted": {
|
|
83
|
+
"$value": "{color.paper.900}",
|
|
84
|
+
"$extensions": {
|
|
85
|
+
"orange.cssVar": "--or-color-text-muted"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"text-subtle": {
|
|
89
|
+
"$value": "{color.paper.800}",
|
|
90
|
+
"$extensions": {
|
|
91
|
+
"orange.cssVar": "--or-color-text-subtle"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"text-disabled": {
|
|
95
|
+
"$value": "{color.paper.700}",
|
|
96
|
+
"$extensions": {
|
|
97
|
+
"orange.cssVar": "--or-color-text-disabled"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"text-inverse": {
|
|
101
|
+
"$value": "{color.paper.0}",
|
|
102
|
+
"$extensions": {
|
|
103
|
+
"orange.cssVar": "--or-color-text-inverse"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"text-on-accent": {
|
|
107
|
+
"$value": "{color.paper.0}",
|
|
108
|
+
"$extensions": {
|
|
109
|
+
"orange.cssVar": "--or-color-text-on-accent"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"border": {
|
|
113
|
+
"$value": "{color.paper.800}",
|
|
114
|
+
"$extensions": {
|
|
115
|
+
"orange.cssVar": "--or-color-border"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"border-subtle": {
|
|
119
|
+
"$value": "{color.paper.700}",
|
|
120
|
+
"$extensions": {
|
|
121
|
+
"orange.cssVar": "--or-color-border-subtle"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"border-strong": {
|
|
125
|
+
"$value": "{color.paper.900}",
|
|
126
|
+
"$extensions": {
|
|
127
|
+
"orange.cssVar": "--or-color-border-strong"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"border-control": {
|
|
131
|
+
"$value": "{color.paper.900}",
|
|
132
|
+
"$extensions": {
|
|
133
|
+
"orange.cssVar": "--or-color-border-control"
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"accent": {
|
|
137
|
+
"$value": "{color.orange.850}",
|
|
138
|
+
"$extensions": {
|
|
139
|
+
"orange.cssVar": "--or-color-accent"
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"accent-hover": {
|
|
143
|
+
"$value": "{color.orange.900}",
|
|
144
|
+
"$extensions": {
|
|
145
|
+
"orange.cssVar": "--or-color-accent-hover"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"accent-active": {
|
|
149
|
+
"$value": "{color.orange.900}",
|
|
150
|
+
"$extensions": {
|
|
151
|
+
"orange.cssVar": "--or-color-accent-active"
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"accent-subtle": {
|
|
155
|
+
"$value": {
|
|
156
|
+
"colorSpace": "srgb",
|
|
157
|
+
"components": [
|
|
158
|
+
0.5412,
|
|
159
|
+
0.2275,
|
|
160
|
+
0.0627
|
|
161
|
+
],
|
|
162
|
+
"hex": "#8a3a10",
|
|
163
|
+
"alpha": 0.08
|
|
164
|
+
},
|
|
165
|
+
"$extensions": {
|
|
166
|
+
"orange.cssVar": "--or-color-accent-subtle"
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"accent-text": {
|
|
170
|
+
"$value": "{color.orange.900}",
|
|
171
|
+
"$extensions": {
|
|
172
|
+
"orange.cssVar": "--or-color-accent-text"
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"accent-border": {
|
|
176
|
+
"$value": "{color.orange.850}",
|
|
177
|
+
"$extensions": {
|
|
178
|
+
"orange.cssVar": "--or-color-accent-border"
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
"neutral": {
|
|
182
|
+
"$value": "{color.paper.950}",
|
|
183
|
+
"$extensions": {
|
|
184
|
+
"orange.cssVar": "--or-color-neutral"
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"neutral-hover": {
|
|
188
|
+
"$value": "{color.paper.900}",
|
|
189
|
+
"$extensions": {
|
|
190
|
+
"orange.cssVar": "--or-color-neutral-hover"
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
"text-on-neutral": {
|
|
194
|
+
"$value": "{color.paper.0}",
|
|
195
|
+
"$extensions": {
|
|
196
|
+
"orange.cssVar": "--or-color-text-on-neutral"
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"success": {
|
|
200
|
+
"$value": "{color.green.900}",
|
|
201
|
+
"$extensions": {
|
|
202
|
+
"orange.cssVar": "--or-color-success"
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
"success-subtle": {
|
|
206
|
+
"$value": {
|
|
207
|
+
"colorSpace": "srgb",
|
|
208
|
+
"components": [
|
|
209
|
+
0.2392,
|
|
210
|
+
0.4,
|
|
211
|
+
0.0784
|
|
212
|
+
],
|
|
213
|
+
"hex": "#3d6614",
|
|
214
|
+
"alpha": 0.1
|
|
215
|
+
},
|
|
216
|
+
"$extensions": {
|
|
217
|
+
"orange.cssVar": "--or-color-success-subtle"
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"success-text": {
|
|
221
|
+
"$value": "{color.green.900}",
|
|
222
|
+
"$extensions": {
|
|
223
|
+
"orange.cssVar": "--or-color-success-text"
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
"warning": {
|
|
227
|
+
"$value": "{color.amber.900}",
|
|
228
|
+
"$extensions": {
|
|
229
|
+
"orange.cssVar": "--or-color-warning"
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
"warning-subtle": {
|
|
233
|
+
"$value": {
|
|
234
|
+
"colorSpace": "srgb",
|
|
235
|
+
"components": [
|
|
236
|
+
0.6471,
|
|
237
|
+
0.4863,
|
|
238
|
+
0.0627
|
|
239
|
+
],
|
|
240
|
+
"hex": "#a57c10",
|
|
241
|
+
"alpha": 0.14
|
|
242
|
+
},
|
|
243
|
+
"$extensions": {
|
|
244
|
+
"orange.cssVar": "--or-color-warning-subtle"
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
"warning-text": {
|
|
248
|
+
"$value": "{color.amber.900}",
|
|
249
|
+
"$extensions": {
|
|
250
|
+
"orange.cssVar": "--or-color-warning-text"
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"danger": {
|
|
254
|
+
"$value": "{color.red.800}",
|
|
255
|
+
"$extensions": {
|
|
256
|
+
"orange.cssVar": "--or-color-danger"
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
"danger-hover": {
|
|
260
|
+
"$value": "{color.red.900}",
|
|
261
|
+
"$extensions": {
|
|
262
|
+
"orange.cssVar": "--or-color-danger-hover"
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
"danger-subtle": {
|
|
266
|
+
"$value": {
|
|
267
|
+
"colorSpace": "srgb",
|
|
268
|
+
"components": [
|
|
269
|
+
0.5882,
|
|
270
|
+
0.1137,
|
|
271
|
+
0.0745
|
|
272
|
+
],
|
|
273
|
+
"hex": "#961d13",
|
|
274
|
+
"alpha": 0.08
|
|
275
|
+
},
|
|
276
|
+
"$extensions": {
|
|
277
|
+
"orange.cssVar": "--or-color-danger-subtle"
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
"danger-text": {
|
|
281
|
+
"$value": "{color.red.800}",
|
|
282
|
+
"$extensions": {
|
|
283
|
+
"orange.cssVar": "--or-color-danger-text"
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"text-on-danger": {
|
|
287
|
+
"$value": "{color.paper.0}",
|
|
288
|
+
"$extensions": {
|
|
289
|
+
"orange.cssVar": "--or-color-text-on-danger"
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"text-on-success": {
|
|
293
|
+
"$value": "{color.paper.0}",
|
|
294
|
+
"$extensions": {
|
|
295
|
+
"orange.cssVar": "--or-color-text-on-success"
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
"text-on-warning": {
|
|
299
|
+
"$value": "{color.paper.0}",
|
|
300
|
+
"$extensions": {
|
|
301
|
+
"orange.cssVar": "--or-color-text-on-warning"
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
"text-on-info": {
|
|
305
|
+
"$value": "{color.paper.0}",
|
|
306
|
+
"$extensions": {
|
|
307
|
+
"orange.cssVar": "--or-color-text-on-info"
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
"info": {
|
|
311
|
+
"$value": "{color.blue.700}",
|
|
312
|
+
"$extensions": {
|
|
313
|
+
"orange.cssVar": "--or-color-info"
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
"info-subtle": {
|
|
317
|
+
"$value": {
|
|
318
|
+
"colorSpace": "srgb",
|
|
319
|
+
"components": [
|
|
320
|
+
0.1647,
|
|
321
|
+
0.2667,
|
|
322
|
+
0.5804
|
|
323
|
+
],
|
|
324
|
+
"hex": "#2a4494",
|
|
325
|
+
"alpha": 0.08
|
|
326
|
+
},
|
|
327
|
+
"$extensions": {
|
|
328
|
+
"orange.cssVar": "--or-color-info-subtle"
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
"info-text": {
|
|
332
|
+
"$value": "{color.blue.700}",
|
|
333
|
+
"$extensions": {
|
|
334
|
+
"orange.cssVar": "--or-color-info-text"
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
"focus": {
|
|
338
|
+
"$value": "{color.orange.900}",
|
|
339
|
+
"$extensions": {
|
|
340
|
+
"orange.cssVar": "--or-color-focus"
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
"grid-line": {
|
|
344
|
+
"$value": {
|
|
345
|
+
"colorSpace": "srgb",
|
|
346
|
+
"components": [
|
|
347
|
+
0.0588,
|
|
348
|
+
0.0588,
|
|
349
|
+
0.0706
|
|
350
|
+
],
|
|
351
|
+
"hex": "#0f0f12",
|
|
352
|
+
"alpha": 0.08
|
|
353
|
+
},
|
|
354
|
+
"$extensions": {
|
|
355
|
+
"orange.cssVar": "--or-color-grid-line"
|
|
356
|
+
}
|
|
357
|
+
},
|
|
358
|
+
"code-bg": {
|
|
359
|
+
"$value": "{color.carbon.0}",
|
|
360
|
+
"$extensions": {
|
|
361
|
+
"orange.cssVar": "--or-color-code-bg"
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
"code-text": {
|
|
365
|
+
"$value": "{color.carbon.900}",
|
|
366
|
+
"$extensions": {
|
|
367
|
+
"orange.cssVar": "--or-color-code-text"
|
|
368
|
+
}
|
|
369
|
+
},
|
|
370
|
+
"selection": {
|
|
371
|
+
"$value": {
|
|
372
|
+
"colorSpace": "srgb",
|
|
373
|
+
"components": [
|
|
374
|
+
0.5412,
|
|
375
|
+
0.2275,
|
|
376
|
+
0.0627
|
|
377
|
+
],
|
|
378
|
+
"hex": "#8a3a10",
|
|
379
|
+
"alpha": 0.24
|
|
380
|
+
},
|
|
381
|
+
"$extensions": {
|
|
382
|
+
"orange.cssVar": "--or-color-selection"
|
|
383
|
+
}
|
|
384
|
+
},
|
|
385
|
+
"viz-1": {
|
|
386
|
+
"$value": "{color.green.700}",
|
|
387
|
+
"$extensions": {
|
|
388
|
+
"orange.cssVar": "--or-color-viz-1"
|
|
389
|
+
}
|
|
390
|
+
},
|
|
391
|
+
"viz-2": {
|
|
392
|
+
"$value": "{color.blue.500}",
|
|
393
|
+
"$extensions": {
|
|
394
|
+
"orange.cssVar": "--or-color-viz-2"
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
"viz-3": {
|
|
398
|
+
"$value": "{color.amber.700}",
|
|
399
|
+
"$extensions": {
|
|
400
|
+
"orange.cssVar": "--or-color-viz-3"
|
|
401
|
+
}
|
|
402
|
+
},
|
|
403
|
+
"viz-4": {
|
|
404
|
+
"$value": "{color.orange.900}",
|
|
405
|
+
"$extensions": {
|
|
406
|
+
"orange.cssVar": "--or-color-viz-4"
|
|
407
|
+
}
|
|
408
|
+
},
|
|
409
|
+
"viz-5": {
|
|
410
|
+
"$value": "{color.red.700}",
|
|
411
|
+
"$extensions": {
|
|
412
|
+
"orange.cssVar": "--or-color-viz-5"
|
|
413
|
+
}
|
|
414
|
+
},
|
|
415
|
+
"viz-other": {
|
|
416
|
+
"$value": "{color.paper.700}",
|
|
417
|
+
"$extensions": {
|
|
418
|
+
"orange.cssVar": "--or-color-viz-other"
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
"viz-seq-1": {
|
|
422
|
+
"$value": "{color.orange.300}",
|
|
423
|
+
"$extensions": {
|
|
424
|
+
"orange.cssVar": "--or-color-viz-seq-1"
|
|
425
|
+
}
|
|
426
|
+
},
|
|
427
|
+
"viz-seq-2": {
|
|
428
|
+
"$value": "{color.orange.500}",
|
|
429
|
+
"$extensions": {
|
|
430
|
+
"orange.cssVar": "--or-color-viz-seq-2"
|
|
431
|
+
}
|
|
432
|
+
},
|
|
433
|
+
"viz-seq-3": {
|
|
434
|
+
"$value": "{color.orange.550}",
|
|
435
|
+
"$extensions": {
|
|
436
|
+
"orange.cssVar": "--or-color-viz-seq-3"
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
"viz-seq-4": {
|
|
440
|
+
"$value": "{color.orange.700}",
|
|
441
|
+
"$extensions": {
|
|
442
|
+
"orange.cssVar": "--or-color-viz-seq-4"
|
|
443
|
+
}
|
|
444
|
+
},
|
|
445
|
+
"viz-seq-5": {
|
|
446
|
+
"$value": "{color.orange.800}",
|
|
447
|
+
"$extensions": {
|
|
448
|
+
"orange.cssVar": "--or-color-viz-seq-5"
|
|
449
|
+
}
|
|
450
|
+
},
|
|
451
|
+
"viz-seq-6": {
|
|
452
|
+
"$value": "{color.orange.850}",
|
|
453
|
+
"$extensions": {
|
|
454
|
+
"orange.cssVar": "--or-color-viz-seq-6"
|
|
455
|
+
}
|
|
456
|
+
},
|
|
457
|
+
"viz-seq-7": {
|
|
458
|
+
"$value": "{color.orange.900}",
|
|
459
|
+
"$extensions": {
|
|
460
|
+
"orange.cssVar": "--or-color-viz-seq-7"
|
|
461
|
+
}
|
|
462
|
+
},
|
|
463
|
+
"viz-div-1": {
|
|
464
|
+
"$value": "{color.blue.900}",
|
|
465
|
+
"$extensions": {
|
|
466
|
+
"orange.cssVar": "--or-color-viz-div-1"
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
"viz-div-2": {
|
|
470
|
+
"$value": "{color.blue.700}",
|
|
471
|
+
"$extensions": {
|
|
472
|
+
"orange.cssVar": "--or-color-viz-div-2"
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
"viz-div-3": {
|
|
476
|
+
"$value": "{color.blue.500}",
|
|
477
|
+
"$extensions": {
|
|
478
|
+
"orange.cssVar": "--or-color-viz-div-3"
|
|
479
|
+
}
|
|
480
|
+
},
|
|
481
|
+
"viz-div-4": {
|
|
482
|
+
"$value": "{color.paper.500}",
|
|
483
|
+
"$extensions": {
|
|
484
|
+
"orange.cssVar": "--or-color-viz-div-4"
|
|
485
|
+
}
|
|
486
|
+
},
|
|
487
|
+
"viz-div-5": {
|
|
488
|
+
"$value": "{color.orange.550}",
|
|
489
|
+
"$extensions": {
|
|
490
|
+
"orange.cssVar": "--or-color-viz-div-5"
|
|
491
|
+
}
|
|
492
|
+
},
|
|
493
|
+
"viz-div-6": {
|
|
494
|
+
"$value": "{color.orange.800}",
|
|
495
|
+
"$extensions": {
|
|
496
|
+
"orange.cssVar": "--or-color-viz-div-6"
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
"viz-div-7": {
|
|
500
|
+
"$value": "{color.orange.900}",
|
|
501
|
+
"$extensions": {
|
|
502
|
+
"orange.cssVar": "--or-color-viz-div-7"
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
}
|