@whatsaaaa/design-system 0.0.0-stage → 0.1.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.
Files changed (169) hide show
  1. package/LICENSE +51 -0
  2. package/README.md +150 -2
  3. package/assets/building-blocks/apple-touch-icon.png +0 -0
  4. package/assets/building-blocks/favicon-16.png +0 -0
  5. package/assets/building-blocks/favicon-32.png +0 -0
  6. package/assets/building-blocks/favicon.ico +0 -0
  7. package/assets/building-blocks/favicon.svg +1 -0
  8. package/assets/building-blocks/icon-192.png +0 -0
  9. package/assets/building-blocks/icon-512.png +0 -0
  10. package/assets/building-blocks/lockup-dark.svg +1 -0
  11. package/assets/building-blocks/lockup-light.svg +1 -0
  12. package/assets/building-blocks/mark-mono.svg +1 -0
  13. package/assets/building-blocks/mark-on-dark.svg +1 -0
  14. package/assets/building-blocks/mark-on-light.svg +1 -0
  15. package/assets/building-blocks/mark.svg +1 -0
  16. package/assets/building-blocks/readme-header.png +0 -0
  17. package/assets/building-blocks/readme-header.svg +1 -0
  18. package/assets/building-blocks/social-card.png +0 -0
  19. package/assets/building-blocks/social-card.svg +1 -0
  20. package/assets/building-blocks/wordmark-dark.svg +1 -0
  21. package/assets/building-blocks/wordmark-light.svg +1 -0
  22. package/assets/dotfiles/apple-touch-icon.png +0 -0
  23. package/assets/dotfiles/favicon-16.png +0 -0
  24. package/assets/dotfiles/favicon-32.png +0 -0
  25. package/assets/dotfiles/favicon.ico +0 -0
  26. package/assets/dotfiles/favicon.svg +1 -0
  27. package/assets/dotfiles/icon-192.png +0 -0
  28. package/assets/dotfiles/icon-512.png +0 -0
  29. package/assets/dotfiles/lockup-dark.svg +1 -0
  30. package/assets/dotfiles/lockup-light.svg +1 -0
  31. package/assets/dotfiles/mark-mono.svg +1 -0
  32. package/assets/dotfiles/mark-on-dark.svg +1 -0
  33. package/assets/dotfiles/mark-on-light.svg +1 -0
  34. package/assets/dotfiles/mark.svg +1 -0
  35. package/assets/dotfiles/readme-header.png +0 -0
  36. package/assets/dotfiles/readme-header.svg +1 -0
  37. package/assets/dotfiles/social-card.png +0 -0
  38. package/assets/dotfiles/social-card.svg +1 -0
  39. package/assets/dotfiles/wordmark-dark.svg +1 -0
  40. package/assets/dotfiles/wordmark-light.svg +1 -0
  41. package/assets/form-builder/apple-touch-icon.png +0 -0
  42. package/assets/form-builder/favicon-16.png +0 -0
  43. package/assets/form-builder/favicon-32.png +0 -0
  44. package/assets/form-builder/favicon.ico +0 -0
  45. package/assets/form-builder/favicon.svg +1 -0
  46. package/assets/form-builder/icon-192.png +0 -0
  47. package/assets/form-builder/icon-512.png +0 -0
  48. package/assets/form-builder/lockup-dark.svg +1 -0
  49. package/assets/form-builder/lockup-light.svg +1 -0
  50. package/assets/form-builder/mark-mono.svg +1 -0
  51. package/assets/form-builder/mark-on-dark.svg +1 -0
  52. package/assets/form-builder/mark-on-light.svg +1 -0
  53. package/assets/form-builder/mark.svg +1 -0
  54. package/assets/form-builder/readme-header.png +0 -0
  55. package/assets/form-builder/readme-header.svg +1 -0
  56. package/assets/form-builder/social-card.png +0 -0
  57. package/assets/form-builder/social-card.svg +1 -0
  58. package/assets/form-builder/wordmark-dark.svg +1 -0
  59. package/assets/form-builder/wordmark-light.svg +1 -0
  60. package/assets/manifest.json +541 -0
  61. package/assets/whatsaaaa/apple-touch-icon.png +0 -0
  62. package/assets/whatsaaaa/favicon-16.png +0 -0
  63. package/assets/whatsaaaa/favicon-32.png +0 -0
  64. package/assets/whatsaaaa/favicon.ico +0 -0
  65. package/assets/whatsaaaa/favicon.svg +1 -0
  66. package/assets/whatsaaaa/icon-192.png +0 -0
  67. package/assets/whatsaaaa/icon-512.png +0 -0
  68. package/assets/whatsaaaa/lockup-dark.svg +1 -0
  69. package/assets/whatsaaaa/lockup-light.svg +1 -0
  70. package/assets/whatsaaaa/mark-mono.svg +1 -0
  71. package/assets/whatsaaaa/mark-on-dark.svg +1 -0
  72. package/assets/whatsaaaa/mark-on-light.svg +1 -0
  73. package/assets/whatsaaaa/mark.svg +1 -0
  74. package/assets/whatsaaaa/pose-blink-dark.svg +1 -0
  75. package/assets/whatsaaaa/pose-blink-light.svg +1 -0
  76. package/assets/whatsaaaa/pose-idle-dark.svg +1 -0
  77. package/assets/whatsaaaa/pose-idle-light.svg +1 -0
  78. package/assets/whatsaaaa/pose-lost-dark.svg +1 -0
  79. package/assets/whatsaaaa/pose-lost-light.svg +1 -0
  80. package/assets/whatsaaaa/pose-shout-dark.svg +1 -0
  81. package/assets/whatsaaaa/pose-shout-light.svg +1 -0
  82. package/assets/whatsaaaa/pose-wag-left-dark.svg +1 -0
  83. package/assets/whatsaaaa/pose-wag-left-light.svg +1 -0
  84. package/assets/whatsaaaa/pose-wag-right-dark.svg +1 -0
  85. package/assets/whatsaaaa/pose-wag-right-light.svg +1 -0
  86. package/assets/whatsaaaa/readme-header.png +0 -0
  87. package/assets/whatsaaaa/readme-header.svg +1 -0
  88. package/assets/whatsaaaa/social-card.png +0 -0
  89. package/assets/whatsaaaa/social-card.svg +1 -0
  90. package/assets/whatsaaaa/wordmark-dark.svg +1 -0
  91. package/assets/whatsaaaa/wordmark-light.svg +1 -0
  92. package/dist/color.d.ts +5 -0
  93. package/dist/color.js +7 -0
  94. package/dist/css/base.css +50 -0
  95. package/dist/css/callout.css +64 -0
  96. package/dist/css/code.css +50 -0
  97. package/dist/css/ghost.css +93 -0
  98. package/dist/css/icons.css +8 -0
  99. package/dist/css/prose.css +320 -0
  100. package/dist/css/terminal.css +424 -0
  101. package/dist/fonts/inter-latin-ext-wght-italic.woff2 +0 -0
  102. package/dist/fonts/inter-latin-ext-wght-normal.woff2 +0 -0
  103. package/dist/fonts/inter-latin-wght-italic.woff2 +0 -0
  104. package/dist/fonts/inter-latin-wght-normal.woff2 +0 -0
  105. package/dist/fonts/inter.OFL.txt +93 -0
  106. package/dist/fonts/jetbrains-mono-latin-ext-wght-italic.woff2 +0 -0
  107. package/dist/fonts/jetbrains-mono-latin-ext-wght-normal.woff2 +0 -0
  108. package/dist/fonts/jetbrains-mono-latin-wght-italic.woff2 +0 -0
  109. package/dist/fonts/jetbrains-mono-latin-wght-normal.woff2 +0 -0
  110. package/dist/fonts/jetbrains-mono.OFL.txt +93 -0
  111. package/dist/fonts.css +85 -0
  112. package/dist/ghost/bubble.d.ts +16 -0
  113. package/dist/ghost/bubble.js +50 -0
  114. package/dist/ghost/glyphs.d.ts +12 -0
  115. package/dist/ghost/glyphs.js +19 -0
  116. package/dist/ghost/index.d.ts +57 -0
  117. package/dist/ghost/index.js +227 -0
  118. package/dist/identity/ghost.d.ts +28 -0
  119. package/dist/identity/ghost.js +129 -0
  120. package/dist/identity/marks.d.ts +48 -0
  121. package/dist/identity/marks.js +52 -0
  122. package/dist/identity/sprite.d.ts +43 -0
  123. package/dist/identity/sprite.js +100 -0
  124. package/dist/index.css +1404 -0
  125. package/dist/shiki/index.d.ts +20 -0
  126. package/dist/shiki/index.js +64 -0
  127. package/dist/shortcuts/index.d.ts +62 -0
  128. package/dist/shortcuts/index.js +169 -0
  129. package/dist/shortcuts/init.js +2 -0
  130. package/dist/theme/index.d.ts +24 -0
  131. package/dist/theme/index.js +60 -0
  132. package/dist/theme/init.js +2 -0
  133. package/dist/tokens.css +537 -0
  134. package/dist/tokens.d.ts +194 -0
  135. package/dist/tokens.js +336 -0
  136. package/dist/vitepress-config/index.d.ts +16 -0
  137. package/dist/vitepress-config/index.js +36 -0
  138. package/dist/vitepress-config/markdown.d.ts +6 -0
  139. package/dist/vitepress-config/markdown.js +50 -0
  140. package/dist/vitepress-config/types.d.ts +16 -0
  141. package/dist/vitepress-config/types.js +1 -0
  142. package/docs/usage.md +226 -0
  143. package/licenses/README.md +10 -0
  144. package/licenses/departure-mono.OFL.txt +93 -0
  145. package/licenses/rose-pine-palette.LICENSE +21 -0
  146. package/package.json +162 -3
  147. package/src/vitepress/Layout.vue +77 -0
  148. package/src/vitepress/components/Crumb.vue +32 -0
  149. package/src/vitepress/components/NavGhost.vue +23 -0
  150. package/src/vitepress/components/NotFound.vue +22 -0
  151. package/src/vitepress/components/StatusLine.vue +128 -0
  152. package/src/vitepress/env.d.ts +2 -0
  153. package/src/vitepress/index.ts +34 -0
  154. package/src/vitepress/path.ts +19 -0
  155. package/src/vitepress/styles/doc.css +385 -0
  156. package/src/vitepress/styles/home.css +47 -0
  157. package/src/vitepress/styles/layout.css +97 -0
  158. package/src/vitepress/styles/nav.css +441 -0
  159. package/src/vitepress/styles/search.css +55 -0
  160. package/src/vitepress/styles/sidebar.css +173 -0
  161. package/src/vitepress/styles/vars.css +204 -0
  162. package/src/vitepress/support.ts +15 -0
  163. package/src/vitepress/theme.d.ts +8 -0
  164. package/tokens/contrast.json +271 -0
  165. package/tokens/core.tokens.json +743 -0
  166. package/tokens/palette.tokens.json +222 -0
  167. package/tokens/theme-dark.tokens.json +146 -0
  168. package/tokens/theme-light.tokens.json +146 -0
  169. package/tokens/whatsaaaa.resolver.json +43 -0
