@primer/primitives 7.11.14-rc.ca761aa → 7.11.14

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 (140) hide show
  1. package/package.json +2 -2
  2. package/tokens-next-private/css/functional/themes/dark-colorblind.css +38 -32
  3. package/tokens-next-private/css/functional/themes/dark-dimmed.css +38 -32
  4. package/tokens-next-private/css/functional/themes/dark-high-contrast.css +34 -28
  5. package/tokens-next-private/css/functional/themes/dark-tritanopia.css +38 -32
  6. package/tokens-next-private/css/functional/themes/dark.css +38 -32
  7. package/tokens-next-private/css/functional/themes/light-colorblind.css +12 -6
  8. package/tokens-next-private/css/functional/themes/light-high-contrast.css +26 -20
  9. package/tokens-next-private/css/functional/themes/light-tritanopia.css +12 -6
  10. package/tokens-next-private/css/functional/themes/light.css +12 -6
  11. package/tokens-next-private/docs/functional/themes/dark-colorblind.json +61 -22
  12. package/tokens-next-private/docs/functional/themes/dark-dimmed.json +61 -22
  13. package/tokens-next-private/docs/functional/themes/dark-high-contrast.json +59 -20
  14. package/tokens-next-private/docs/functional/themes/dark-tritanopia.json +61 -22
  15. package/tokens-next-private/docs/functional/themes/dark.json +61 -22
  16. package/tokens-next-private/docs/functional/themes/light-colorblind.json +45 -6
  17. package/tokens-next-private/docs/functional/themes/light-high-contrast.json +54 -15
  18. package/tokens-next-private/docs/functional/themes/light-tritanopia.json +45 -6
  19. package/tokens-next-private/docs/functional/themes/light.json +45 -6
  20. package/tokens-next-private/fallbacks/color-fallbacks.json +6 -6
  21. package/tokens-next-private/scss/functional/themes/dark-colorblind.scss +19 -16
  22. package/tokens-next-private/scss/functional/themes/dark-dimmed.scss +19 -16
  23. package/tokens-next-private/scss/functional/themes/dark-high-contrast.scss +17 -14
  24. package/tokens-next-private/scss/functional/themes/dark-tritanopia.scss +19 -16
  25. package/tokens-next-private/scss/functional/themes/dark.scss +19 -16
  26. package/tokens-next-private/scss/functional/themes/light-colorblind.scss +6 -3
  27. package/tokens-next-private/scss/functional/themes/light-high-contrast.scss +13 -10
  28. package/tokens-next-private/scss/functional/themes/light-tritanopia.scss +6 -3
  29. package/tokens-next-private/scss/functional/themes/light.scss +6 -3
  30. package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
  31. package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
  32. package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
  33. package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
  34. package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
  35. package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
  36. package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
  37. package/tokens-v2-private/css/tokens/functional/typography/typography.css +1 -1
  38. package/tokens-v2-private/js/module/tokens/base/size/size.js +1 -1
  39. package/tokens-v2-private/js/module/tokens/base/typography/typography.js +1 -1
  40. package/tokens-v2-private/js/module/tokens/functional/size/border.js +1 -1
  41. package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +1 -1
  42. package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +1 -1
  43. package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +1 -1
  44. package/tokens-v2-private/js/module/tokens/functional/size/size.js +1 -1
  45. package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +1 -1
  46. package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +1 -1
  47. package/tokens-v2-private/js/tokens/base/size/size.js +1 -1
  48. package/tokens-v2-private/js/tokens/base/typography/typography.js +1 -1
  49. package/tokens-v2-private/js/tokens/functional/size/border.js +1 -1
  50. package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +1 -1
  51. package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +1 -1
  52. package/tokens-v2-private/js/tokens/functional/size/size-fine.js +1 -1
  53. package/tokens-v2-private/js/tokens/functional/size/size.js +1 -1
  54. package/tokens-v2-private/js/tokens/functional/size/viewport.js +1 -1
  55. package/tokens-v2-private/js/tokens/functional/typography/typography.js +1 -1
  56. package/tokens-v2-private/scss/tokens/base/size/size.scss +1 -1
  57. package/tokens-v2-private/scss/tokens/base/typography/typography.scss +1 -1
  58. package/tokens-v2-private/scss/tokens/functional/size/border.scss +1 -1
  59. package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +1 -1
  60. package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +1 -1
  61. package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +1 -1
  62. package/tokens-v2-private/scss/tokens/functional/size/size.scss +1 -1
  63. package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +1 -1
  64. package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +1 -1
  65. package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
  66. package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
  67. package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
  68. package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
  69. package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
  70. package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
  71. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  72. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
  73. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  74. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
  75. package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
  76. package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
  77. package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
  78. package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
  79. package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
  80. package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
  81. package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
  82. package/tokens-v2-private/ts/tokens/functional/typography/typography.js +1 -1
  83. package/tokens-next-private/js/base/size/size.js +0 -23
  84. package/tokens-next-private/js/base/typography/typography.js +0 -12
  85. package/tokens-next-private/js/functional/size/border.js +0 -24
  86. package/tokens-next-private/js/functional/size/breakpoints.js +0 -10
  87. package/tokens-next-private/js/functional/size/size-coarse.js +0 -19
  88. package/tokens-next-private/js/functional/size/size-fine.js +0 -19
  89. package/tokens-next-private/js/functional/size/size.js +0 -93
  90. package/tokens-next-private/js/functional/size/viewport.js +0 -10
  91. package/tokens-next-private/js/functional/themes/dark-colorblind.js +0 -745
  92. package/tokens-next-private/js/functional/themes/dark-dimmed.js +0 -745
  93. package/tokens-next-private/js/functional/themes/dark-high-contrast.js +0 -745
  94. package/tokens-next-private/js/functional/themes/dark-tritanopia.js +0 -745
  95. package/tokens-next-private/js/functional/themes/dark.js +0 -745
  96. package/tokens-next-private/js/functional/themes/light-colorblind.js +0 -743
  97. package/tokens-next-private/js/functional/themes/light-high-contrast.js +0 -743
  98. package/tokens-next-private/js/functional/themes/light-tritanopia.js +0 -743
  99. package/tokens-next-private/js/functional/themes/light.js +0 -743
  100. package/tokens-next-private/js/functional/typography/typography.js +0 -79
  101. package/tokens-next-private/json/base/size/size.json +0 -23
  102. package/tokens-next-private/json/base/typography/typography.json +0 -12
  103. package/tokens-next-private/json/functional/size/border.json +0 -24
  104. package/tokens-next-private/json/functional/size/breakpoints.json +0 -10
  105. package/tokens-next-private/json/functional/size/size-coarse.json +0 -19
  106. package/tokens-next-private/json/functional/size/size-fine.json +0 -19
  107. package/tokens-next-private/json/functional/size/size.json +0 -93
  108. package/tokens-next-private/json/functional/size/viewport.json +0 -10
  109. package/tokens-next-private/json/functional/themes/dark-colorblind.json +0 -745
  110. package/tokens-next-private/json/functional/themes/dark-dimmed.json +0 -745
  111. package/tokens-next-private/json/functional/themes/dark-high-contrast.json +0 -745
  112. package/tokens-next-private/json/functional/themes/dark-tritanopia.json +0 -745
  113. package/tokens-next-private/json/functional/themes/dark.json +0 -745
  114. package/tokens-next-private/json/functional/themes/light-colorblind.json +0 -743
  115. package/tokens-next-private/json/functional/themes/light-high-contrast.json +0 -743
  116. package/tokens-next-private/json/functional/themes/light-tritanopia.json +0 -743
  117. package/tokens-next-private/json/functional/themes/light.json +0 -743
  118. package/tokens-next-private/json/functional/typography/typography.json +0 -79
  119. package/tokens-next-private/ts/base/size/size.ts +0 -23
  120. package/tokens-next-private/ts/base/typography/typography.ts +0 -12
  121. package/tokens-next-private/ts/functional/size/border.ts +0 -24
  122. package/tokens-next-private/ts/functional/size/breakpoints.ts +0 -10
  123. package/tokens-next-private/ts/functional/size/size-coarse.ts +0 -19
  124. package/tokens-next-private/ts/functional/size/size-fine.ts +0 -19
  125. package/tokens-next-private/ts/functional/size/size.ts +0 -93
  126. package/tokens-next-private/ts/functional/size/viewport.ts +0 -10
  127. package/tokens-next-private/ts/functional/themes/dark-colorblind.ts +0 -745
  128. package/tokens-next-private/ts/functional/themes/dark-dimmed.ts +0 -745
  129. package/tokens-next-private/ts/functional/themes/dark-high-contrast.ts +0 -745
  130. package/tokens-next-private/ts/functional/themes/dark-tritanopia.ts +0 -745
  131. package/tokens-next-private/ts/functional/themes/dark.ts +0 -745
  132. package/tokens-next-private/ts/functional/themes/light-colorblind.ts +0 -743
  133. package/tokens-next-private/ts/functional/themes/light-high-contrast.ts +0 -743
  134. package/tokens-next-private/ts/functional/themes/light-tritanopia.ts +0 -743
  135. package/tokens-next-private/ts/functional/themes/light.ts +0 -743
  136. package/tokens-next-private/ts/functional/typography/typography.ts +0 -79
  137. package/tokens-next-private/ts/types/BaseColorDesignTokens.d.ts +0 -127
  138. package/tokens-next-private/ts/types/SizeDesignTokens.d.ts +0 -144
  139. package/tokens-next-private/ts/types/ThemeDesignTokens.d.ts +0 -652
  140. package/tokens-next-private/ts/types/TypographyDesignTokens.d.ts +0 -94
@@ -1,652 +0,0 @@
1
- /**
2
- * Do not edit directly
3
- * Generated on Fri, 07 Jul 2023 11:32:57 GMT
4
- */
5
-
6
- /**
7
- * @description hex string (6 or 8-digit)
8
- */
9
- type ColorHex = string;
10
-
11
- /**
12
- * @description a css shadow
13
- * @format inset? | offset-x | offset-y | blur-radius? | spread-radius? | color?
14
- */
15
- type Shadow = string;
16
-
17
- /**
18
- * @description a css border string
19
- * @format color | style | width
20
- */
21
- type Border = `${ColorHex} ${string} ${string}`;
22
-
23
- export type ThemeDesignTokens = {
24
- topicTag: {
25
- borderColor: ColorHex;
26
- };
27
- highlight: {
28
- neutral: {
29
- bgColor: ColorHex;
30
- };
31
- };
32
- page: {
33
- header: {
34
- bgColor: ColorHex;
35
- };
36
- };
37
- diffBlob: {
38
- addition: {
39
- fgColor: {
40
- text: ColorHex;
41
- num: ColorHex;
42
- };
43
- bgColor: {
44
- num: ColorHex;
45
- line: ColorHex;
46
- word: ColorHex;
47
- };
48
- };
49
- deletion: {
50
- fgColor: {
51
- text: ColorHex;
52
- num: ColorHex;
53
- };
54
- bgColor: {
55
- num: ColorHex;
56
- line: ColorHex;
57
- word: ColorHex;
58
- };
59
- };
60
- hunk: {
61
- bgColor: {
62
- num: ColorHex;
63
- };
64
- };
65
- expander: {
66
- iconColor: ColorHex;
67
- };
68
- };
69
- diffStat: {
70
- addition: {
71
- bgColor: ColorHex;
72
- };
73
- };
74
- codeMirror: {
75
- fgColor: ColorHex;
76
- bgColor: ColorHex;
77
- gutters: {
78
- bgColor: ColorHex;
79
- };
80
- gutterMarker: {
81
- fgColor: {
82
- default: ColorHex;
83
- muted: ColorHex;
84
- };
85
- };
86
- lineNumber: {
87
- fgColor: ColorHex;
88
- };
89
- cursor: {
90
- fgColor: ColorHex;
91
- };
92
- selection: {
93
- bgColor: ColorHex;
94
- };
95
- activeline: {
96
- bgColor: ColorHex;
97
- };
98
- matchingBracket: {
99
- fgColor: ColorHex;
100
- };
101
- lines: {
102
- bgColor: ColorHex;
103
- };
104
- syntax: {
105
- fgColor: {
106
- comment: ColorHex;
107
- constant: ColorHex;
108
- entity: ColorHex;
109
- keyword: ColorHex;
110
- storage: ColorHex;
111
- string: ColorHex;
112
- support: ColorHex;
113
- variable: ColorHex;
114
- };
115
- };
116
- };
117
- header: {
118
- fgColor: {
119
- default: ColorHex;
120
- logo: ColorHex;
121
- };
122
- bgColor: ColorHex;
123
- borderColor: {
124
- divider: ColorHex;
125
- };
126
- };
127
- headerSearch: {
128
- bgColor: ColorHex;
129
- borderColor: ColorHex;
130
- };
131
- avatar: {
132
- bgColor: ColorHex;
133
- borderColor: ColorHex;
134
- shadow: Shadow;
135
- };
136
- avatarStack: {
137
- fade: {
138
- bgColor: {
139
- default: ColorHex;
140
- muted: ColorHex;
141
- };
142
- };
143
- };
144
- control: {
145
- bgColor: {
146
- rest: ColorHex;
147
- hover: ColorHex;
148
- active: ColorHex;
149
- disabled: ColorHex;
150
- selected: ColorHex;
151
- };
152
- fgColor: {
153
- rest: ColorHex;
154
- placeholder: ColorHex;
155
- disabled: ColorHex;
156
- };
157
- borderColor: {
158
- rest: ColorHex;
159
- emphasis: ColorHex;
160
- disabled: ColorHex;
161
- selected: ColorHex;
162
- success: ColorHex;
163
- danger: ColorHex;
164
- warning: ColorHex;
165
- };
166
- iconColor: {
167
- rest: ColorHex;
168
- };
169
- transparent: {
170
- bgColor: {
171
- rest: ColorHex;
172
- hover: ColorHex;
173
- active: ColorHex;
174
- disabled: ColorHex;
175
- selected: ColorHex;
176
- };
177
- borderColor: {
178
- rest: ColorHex;
179
- hover: ColorHex;
180
- active: ColorHex;
181
- };
182
- };
183
- danger: {
184
- fgColor: {
185
- rest: ColorHex;
186
- hover: ColorHex;
187
- };
188
- bgColor: {
189
- hover: ColorHex;
190
- active: ColorHex;
191
- };
192
- };
193
- checked: {
194
- bgColor: {
195
- rest: ColorHex;
196
- hover: ColorHex;
197
- active: ColorHex;
198
- disabled: ColorHex;
199
- };
200
- fgColor: {
201
- rest: ColorHex;
202
- disabled: ColorHex;
203
- };
204
- borderColor: {
205
- rest: ColorHex;
206
- hover: ColorHex;
207
- active: ColorHex;
208
- disabled: ColorHex;
209
- };
210
- };
211
- };
212
- controlTrack: {
213
- bgColor: {
214
- rest: ColorHex;
215
- hover: ColorHex;
216
- active: ColorHex;
217
- disabled: ColorHex;
218
- };
219
- fgColor: {
220
- rest: ColorHex;
221
- disabled: ColorHex;
222
- };
223
- borderColor: {
224
- rest: ColorHex;
225
- disabled: ColorHex;
226
- };
227
- };
228
- controlKnob: {
229
- bgColor: {
230
- rest: ColorHex;
231
- disabled: ColorHex;
232
- checked: ColorHex;
233
- };
234
- borderColor: {
235
- rest: ColorHex;
236
- disabled: ColorHex;
237
- checked: ColorHex;
238
- };
239
- };
240
- counter: {
241
- borderColor: ColorHex;
242
- };
243
- button: {
244
- default: {
245
- fgColor: {
246
- rest: ColorHex;
247
- };
248
- bgColor: {
249
- rest: ColorHex;
250
- hover: ColorHex;
251
- active: ColorHex;
252
- selected: ColorHex;
253
- };
254
- borderColor: {
255
- rest: ColorHex;
256
- hover: ColorHex;
257
- active: ColorHex;
258
- };
259
- shadow: {
260
- resting: Shadow;
261
- inset: Shadow;
262
- };
263
- };
264
- primary: {
265
- fgColor: {
266
- rest: ColorHex;
267
- disabled: ColorHex;
268
- };
269
- iconColor: {
270
- rest: ColorHex;
271
- };
272
- bgColor: {
273
- rest: ColorHex;
274
- hover: ColorHex;
275
- active: ColorHex;
276
- disabled: ColorHex;
277
- };
278
- borderColor: {
279
- rest: ColorHex;
280
- hover: ColorHex;
281
- disabled: ColorHex;
282
- };
283
- shadow: {
284
- selected: Shadow;
285
- };
286
- };
287
- invisible: {
288
- fgColor: {
289
- rest: ColorHex;
290
- hover: ColorHex;
291
- disabled: ColorHex;
292
- };
293
- bgColor: {
294
- rest: ColorHex;
295
- hover: ColorHex;
296
- active: ColorHex;
297
- disabled: ColorHex;
298
- };
299
- borderColor: {
300
- rest: ColorHex;
301
- hover: ColorHex;
302
- };
303
- };
304
- outline: {
305
- fgColor: {
306
- rest: ColorHex;
307
- hover: ColorHex;
308
- active: ColorHex;
309
- disabled: ColorHex;
310
- };
311
- bgColor: {
312
- rest: ColorHex;
313
- hover: ColorHex;
314
- active: ColorHex;
315
- disabled: ColorHex;
316
- };
317
- borderColor: {
318
- hover: ColorHex;
319
- active: ColorHex;
320
- };
321
- shadow: {
322
- selected: Shadow;
323
- };
324
- };
325
- danger: {
326
- fgColor: {
327
- rest: ColorHex;
328
- hover: ColorHex;
329
- active: ColorHex;
330
- disabled: ColorHex;
331
- };
332
- iconColor: {
333
- rest: ColorHex;
334
- hover: ColorHex;
335
- };
336
- bgColor: {
337
- rest: ColorHex;
338
- hover: ColorHex;
339
- active: ColorHex;
340
- disabled: ColorHex;
341
- };
342
- borderColor: {
343
- rest: ColorHex;
344
- hover: ColorHex;
345
- active: ColorHex;
346
- };
347
- shadow: {
348
- selected: Shadow;
349
- };
350
- };
351
- };
352
- buttonCounter: {
353
- default: {
354
- bgColor: {
355
- rest: ColorHex;
356
- };
357
- };
358
- invisible: {
359
- bgColor: {
360
- rest: ColorHex;
361
- };
362
- };
363
- primary: {
364
- bgColor: {
365
- rest: ColorHex;
366
- };
367
- };
368
- outline: {
369
- bgColor: {
370
- rest: ColorHex;
371
- hover: ColorHex;
372
- disabled: ColorHex;
373
- };
374
- fgColor: {
375
- rest: ColorHex;
376
- hover: ColorHex;
377
- disabled: ColorHex;
378
- };
379
- };
380
- danger: {
381
- bgColor: {
382
- hover: ColorHex;
383
- disabled: ColorHex;
384
- rest: ColorHex;
385
- };
386
- fgColor: {
387
- rest: ColorHex;
388
- hover: ColorHex;
389
- disabled: ColorHex;
390
- };
391
- };
392
- };
393
- focus: {
394
- outlineColor: ColorHex;
395
- outline: Border;
396
- };
397
- menu: {
398
- bgColor: {
399
- active: ColorHex;
400
- };
401
- };
402
- overlay: {
403
- bgColor: ColorHex;
404
- backdrop: {
405
- bgColor: ColorHex;
406
- };
407
- };
408
- selectMenu: {
409
- borderColor: ColorHex;
410
- bgColor: {
411
- active: ColorHex;
412
- };
413
- };
414
- sideNav: {
415
- bgColor: {
416
- selected: ColorHex;
417
- };
418
- };
419
- timelineBadge: {
420
- bgColor: ColorHex;
421
- };
422
- treeViewItem: {
423
- leadingVisual: {
424
- bgColor: {
425
- rest: ColorHex;
426
- };
427
- };
428
- };
429
- underlineNav: {
430
- borderColor: {
431
- active: ColorHex;
432
- hover: ColorHex;
433
- };
434
- iconColor: {
435
- rest: ColorHex;
436
- };
437
- };
438
- fgColor: {
439
- default: ColorHex;
440
- muted: ColorHex;
441
- onEmphasis: ColorHex;
442
- disabled: ColorHex;
443
- link: {
444
- rest: ColorHex;
445
- };
446
- accent: ColorHex;
447
- success: ColorHex;
448
- attention: ColorHex;
449
- severe: ColorHex;
450
- danger: ColorHex;
451
- open: ColorHex;
452
- closed: ColorHex;
453
- done: ColorHex;
454
- sponsors: ColorHex;
455
- };
456
- bgColor: {
457
- default: ColorHex;
458
- muted: ColorHex;
459
- emphasis: ColorHex;
460
- disabled: ColorHex;
461
- transparent: ColorHex;
462
- neutral: {
463
- muted: ColorHex;
464
- emphasis: ColorHex;
465
- };
466
- accent: {
467
- muted: ColorHex;
468
- emphasis: ColorHex;
469
- };
470
- success: {
471
- muted: ColorHex;
472
- emphasis: ColorHex;
473
- };
474
- attention: {
475
- muted: ColorHex;
476
- emphasis: ColorHex;
477
- };
478
- severe: {
479
- muted: ColorHex;
480
- emphasis: ColorHex;
481
- };
482
- danger: {
483
- muted: ColorHex;
484
- emphasis: ColorHex;
485
- };
486
- open: {
487
- muted: ColorHex;
488
- emphasis: ColorHex;
489
- };
490
- closed: {
491
- muted: ColorHex;
492
- emphasis: ColorHex;
493
- };
494
- done: {
495
- muted: ColorHex;
496
- emphasis: ColorHex;
497
- };
498
- sponsors: {
499
- muted: ColorHex;
500
- emphasis: ColorHex;
501
- };
502
- };
503
- borderColor: {
504
- default: ColorHex;
505
- muted: ColorHex;
506
- emphasis: ColorHex;
507
- disabled: ColorHex;
508
- transparent: ColorHex;
509
- neutral: {
510
- muted: ColorHex;
511
- emphasis: ColorHex;
512
- };
513
- accent: {
514
- muted: ColorHex;
515
- emphasis: ColorHex;
516
- };
517
- success: {
518
- muted: ColorHex;
519
- emphasis: ColorHex;
520
- };
521
- attention: {
522
- muted: ColorHex;
523
- emphasis: ColorHex;
524
- };
525
- severe: {
526
- muted: ColorHex;
527
- emphasis: ColorHex;
528
- };
529
- danger: {
530
- muted: ColorHex;
531
- emphasis: ColorHex;
532
- };
533
- open: {
534
- muted: ColorHex;
535
- emphasis: ColorHex;
536
- };
537
- closed: {
538
- muted: ColorHex;
539
- emphasis: ColorHex;
540
- };
541
- done: {
542
- muted: ColorHex;
543
- emphasis: ColorHex;
544
- };
545
- sponsors: {
546
- muted: ColorHex;
547
- emphasis: ColorHex;
548
- };
549
- };
550
- color: {
551
- ansi: {
552
- black: ColorHex;
553
- "black-bright": ColorHex;
554
- white: ColorHex;
555
- "white-bright": ColorHex;
556
- gray: ColorHex;
557
- red: ColorHex;
558
- "red-bright": ColorHex;
559
- green: ColorHex;
560
- "green-bright": ColorHex;
561
- yellow: ColorHex;
562
- "yellow-bright": ColorHex;
563
- blue: ColorHex;
564
- "blue-bright": ColorHex;
565
- magenta: ColorHex;
566
- "magenta-bright": ColorHex;
567
- cyan: ColorHex;
568
- "cyan-bright": ColorHex;
569
- };
570
- prettylights: {
571
- syntax: {
572
- comment: ColorHex;
573
- constant: ColorHex;
574
- "constant-other-reference-link": ColorHex;
575
- entity: ColorHex;
576
- storage: {
577
- modifier: {
578
- import: ColorHex;
579
- };
580
- };
581
- "entity-tag": ColorHex;
582
- keyword: ColorHex;
583
- string: ColorHex;
584
- variable: ColorHex;
585
- brackethighlighter: {
586
- unmatched: ColorHex;
587
- angle: ColorHex;
588
- };
589
- invalid: {
590
- illegal: {
591
- text: ColorHex;
592
- bg: ColorHex;
593
- };
594
- };
595
- carriage: {
596
- return: {
597
- text: ColorHex;
598
- bg: ColorHex;
599
- };
600
- };
601
- "string-regexp": ColorHex;
602
- markup: {
603
- list: ColorHex;
604
- heading: ColorHex;
605
- italic: ColorHex;
606
- bold: ColorHex;
607
- deleted: {
608
- text: ColorHex;
609
- bg: ColorHex;
610
- };
611
- inserted: {
612
- text: ColorHex;
613
- bg: ColorHex;
614
- };
615
- changed: {
616
- text: ColorHex;
617
- bg: ColorHex;
618
- };
619
- ignored: {
620
- text: ColorHex;
621
- bg: ColorHex;
622
- };
623
- };
624
- meta: {
625
- diff: {
626
- range: ColorHex;
627
- };
628
- };
629
- sublimelinter: {
630
- gutter: {
631
- mark: ColorHex;
632
- };
633
- };
634
- };
635
- };
636
- };
637
- shadow: {
638
- inset: Shadow;
639
- highlight: Shadow;
640
- resting: {
641
- xsmall: Shadow;
642
- small: Shadow;
643
- medium: Shadow;
644
- };
645
- floating: {
646
- small: Shadow;
647
- medium: Shadow;
648
- large: Shadow;
649
- xlarge: Shadow;
650
- };
651
- };
652
- };
@@ -1,94 +0,0 @@
1
- /**
2
- * Do not edit directly
3
- * Generated on Fri, 07 Jul 2023 11:32:57 GMT
4
- */
5
-
6
- /**
7
- * @description size in rem
8
- */
9
- type SizeRem = `${number}rem`;
10
-
11
- /**
12
- * @description size in em
13
- */
14
- type SizeEm = `${number}em`;
15
-
16
- export type TypographyDesignTokens = {
17
- fontStack: {
18
- system: string;
19
- sansSerif: string;
20
- monospace: string;
21
- };
22
- text: {
23
- display: {
24
- lineBoxHeight: SizeRem;
25
- size: SizeRem;
26
- lineHeight: string;
27
- weight: number;
28
- shorthand: string;
29
- };
30
- title: {
31
- size: {
32
- large: SizeRem;
33
- medium: SizeRem;
34
- small: SizeRem;
35
- };
36
- lineHeight: {
37
- large: string;
38
- medium: string;
39
- small: string;
40
- };
41
- weight: {
42
- large: number;
43
- medium: number;
44
- small: number;
45
- };
46
- shorthand: {
47
- large: string;
48
- medium: string;
49
- small: string;
50
- };
51
- };
52
- subtitle: {
53
- size: SizeRem;
54
- lineHeight: string;
55
- weight: number;
56
- shorthand: string;
57
- };
58
- body: {
59
- size: {
60
- large: SizeRem;
61
- medium: SizeRem;
62
- small: SizeRem;
63
- };
64
- lineHeight: {
65
- large: string;
66
- medium: string;
67
- small: string;
68
- };
69
- weight: number;
70
- shorthand: {
71
- large: string;
72
- medium: string;
73
- small: string;
74
- };
75
- };
76
- caption: {
77
- size: SizeRem;
78
- lineHeight: string;
79
- weight: number;
80
- shorthand: string;
81
- };
82
- codeBlock: {
83
- size: SizeRem;
84
- lineHeight: string;
85
- weight: number;
86
- shorthand: string;
87
- };
88
- codeInline: {
89
- size: SizeEm;
90
- weight: number;
91
- shorthand: string;
92
- };
93
- };
94
- };