@@ -0,0 +1,743 @@
1
+ {
2
+ "font": {
3
+ "family": {
4
+ "$type": "fontFamily",
5
+ "mono": {
6
+ "$value": [
7
+ "JetBrains Mono",
8
+ "ui-monospace",
9
+ "SFMono-Regular",
10
+ "Menlo",
11
+ "Consolas",
12
+ "monospace"
13
+ ],
14
+ "$description": "The voice: headings, labels, navigation and code."
15
+ },
16
+ "sans": {
17
+ "$value": ["Inter", "system-ui", "-apple-system", "Segoe UI", "sans-serif"],
18
+ "$description": "Long-form text and form values."
19
+ }
20
+ },
21
+ "size": {
22
+ "11": {
23
+ "$value": {
24
+ "value": 0.6875,
25
+ "unit": "rem"
26
+ }
27
+ },
28
+ "12": {
29
+ "$value": {
30
+ "value": 0.75,
31
+ "unit": "rem"
32
+ }
33
+ },
34
+ "13": {
35
+ "$value": {
36
+ "value": 0.8125,
37
+ "unit": "rem"
38
+ }
39
+ },
40
+ "14": {
41
+ "$value": {
42
+ "value": 0.875,
43
+ "unit": "rem"
44
+ }
45
+ },
46
+ "15": {
47
+ "$value": {
48
+ "value": 0.9375,
49
+ "unit": "rem"
50
+ }
51
+ },
52
+ "16": {
53
+ "$value": {
54
+ "value": 1,
55
+ "unit": "rem"
56
+ }
57
+ },
58
+ "17": {
59
+ "$value": {
60
+ "value": 1.0625,
61
+ "unit": "rem"
62
+ }
63
+ },
64
+ "18": {
65
+ "$value": {
66
+ "value": 1.125,
67
+ "unit": "rem"
68
+ }
69
+ },
70
+ "20": {
71
+ "$value": {
72
+ "value": 1.25,
73
+ "unit": "rem"
74
+ }
75
+ },
76
+ "22": {
77
+ "$value": {
78
+ "value": 1.375,
79
+ "unit": "rem"
80
+ }
81
+ },
82
+ "32": {
83
+ "$value": {
84
+ "value": 2,
85
+ "unit": "rem"
86
+ }
87
+ },
88
+ "40": {
89
+ "$value": {
90
+ "value": 2.5,
91
+ "unit": "rem"
92
+ }
93
+ },
94
+ "64": {
95
+ "$value": {
96
+ "value": 4,
97
+ "unit": "rem"
98
+ }
99
+ },
100
+ "$type": "dimension",
101
+ "$description": "Named by the size in px at the default root size."
102
+ },
103
+ "weight": {
104
+ "$type": "fontWeight",
105
+ "regular": {
106
+ "$value": 400
107
+ },
108
+ "medium": {
109
+ "$value": 500
110
+ },
111
+ "semibold": {
112
+ "$value": 600
113
+ },
114
+ "bold": {
115
+ "$value": 700
116
+ },
117
+ "extrabold": {
118
+ "$value": 800
119
+ }
120
+ },
121
+ "line-height": {
122
+ "$type": "number",
123
+ "none": {
124
+ "$value": 1
125
+ },
126
+ "tight": {
127
+ "$value": 1.1
128
+ },
129
+ "snug": {
130
+ "$value": 1.3
131
+ },
132
+ "normal": {
133
+ "$value": 1.5
134
+ },
135
+ "relaxed": {
136
+ "$value": 1.65
137
+ },
138
+ "loose": {
139
+ "$value": 1.75
140
+ }
141
+ }
142
+ },
143
+ "text": {
144
+ "$type": "typography",
145
+ "$description": "Text styles. Each one emits a font shorthand and one variable per property.",
146
+ "display": {
147
+ "$description": "The handle on a home page.",
148
+ "$value": {
149
+ "fontFamily": "{font.family.mono}",
150
+ "fontSize": {
151
+ "value": 4,
152
+ "unit": "rem"
153
+ },
154
+ "fontWeight": 800,
155
+ "lineHeight": 1,
156
+ "letterSpacing": {
157
+ "value": -0.12,
158
+ "unit": "rem"
159
+ }
160
+ }
161
+ },
162
+ "display-compact": {
163
+ "$description": "The display style on phones.",
164
+ "$value": {
165
+ "fontFamily": "{font.family.mono}",
166
+ "fontSize": {
167
+ "value": 2.5,
168
+ "unit": "rem"
169
+ },
170
+ "fontWeight": 800,
171
+ "lineHeight": 1,
172
+ "letterSpacing": {
173
+ "value": -0.075,
174
+ "unit": "rem"
175
+ }
176
+ }
177
+ },
178
+ "h1": {
179
+ "$description": "Page title.",
180
+ "$value": {
181
+ "fontFamily": "{font.family.mono}",
182
+ "fontSize": {
183
+ "value": 2.5,
184
+ "unit": "rem"
185
+ },
186
+ "fontWeight": 800,
187
+ "lineHeight": 1.1,
188
+ "letterSpacing": {
189
+ "value": -0.075,
190
+ "unit": "rem"
191
+ }
192
+ }
193
+ },
194
+ "h1-compact": {
195
+ "$description": "Page title on phones.",
196
+ "$value": {
197
+ "fontFamily": "{font.family.mono}",
198
+ "fontSize": {
199
+ "value": 2,
200
+ "unit": "rem"
201
+ },
202
+ "fontWeight": 800,
203
+ "lineHeight": 1.1,
204
+ "letterSpacing": {
205
+ "value": -0.06,
206
+ "unit": "rem"
207
+ }
208
+ }
209
+ },
210
+ "h2": {
211
+ "$description": "Section heading.",
212
+ "$value": {
213
+ "fontFamily": "{font.family.mono}",
214
+ "fontSize": {
215
+ "value": 1.375,
216
+ "unit": "rem"
217
+ },
218
+ "fontWeight": 700,
219
+ "lineHeight": 1.3,
220
+ "letterSpacing": {
221
+ "value": -0.0275,
222
+ "unit": "rem"
223
+ }
224
+ }
225
+ },
226
+ "h2-compact": {
227
+ "$description": "Section heading on phones.",
228
+ "$value": {
229
+ "fontFamily": "{font.family.mono}",
230
+ "fontSize": {
231
+ "value": 1.25,
232
+ "unit": "rem"
233
+ },
234
+ "fontWeight": 700,
235
+ "lineHeight": 1.3,
236
+ "letterSpacing": {
237
+ "value": -0.025,
238
+ "unit": "rem"
239
+ }
240
+ }
241
+ },
242
+ "h3": {
243
+ "$description": "Subsection heading.",
244
+ "$value": {
245
+ "fontFamily": "{font.family.mono}",
246
+ "fontSize": {
247
+ "value": 1.125,
248
+ "unit": "rem"
249
+ },
250
+ "fontWeight": 700,
251
+ "lineHeight": 1.4,
252
+ "letterSpacing": {
253
+ "value": -0.01125,
254
+ "unit": "rem"
255
+ }
256
+ }
257
+ },
258
+ "h4": {
259
+ "$description": "Minor heading and entry titles.",
260
+ "$value": {
261
+ "fontFamily": "{font.family.mono}",
262
+ "fontSize": {
263
+ "value": 1,
264
+ "unit": "rem"
265
+ },
266
+ "fontWeight": 700,
267
+ "lineHeight": 1.5,
268
+ "letterSpacing": {
269
+ "value": 0,
270
+ "unit": "rem"
271
+ }
272
+ }
273
+ },
274
+ "lead": {
275
+ "$description": "The first paragraph of a page.",
276
+ "$value": {
277
+ "fontFamily": "{font.family.sans}",
278
+ "fontSize": {
279
+ "value": 1.0625,
280
+ "unit": "rem"
281
+ },
282
+ "fontWeight": 400,
283
+ "lineHeight": 1.75,
284
+ "letterSpacing": {
285
+ "value": 0,
286
+ "unit": "rem"
287
+ }
288
+ }
289
+ },
290
+ "body": {
291
+ "$description": "Long-form text.",
292
+ "$value": {
293
+ "fontFamily": "{font.family.sans}",
294
+ "fontSize": {
295
+ "value": 1,
296
+ "unit": "rem"
297
+ },
298
+ "fontWeight": 400,
299
+ "lineHeight": 1.75,
300
+ "letterSpacing": {
301
+ "value": 0,
302
+ "unit": "rem"
303
+ }
304
+ }
305
+ },
306
+ "body-sm": {
307
+ "$description": "Descriptions and table cells.",
308
+ "$value": {
309
+ "fontFamily": "{font.family.sans}",
310
+ "fontSize": {
311
+ "value": 0.9375,
312
+ "unit": "rem"
313
+ },
314
+ "fontWeight": 400,
315
+ "lineHeight": 1.6,
316
+ "letterSpacing": {
317
+ "value": 0,
318
+ "unit": "rem"
319
+ }
320
+ }
321
+ },
322
+ "label": {
323
+ "$description": "Tabs, prompts and buttons.",
324
+ "$value": {
325
+ "fontFamily": "{font.family.mono}",
326
+ "fontSize": {
327
+ "value": 0.875,
328
+ "unit": "rem"
329
+ },
330
+ "fontWeight": 400,
331
+ "lineHeight": 1.5,
332
+ "letterSpacing": {
333
+ "value": 0,
334
+ "unit": "rem"
335
+ }
336
+ }
337
+ },
338
+ "label-sm": {
339
+ "$description": "Side navigation and tags.",
340
+ "$value": {
341
+ "fontFamily": "{font.family.mono}",
342
+ "fontSize": {
343
+ "value": 0.8125,
344
+ "unit": "rem"
345
+ },
346
+ "fontWeight": 400,
347
+ "lineHeight": 1.5,
348
+ "letterSpacing": {
349
+ "value": 0,
350
+ "unit": "rem"
351
+ }
352
+ }
353
+ },
354
+ "caption": {
355
+ "$description": "Status line, captions and breadcrumbs.",
356
+ "$value": {
357
+ "fontFamily": "{font.family.mono}",
358
+ "fontSize": {
359
+ "value": 0.75,
360
+ "unit": "rem"
361
+ },
362
+ "fontWeight": 400,
363
+ "lineHeight": 1.5,
364
+ "letterSpacing": {
365
+ "value": 0,
366
+ "unit": "rem"
367
+ }
368
+ }
369
+ },
370
+ "overline": {
371
+ "$description": "Group headings and table heads. Set in uppercase.",
372
+ "$value": {
373
+ "fontFamily": "{font.family.mono}",
374
+ "fontSize": {
375
+ "value": 0.6875,
376
+ "unit": "rem"
377
+ },
378
+ "fontWeight": 700,
379
+ "lineHeight": 1.5,
380
+ "letterSpacing": {
381
+ "value": 0.06875,
382
+ "unit": "rem"
383
+ }
384
+ }
385
+ },
386
+ "code": {
387
+ "$description": "Code blocks.",
388
+ "$value": {
389
+ "fontFamily": "{font.family.mono}",
390
+ "fontSize": {
391
+ "value": 0.8125,
392
+ "unit": "rem"
393
+ },
394
+ "fontWeight": 400,
395
+ "lineHeight": 1.7,
396
+ "letterSpacing": {
397
+ "value": 0,
398
+ "unit": "rem"
399
+ }
400
+ }
401
+ }
402
+ },
403
+ "space": {
404
+ "2": {
405
+ "$value": {
406
+ "value": 0.125,
407
+ "unit": "rem"
408
+ }
409
+ },
410
+ "4": {
411
+ "$value": {
412
+ "value": 0.25,
413
+ "unit": "rem"
414
+ }
415
+ },
416
+ "6": {
417
+ "$value": {
418
+ "value": 0.375,
419
+ "unit": "rem"
420
+ }
421
+ },
422
+ "8": {
423
+ "$value": {
424
+ "value": 0.5,
425
+ "unit": "rem"
426
+ }
427
+ },
428
+ "10": {
429
+ "$value": {
430
+ "value": 0.625,
431
+ "unit": "rem"
432
+ }
433
+ },
434
+ "12": {
435
+ "$value": {
436
+ "value": 0.75,
437
+ "unit": "rem"
438
+ }
439
+ },
440
+ "14": {
441
+ "$value": {
442
+ "value": 0.875,
443
+ "unit": "rem"
444
+ }
445
+ },
446
+ "16": {
447
+ "$value": {
448
+ "value": 1,
449
+ "unit": "rem"
450
+ }
451
+ },
452
+ "20": {
453
+ "$value": {
454
+ "value": 1.25,
455
+ "unit": "rem"
456
+ }
457
+ },
458
+ "24": {
459
+ "$value": {
460
+ "value": 1.5,
461
+ "unit": "rem"
462
+ }
463
+ },
464
+ "32": {
465
+ "$value": {
466
+ "value": 2,
467
+ "unit": "rem"
468
+ }
469
+ },
470
+ "40": {
471
+ "$value": {
472
+ "value": 2.5,
473
+ "unit": "rem"
474
+ }
475
+ },
476
+ "48": {
477
+ "$value": {
478
+ "value": 3,
479
+ "unit": "rem"
480
+ }
481
+ },
482
+ "56": {
483
+ "$value": {
484
+ "value": 3.5,
485
+ "unit": "rem"
486
+ }
487
+ },
488
+ "64": {
489
+ "$value": {
490
+ "value": 4,
491
+ "unit": "rem"
492
+ }
493
+ },
494
+ "$type": "dimension",
495
+ "$description": "Spacing on a 2 px grid, named by the size in px at the default root size."
496
+ },
497
+ "radius": {
498
+ "$type": "dimension",
499
+ "xs": {
500
+ "$value": {
501
+ "value": 3,
502
+ "unit": "px"
503
+ },
504
+ "$description": "Key caps."
505
+ },
506
+ "sm": {
507
+ "$value": {
508
+ "value": 4,
509
+ "unit": "px"
510
+ },
511
+ "$description": "Inline code, tags and the focus ring."
512
+ },
513
+ "md": {
514
+ "$value": {
515
+ "value": 6,
516
+ "unit": "px"
517
+ },
518
+ "$description": "Inputs and buttons."
519
+ },
520
+ "lg": {
521
+ "$value": {
522
+ "value": 8,
523
+ "unit": "px"
524
+ },
525
+ "$description": "Code blocks, callouts, tables and cards."
526
+ },
527
+ "xl": {
528
+ "$value": {
529
+ "value": 12,
530
+ "unit": "px"
531
+ },
532
+ "$description": "The terminal frame."
533
+ },
534
+ "full": {
535
+ "$value": {
536
+ "value": 9999,
537
+ "unit": "px"
538
+ },
539
+ "$description": "Dots and pills."
540
+ }
541
+ },
542
+ "border-width": {
543
+ "$type": "dimension",
544
+ "thin": {
545
+ "$value": {
546
+ "value": 1,
547
+ "unit": "px"
548
+ },
549
+ "$description": "Dividers and outlines."
550
+ },
551
+ "medium": {
552
+ "$value": {
553
+ "value": 2,
554
+ "unit": "px"
555
+ },
556
+ "$description": "Active markers and the focus ring."
557
+ },
558
+ "thick": {
559
+ "$value": {
560
+ "value": 3,
561
+ "unit": "px"
562
+ },
563
+ "$description": "The bar of a callout."
564
+ }
565
+ },
566
+ "size": {
567
+ "$type": "dimension",
568
+ "frame": {
569
+ "$value": {
570
+ "value": 90,
571
+ "unit": "rem"
572
+ },
573
+ "$description": "Widest a page frame gets."
574
+ },
575
+ "content": {
576
+ "$value": {
577
+ "value": 50,
578
+ "unit": "rem"
579
+ },
580
+ "$description": "Widest a column of long-form text gets, padding included."
581
+ },
582
+ "sidebar": {
583
+ "$value": {
584
+ "value": 17,
585
+ "unit": "rem"
586
+ },
587
+ "$description": "Side navigation."
588
+ },
589
+ "outline": {
590
+ "$value": {
591
+ "value": 15,
592
+ "unit": "rem"
593
+ },
594
+ "$description": "Page outline."
595
+ },
596
+ "tab-bar": {
597
+ "$value": {
598
+ "value": 3,
599
+ "unit": "rem"
600
+ },
601
+ "$description": "Height of the tab bar."
602
+ },
603
+ "status-line": {
604
+ "$value": {
605
+ "value": 2,
606
+ "unit": "rem"
607
+ },
608
+ "$description": "Height of the status line."
609
+ }
610
+ },
611
+ "motion": {
612
+ "duration": {
613
+ "$type": "duration",
614
+ "fast": {
615
+ "$value": {
616
+ "value": 120,
617
+ "unit": "ms"
618
+ },
619
+ "$description": "Hover and focus changes."
620
+ },
621
+ "base": {
622
+ "$value": {
623
+ "value": 160,
624
+ "unit": "ms"
625
+ },
626
+ "$description": "Small things appearing, such as the speech bubble."
627
+ },
628
+ "slow": {
629
+ "$value": {
630
+ "value": 240,
631
+ "unit": "ms"
632
+ },
633
+ "$description": "Panels and drawers."
634
+ }
635
+ },
636
+ "easing": {
637
+ "$type": "cubicBezier",
638
+ "standard": {
639
+ "$value": [0.2, 0, 0, 1],
640
+ "$description": "Most movement."
641
+ },
642
+ "in": {
643
+ "$value": [0.4, 0, 1, 1],
644
+ "$description": "Leaving the screen."
645
+ },
646
+ "out": {
647
+ "$value": [0, 0, 0.2, 1],
648
+ "$description": "Entering the screen."
649
+ }
650
+ }
651
+ },
652
+ "mark": {
653
+ "$type": "color",
654
+ "$description": "The mark on its tile, the same in both themes so a favicon reads on any tab strip.",
655
+ "tile": {
656
+ "$value": "{palette.main.overlay}"
657
+ },
658
+ "body": {
659
+ "$value": "{palette.main.text}"
660
+ },
661
+ "tongue": {
662
+ "$value": "{palette.main.love}",
663
+ "$description": "The love element of the ghost and of every project sprite."
664
+ }
665
+ },
666
+ "code": {
667
+ "$type": "color",
668
+ "$description": "Code blocks stay on the dark palette in both themes: on dawn no syntax color except pine reaches AA.",
669
+ "bg": {
670
+ "$value": "{palette.main.surface}"
671
+ },
672
+ "header-bg": {
673
+ "$value": "{palette.main.base}"
674
+ },
675
+ "border": {
676
+ "$value": "{palette.main.highlight-med}"
677
+ },
678
+ "text": {
679
+ "$value": "{palette.main.text}"
680
+ },
681
+ "text-secondary": {
682
+ "$value": "{palette.main.subtle}",
683
+ "$description": "File name, language and line numbers."
684
+ },
685
+ "line-highlight": {
686
+ "$value": {
687
+ "colorSpace": "srgb",
688
+ "components": [0.251, 0.2392, 0.3216],
689
+ "alpha": 0.5,
690
+ "hex": "#403d52"
691
+ },
692
+ "$description": "A highlighted line."
693
+ },
694
+ "line-added": {
695
+ "$value": {
696
+ "colorSpace": "srgb",
697
+ "components": [0.6118, 0.8118, 0.8471],
698
+ "alpha": 0.14,
699
+ "hex": "#9ccfd8"
700
+ },
701
+ "$description": "An added line in a diff."
702
+ },
703
+ "line-removed": {
704
+ "$value": {
705
+ "colorSpace": "srgb",
706
+ "components": [0.9216, 0.4353, 0.5725],
707
+ "alpha": 0.14,
708
+ "hex": "#eb6f92"
709
+ },
710
+ "$description": "A removed line in a diff."
711
+ },
712
+ "selection": {
713
+ "$value": "{palette.main.highlight-high}"
714
+ }
715
+ },
716
+ "syntax": {
717
+ "$type": "color",
718
+ "$description": "Syntax colors on the code background. All reach AA on it.",
719
+ "keyword": {
720
+ "$value": "{palette.main.love}"
721
+ },
722
+ "string": {
723
+ "$value": "{palette.main.gold}"
724
+ },
725
+ "function": {
726
+ "$value": "{palette.main.rose}"
727
+ },
728
+ "type": {
729
+ "$value": "{palette.main.foam}",
730
+ "$description": "Types, tags and object keys."
731
+ },
732
+ "constant": {
733
+ "$value": "{palette.main.iris}",
734
+ "$description": "Numbers and constants."
735
+ },
736
+ "comment": {
737
+ "$value": "{palette.main.subtle}"
738
+ },
739
+ "punctuation": {
740
+ "$value": "{palette.main.subtle}"
741
+ }
742
+ }
743
+ }