@atom63/styles 0.1.0-beta.0 → 0.1.0-beta.10

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 (118) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +33 -36
  3. package/generated/atom63.figma-sync.json +23201 -0
  4. package/generated/atom63.tokens.json +19649 -8416
  5. package/generated/z-layers.d.ts +33 -0
  6. package/generated/z-layers.js +31 -0
  7. package/package.json +35 -21
  8. package/src/compat/a63-from-shadcn.css +275 -0
  9. package/src/compat/shadcn.browser.test.ts +23 -0
  10. package/src/compat/shadcn.css +133 -17
  11. package/src/contracts/action.css +4 -3
  12. package/src/contracts/action.native.css +11 -0
  13. package/src/contracts/action.tokens.json +66 -0
  14. package/src/contracts/badge.css +128 -58
  15. package/src/contracts/badge.resolver.json +454 -0
  16. package/src/contracts/choice.css +5 -2
  17. package/src/contracts/choice.native.css +9 -0
  18. package/src/contracts/choice.tokens.json +66 -0
  19. package/src/contracts/control.css +54 -57
  20. package/src/contracts/control.native.css +13 -0
  21. package/src/contracts/control.tokens.json +294 -0
  22. package/src/contracts/environment.css +178 -60
  23. package/src/contracts/environment.native.css +23 -0
  24. package/src/contracts/environment.resolver.json +1210 -0
  25. package/src/contracts/field.css +4 -2
  26. package/src/contracts/field.tokens.json +40 -0
  27. package/src/contracts/marker.css +6 -4
  28. package/src/contracts/marker.tokens.json +15 -0
  29. package/src/contracts/menu.css +25 -61
  30. package/src/contracts/menu.native.css +10 -0
  31. package/src/contracts/menu.resolver.json +122 -0
  32. package/src/contracts/overlay.css +11 -13
  33. package/src/contracts/overlay.native.css +13 -0
  34. package/src/contracts/overlay.tokens.json +103 -0
  35. package/src/contracts/segment.css +22 -68
  36. package/src/contracts/segment.tokens.json +19 -0
  37. package/src/contracts/selection.css +5 -1
  38. package/src/contracts/selection.tokens.json +42 -0
  39. package/src/contracts/skeleton.css +18 -2
  40. package/src/contracts/skeleton.resolver.json +62 -0
  41. package/src/contracts/surface.css +17 -24
  42. package/src/contracts/surface.native.css +17 -0
  43. package/src/contracts/surface.tokens.json +154 -0
  44. package/src/contracts/toggle.css +27 -3
  45. package/src/contracts/toggle.resolver.json +129 -0
  46. package/src/contracts/track.css +3 -1
  47. package/src/contracts/track.tokens.json +39 -0
  48. package/src/contracts/trigger.css +5 -2
  49. package/src/contracts/trigger.native.css +9 -0
  50. package/src/contracts/trigger.tokens.json +58 -0
  51. package/src/contracts/widget.css +76 -51
  52. package/src/contracts/widget.native.css +23 -0
  53. package/src/contracts/widget.resolver.json +1110 -0
  54. package/src/tailwind/roles.json +189 -0
  55. package/src/tailwind/theme.css +216 -24
  56. package/src/tailwind/utilities.css +17 -0
  57. package/src/themes/aqua.css +126 -89
  58. package/src/themes/aqua.native.css +80 -0
  59. package/src/themes/aqua.resolver.json +1304 -0
  60. package/src/themes/modern.css +10 -14
  61. package/src/themes/modern.native.css +16 -0
  62. package/src/themes/modern.resolver.json +350 -0
  63. package/src/themes/retro.css +22 -26
  64. package/src/themes/retro.native.css +16 -0
  65. package/src/themes/retro.resolver.json +794 -0
  66. package/src/themes/terminal.css +151 -41
  67. package/src/themes/terminal.native.css +22 -0
  68. package/src/themes/terminal.resolver.json +585 -0
  69. package/src/tokens/brand-action.css +65 -0
  70. package/src/tokens/brand-action.resolver.json +155 -0
  71. package/src/tokens/brand-ramp.css +108 -0
  72. package/src/tokens/brand-ramp.resolver.json +418 -0
  73. package/src/tokens/brand.css +6 -146
  74. package/src/tokens/color-mix-space.browser.test.ts +101 -0
  75. package/src/tokens/contrast.browser.test.ts +257 -5
  76. package/src/tokens/density.browser.test.ts +167 -0
  77. package/src/tokens/figma-parity.browser.test.ts +270 -0
  78. package/src/tokens/font.css +13 -0
  79. package/src/tokens/font.resolver.json +128 -0
  80. package/src/tokens/form-factor.browser.test.ts +129 -0
  81. package/src/tokens/foundation/effects.css +13 -13
  82. package/src/tokens/foundation/effects.resolver.json +433 -0
  83. package/src/tokens/foundation/fonts.css +11 -5
  84. package/src/tokens/foundation/fonts.tokens.json +45 -0
  85. package/src/tokens/foundation/motion.css +3 -0
  86. package/src/tokens/foundation/motion.tokens.json +53 -0
  87. package/src/tokens/foundation/palette.css +3 -0
  88. package/src/tokens/foundation/palette.tokens.json +1743 -0
  89. package/src/tokens/foundation/primitives.css +20 -43
  90. package/src/tokens/foundation/primitives.tokens.json +3258 -0
  91. package/src/tokens/foundation/radius.css +11 -9
  92. package/src/tokens/foundation/radius.tokens.json +108 -0
  93. package/src/tokens/foundation/typography.css +49 -12
  94. package/src/tokens/foundation/typography.native.css +21 -0
  95. package/src/tokens/foundation/typography.resolver.json +1008 -0
  96. package/src/tokens/foundation.css +0 -1
  97. package/src/tokens/index.css +1 -0
  98. package/src/tokens/motion.css +3 -1
  99. package/src/tokens/motion.resolver.json +135 -0
  100. package/src/tokens/native-values.json +38 -0
  101. package/src/tokens/personalization-axes.browser.test.ts +20 -4
  102. package/src/tokens/plate-scope.browser.test.ts +73 -0
  103. package/src/tokens/radius.css +12 -8
  104. package/src/tokens/radius.resolver.json +138 -0
  105. package/src/tokens/semantics.css +656 -39
  106. package/src/tokens/semantics.resolver.json +1606 -0
  107. package/src/tokens/space.css +8 -6
  108. package/src/tokens/space.tokens.json +78 -0
  109. package/src/tokens/surface.css +13 -19
  110. package/src/tokens/surface.resolver.json +706 -0
  111. package/src/tokens/swift-parity.browser.test.ts +141 -0
  112. package/src/tokens/type-roles.css +88 -0
  113. package/src/tokens/type-roles.resolver.json +419 -0
  114. package/src/tokens/type-scale.css +6 -0
  115. package/src/tokens/type-scale.resolver.json +67 -0
  116. package/generated/atom63.figma-tokens.json +0 -21650
  117. package/src/tokens/foundation/aliases.css +0 -28
  118. package/src/z-layers.ts +0 -40
@@ -0,0 +1,794 @@
1
+ {
2
+ "version": "2025.10",
3
+ "description": "Retro theme — early-web / Windows-98 chrome: thick beveled edges and hard\noffset shadows.\n\nValue-overrides only. Bevel stacks are theme-private under this selector.\nBoxier radius and chunky borders complete the physical look.",
4
+ "sets": {
5
+ "01-data-a63-theme-retro": {
6
+ "sources": [
7
+ {
8
+ "retro": {
9
+ "bevel": {
10
+ "drop": {
11
+ "$root": {
12
+ "$type": "shadow",
13
+ "$value": [
14
+ {
15
+ "color": {
16
+ "colorSpace": "srgb",
17
+ "components": [0, 0, 0],
18
+ "alpha": 0.3
19
+ },
20
+ "offsetX": {
21
+ "value": 2,
22
+ "unit": "px"
23
+ },
24
+ "offsetY": {
25
+ "value": 2,
26
+ "unit": "px"
27
+ },
28
+ "blur": {
29
+ "value": 0,
30
+ "unit": "px"
31
+ },
32
+ "spread": {
33
+ "value": 0,
34
+ "unit": "px"
35
+ }
36
+ }
37
+ ],
38
+ "$extensions": {
39
+ "io.atom63.derive": "2px 2px 0 color-mix(in oklch, black 30%, transparent)"
40
+ },
41
+ "$description": "Theme-private helpers reused across contract knobs."
42
+ },
43
+ "md": {
44
+ "$type": "shadow",
45
+ "$value": [
46
+ {
47
+ "color": {
48
+ "colorSpace": "srgb",
49
+ "components": [0, 0, 0],
50
+ "alpha": 0.3
51
+ },
52
+ "offsetX": {
53
+ "value": 3,
54
+ "unit": "px"
55
+ },
56
+ "offsetY": {
57
+ "value": 3,
58
+ "unit": "px"
59
+ },
60
+ "blur": {
61
+ "value": 0,
62
+ "unit": "px"
63
+ },
64
+ "spread": {
65
+ "value": 0,
66
+ "unit": "px"
67
+ }
68
+ }
69
+ ],
70
+ "$extensions": {
71
+ "io.atom63.derive": "3px 3px 0 color-mix(in oklch, black 30%, transparent)"
72
+ }
73
+ },
74
+ "lg": {
75
+ "$type": "shadow",
76
+ "$value": [
77
+ {
78
+ "color": {
79
+ "colorSpace": "srgb",
80
+ "components": [0, 0, 0],
81
+ "alpha": 0.34
82
+ },
83
+ "offsetX": {
84
+ "value": 4,
85
+ "unit": "px"
86
+ },
87
+ "offsetY": {
88
+ "value": 4,
89
+ "unit": "px"
90
+ },
91
+ "blur": {
92
+ "value": 0,
93
+ "unit": "px"
94
+ },
95
+ "spread": {
96
+ "value": 0,
97
+ "unit": "px"
98
+ }
99
+ }
100
+ ],
101
+ "$extensions": {
102
+ "io.atom63.derive": "4px 4px 0 color-mix(in oklch, black 34%, transparent)"
103
+ }
104
+ },
105
+ "soft": {
106
+ "$type": "shadow",
107
+ "$value": [
108
+ {
109
+ "color": {
110
+ "colorSpace": "srgb",
111
+ "components": [0, 0, 0],
112
+ "alpha": 0.16
113
+ },
114
+ "offsetX": {
115
+ "value": 2,
116
+ "unit": "px"
117
+ },
118
+ "offsetY": {
119
+ "value": 2,
120
+ "unit": "px"
121
+ },
122
+ "blur": {
123
+ "value": 0,
124
+ "unit": "px"
125
+ },
126
+ "spread": {
127
+ "value": 0,
128
+ "unit": "px"
129
+ }
130
+ }
131
+ ],
132
+ "$extensions": {
133
+ "io.atom63.derive": "2px 2px 0 color-mix(in oklch, black 16%, transparent)"
134
+ }
135
+ }
136
+ }
137
+ }
138
+ },
139
+ "a63": {
140
+ "control": {
141
+ "radius": {
142
+ "$type": "dimension",
143
+ "$value": "{radius.sm}"
144
+ },
145
+ "border": {
146
+ "width": {
147
+ "$type": "dimension",
148
+ "$value": {
149
+ "value": 2,
150
+ "unit": "px"
151
+ }
152
+ }
153
+ },
154
+ "focus": {
155
+ "ring": {
156
+ "width": {
157
+ "$type": "dimension",
158
+ "$value": {
159
+ "value": 2,
160
+ "unit": "px"
161
+ }
162
+ }
163
+ }
164
+ },
165
+ "shadow": {
166
+ "$root": {
167
+ "$type": "shadow",
168
+ "$value": "{retro.bevel.drop}",
169
+ "$extensions": {
170
+ "io.atom63.derive": "inset 2px 2px 0 color-mix(in oklch, white 55%, transparent), inset -2px -2px 0 color-mix(in oklch, black 28%, transparent), {retro.bevel.drop}"
171
+ }
172
+ },
173
+ "active": {
174
+ "$type": "shadow",
175
+ "$value": [
176
+ {
177
+ "color": {
178
+ "colorSpace": "srgb",
179
+ "components": [0, 0, 0],
180
+ "alpha": 0.3
181
+ },
182
+ "offsetX": {
183
+ "value": 2,
184
+ "unit": "px"
185
+ },
186
+ "offsetY": {
187
+ "value": 2,
188
+ "unit": "px"
189
+ },
190
+ "blur": {
191
+ "value": 0,
192
+ "unit": "px"
193
+ },
194
+ "spread": {
195
+ "value": 0,
196
+ "unit": "px"
197
+ },
198
+ "inset": true
199
+ },
200
+ {
201
+ "color": {
202
+ "colorSpace": "srgb",
203
+ "components": [1, 1, 1],
204
+ "alpha": 0.22
205
+ },
206
+ "offsetX": {
207
+ "value": -1,
208
+ "unit": "px"
209
+ },
210
+ "offsetY": {
211
+ "value": -1,
212
+ "unit": "px"
213
+ },
214
+ "blur": {
215
+ "value": 0,
216
+ "unit": "px"
217
+ },
218
+ "spread": {
219
+ "value": 0,
220
+ "unit": "px"
221
+ },
222
+ "inset": true
223
+ }
224
+ ],
225
+ "$extensions": {
226
+ "io.atom63.derive": "inset 2px 2px 0 color-mix(in oklch, black 30%, transparent), inset -1px -1px 0 color-mix(in oklch, white 22%, transparent)"
227
+ },
228
+ "$description": "Pressed: the bevel inverts (recessed) and the hard drop collapses — the\n button physically pushes in. Pairs with the default translateY(1px) press."
229
+ }
230
+ }
231
+ },
232
+ "field": {
233
+ "shadow": {
234
+ "$type": "shadow",
235
+ "$value": [
236
+ {
237
+ "color": {
238
+ "colorSpace": "srgb",
239
+ "components": [0, 0, 0],
240
+ "alpha": 0.22
241
+ },
242
+ "offsetX": {
243
+ "value": 2,
244
+ "unit": "px"
245
+ },
246
+ "offsetY": {
247
+ "value": 2,
248
+ "unit": "px"
249
+ },
250
+ "blur": {
251
+ "value": 0,
252
+ "unit": "px"
253
+ },
254
+ "spread": {
255
+ "value": 0,
256
+ "unit": "px"
257
+ },
258
+ "inset": true
259
+ },
260
+ {
261
+ "color": {
262
+ "colorSpace": "srgb",
263
+ "components": [1, 1, 1],
264
+ "alpha": 0.4
265
+ },
266
+ "offsetX": {
267
+ "value": -1,
268
+ "unit": "px"
269
+ },
270
+ "offsetY": {
271
+ "value": -1,
272
+ "unit": "px"
273
+ },
274
+ "blur": {
275
+ "value": 0,
276
+ "unit": "px"
277
+ },
278
+ "spread": {
279
+ "value": 0,
280
+ "unit": "px"
281
+ },
282
+ "inset": true
283
+ }
284
+ ],
285
+ "$extensions": {
286
+ "io.atom63.derive": "inset 2px 2px 0 color-mix(in oklch, black 22%, transparent), inset -1px -1px 0 color-mix(in oklch, white 40%, transparent)"
287
+ }
288
+ }
289
+ },
290
+ "overlay": {
291
+ "shadow": {
292
+ "$type": "shadow",
293
+ "$value": "{retro.bevel.drop.md}",
294
+ "$extensions": {
295
+ "io.atom63.derive": "inset 1px 1px 0 color-mix(in oklch, white 50%, transparent), inset -1px -1px 0 color-mix(in oklch, black 22%, transparent), {retro.bevel.drop.md}"
296
+ }
297
+ },
298
+ "border": {
299
+ "style": {
300
+ "$type": "strokeStyle",
301
+ "$value": "outset"
302
+ },
303
+ "width": {
304
+ "$type": "dimension",
305
+ "$value": {
306
+ "value": 2,
307
+ "unit": "px"
308
+ }
309
+ }
310
+ },
311
+ "drag": {
312
+ "shadow": {
313
+ "$type": "shadow",
314
+ "$value": "{retro.bevel.drop.lg}",
315
+ "$extensions": {
316
+ "io.atom63.derive": "inset 1px 1px 0 color-mix(in oklch, white 50%, transparent), inset -1px -1px 0 color-mix(in oklch, black 22%, transparent), {retro.bevel.drop.lg}"
317
+ }
318
+ }
319
+ }
320
+ },
321
+ "widget": {
322
+ "rim": {
323
+ "width": {
324
+ "$type": "dimension",
325
+ "$value": {
326
+ "value": 2,
327
+ "unit": "px"
328
+ },
329
+ "$description": "Win98 bevel as real geometry: light on top + left, dark on bottom + right.\n Per-side BORDER colors, so the bevel mitres around the corner arc and holds\n at any radius — radius is a personalization axis, not a per-theme constant.\n Order: top right bottom left."
330
+ },
331
+ "border": {
332
+ "color": {
333
+ "$type": "color",
334
+ "$value": "{color.white.100}",
335
+ "$extensions": {
336
+ "io.atom63.derive": "color-mix(in oklch, white 50%, transparent) color-mix(in oklch, black 22%, transparent) color-mix(in oklch, black 22%, transparent) color-mix(in oklch, white 50%, transparent)"
337
+ }
338
+ }
339
+ }
340
+ },
341
+ "shadow": {
342
+ "$type": "shadow",
343
+ "$value": "{retro.bevel.drop.md}",
344
+ "$description": "Bevel moved to the rim; keep only the hard drop."
345
+ },
346
+ "background": {
347
+ "color": {
348
+ "$type": "color",
349
+ "$value": "{a63.surface.overlay}",
350
+ "$description": "Opaque face. The contract's 82% default lets the rim gradient bleed through,\n which turns the bevel's hard diagonal stop into a seam across the whole card.\n Win98 plastic is not glass — the face should be solid regardless."
351
+ }
352
+ }
353
+ },
354
+ "surface": {
355
+ "shadow": {
356
+ "$type": "shadow",
357
+ "$value": "{retro.bevel.drop.soft}",
358
+ "$extensions": {
359
+ "io.atom63.derive": "inset 1px 1px 0 color-mix(in oklch, white 55%, transparent), inset -1px -1px 0 color-mix(in oklch, black 22%, transparent), {retro.bevel.drop.soft}"
360
+ }
361
+ },
362
+ "border": {
363
+ "style": {
364
+ "$type": "strokeStyle",
365
+ "$value": "outset",
366
+ "$description": "Retro surfaces/overlays are chunky beveled frames: 2px outset border, hard\n square corners via the radius personalization axis (not hardcoded here)."
367
+ },
368
+ "width": {
369
+ "$type": "dimension",
370
+ "$value": {
371
+ "value": 2,
372
+ "unit": "px"
373
+ }
374
+ }
375
+ },
376
+ "raised": {
377
+ "shadow": {
378
+ "$type": "shadow",
379
+ "$value": "{a63.surface.shadow}"
380
+ }
381
+ }
382
+ },
383
+ "track": {
384
+ "shadow": {
385
+ "$type": "shadow",
386
+ "$value": [
387
+ {
388
+ "color": {
389
+ "colorSpace": "srgb",
390
+ "components": [0, 0, 0],
391
+ "alpha": 0.22
392
+ },
393
+ "offsetX": {
394
+ "value": 1,
395
+ "unit": "px"
396
+ },
397
+ "offsetY": {
398
+ "value": 1,
399
+ "unit": "px"
400
+ },
401
+ "blur": {
402
+ "value": 0,
403
+ "unit": "px"
404
+ },
405
+ "spread": {
406
+ "value": 0,
407
+ "unit": "px"
408
+ },
409
+ "inset": true
410
+ },
411
+ {
412
+ "color": {
413
+ "colorSpace": "srgb",
414
+ "components": [1, 1, 1],
415
+ "alpha": 0.4
416
+ },
417
+ "offsetX": {
418
+ "value": -1,
419
+ "unit": "px"
420
+ },
421
+ "offsetY": {
422
+ "value": -1,
423
+ "unit": "px"
424
+ },
425
+ "blur": {
426
+ "value": 0,
427
+ "unit": "px"
428
+ },
429
+ "spread": {
430
+ "value": 0,
431
+ "unit": "px"
432
+ },
433
+ "inset": true
434
+ }
435
+ ],
436
+ "$extensions": {
437
+ "io.atom63.derive": "inset 1px 1px 0 color-mix(in oklch, black 22%, transparent), inset -1px -1px 0 color-mix(in oklch, white 40%, transparent)"
438
+ }
439
+ }
440
+ },
441
+ "marker": {
442
+ "shadow": {
443
+ "$type": "shadow",
444
+ "$value": [
445
+ {
446
+ "color": {
447
+ "colorSpace": "srgb",
448
+ "components": [1, 1, 1],
449
+ "alpha": 0.5
450
+ },
451
+ "offsetX": {
452
+ "value": 1,
453
+ "unit": "px"
454
+ },
455
+ "offsetY": {
456
+ "value": 1,
457
+ "unit": "px"
458
+ },
459
+ "blur": {
460
+ "value": 0,
461
+ "unit": "px"
462
+ },
463
+ "spread": {
464
+ "value": 0,
465
+ "unit": "px"
466
+ },
467
+ "inset": true
468
+ },
469
+ {
470
+ "color": {
471
+ "colorSpace": "srgb",
472
+ "components": [0, 0, 0],
473
+ "alpha": 0.2
474
+ },
475
+ "offsetX": {
476
+ "value": -1,
477
+ "unit": "px"
478
+ },
479
+ "offsetY": {
480
+ "value": -1,
481
+ "unit": "px"
482
+ },
483
+ "blur": {
484
+ "value": 0,
485
+ "unit": "px"
486
+ },
487
+ "spread": {
488
+ "value": 0,
489
+ "unit": "px"
490
+ },
491
+ "inset": true
492
+ },
493
+ {
494
+ "color": {
495
+ "colorSpace": "srgb",
496
+ "components": [0, 0, 0],
497
+ "alpha": 0.15
498
+ },
499
+ "offsetX": {
500
+ "value": 1,
501
+ "unit": "px"
502
+ },
503
+ "offsetY": {
504
+ "value": 1,
505
+ "unit": "px"
506
+ },
507
+ "blur": {
508
+ "value": 0,
509
+ "unit": "px"
510
+ },
511
+ "spread": {
512
+ "value": 0,
513
+ "unit": "px"
514
+ }
515
+ }
516
+ ],
517
+ "$extensions": {
518
+ "io.atom63.derive": "inset 1px 1px 0 color-mix(in oklch, white 50%, transparent), inset -1px -1px 0 color-mix(in oklch, black 20%, transparent), 1px 1px 0 color-mix(in oklch, black 15%, transparent)"
519
+ }
520
+ }
521
+ },
522
+ "choice": {
523
+ "box": {
524
+ "shadow": {
525
+ "$root": {
526
+ "$type": "shadow",
527
+ "$value": [
528
+ {
529
+ "color": {
530
+ "colorSpace": "srgb",
531
+ "components": [0, 0, 0],
532
+ "alpha": 0.24
533
+ },
534
+ "offsetX": {
535
+ "value": 1,
536
+ "unit": "px"
537
+ },
538
+ "offsetY": {
539
+ "value": 1,
540
+ "unit": "px"
541
+ },
542
+ "blur": {
543
+ "value": 0,
544
+ "unit": "px"
545
+ },
546
+ "spread": {
547
+ "value": 0,
548
+ "unit": "px"
549
+ },
550
+ "inset": true
551
+ },
552
+ {
553
+ "color": {
554
+ "colorSpace": "srgb",
555
+ "components": [1, 1, 1],
556
+ "alpha": 0.42
557
+ },
558
+ "offsetX": {
559
+ "value": -1,
560
+ "unit": "px"
561
+ },
562
+ "offsetY": {
563
+ "value": -1,
564
+ "unit": "px"
565
+ },
566
+ "blur": {
567
+ "value": 0,
568
+ "unit": "px"
569
+ },
570
+ "spread": {
571
+ "value": 0,
572
+ "unit": "px"
573
+ },
574
+ "inset": true
575
+ }
576
+ ],
577
+ "$extensions": {
578
+ "io.atom63.derive": "inset 1px 1px 0 color-mix(in oklch, black 24%, transparent), inset -1px -1px 0 color-mix(in oklch, white 42%, transparent)"
579
+ }
580
+ },
581
+ "checked": {
582
+ "$type": "shadow",
583
+ "$value": [
584
+ {
585
+ "color": {
586
+ "colorSpace": "srgb",
587
+ "components": [1, 1, 1],
588
+ "alpha": 0.38
589
+ },
590
+ "offsetX": {
591
+ "value": 1,
592
+ "unit": "px"
593
+ },
594
+ "offsetY": {
595
+ "value": 1,
596
+ "unit": "px"
597
+ },
598
+ "blur": {
599
+ "value": 0,
600
+ "unit": "px"
601
+ },
602
+ "spread": {
603
+ "value": 0,
604
+ "unit": "px"
605
+ },
606
+ "inset": true
607
+ },
608
+ {
609
+ "color": {
610
+ "colorSpace": "srgb",
611
+ "components": [0, 0, 0],
612
+ "alpha": 0.24
613
+ },
614
+ "offsetX": {
615
+ "value": -1,
616
+ "unit": "px"
617
+ },
618
+ "offsetY": {
619
+ "value": -1,
620
+ "unit": "px"
621
+ },
622
+ "blur": {
623
+ "value": 0,
624
+ "unit": "px"
625
+ },
626
+ "spread": {
627
+ "value": 0,
628
+ "unit": "px"
629
+ },
630
+ "inset": true
631
+ }
632
+ ],
633
+ "$extensions": {
634
+ "io.atom63.derive": "inset 1px 1px 0 color-mix(in oklch, white 38%, transparent), inset -1px -1px 0 color-mix(in oklch, black 24%, transparent)"
635
+ }
636
+ }
637
+ }
638
+ }
639
+ },
640
+ "segment": {
641
+ "track": {
642
+ "background": {
643
+ "$type": "color",
644
+ "$value": "{a63.surface.panel}",
645
+ "$description": "Segmented controls — welded Win98 cells; selected = pressed-in bevel."
646
+ },
647
+ "border": {
648
+ "$type": "dimension",
649
+ "$value": "{a63.border.control}"
650
+ }
651
+ },
652
+ "background": {
653
+ "$type": "color",
654
+ "$value": "{a63.surface.panel}"
655
+ },
656
+ "foreground": {
657
+ "$type": "color",
658
+ "$value": "{a63.text.secondary}"
659
+ },
660
+ "selected": {
661
+ "background": {
662
+ "$type": "color",
663
+ "$value": "{a63.surface.muted}"
664
+ },
665
+ "foreground": {
666
+ "$type": "color",
667
+ "$value": "{a63.text.primary}"
668
+ },
669
+ "shadow": {
670
+ "$type": "shadow",
671
+ "$value": "{a63.control.shadow.active}"
672
+ }
673
+ },
674
+ "primary": {
675
+ "background": {
676
+ "$type": "color",
677
+ "$value": "{a63.action.primary}"
678
+ },
679
+ "foreground": {
680
+ "$type": "color",
681
+ "$value": "{a63.action.primary.foreground}"
682
+ },
683
+ "shadow": {
684
+ "$type": "shadow",
685
+ "$value": "{a63.control.shadow.active}"
686
+ }
687
+ }
688
+ },
689
+ "weather": {
690
+ "foreground": {
691
+ "$type": "color",
692
+ "$value": "{color.white.100}",
693
+ "$extensions": {
694
+ "io.atom63.derive": "white"
695
+ }
696
+ },
697
+ "muted": {
698
+ "foreground": {
699
+ "$type": "color",
700
+ "$value": "{color.white.100}",
701
+ "$extensions": {
702
+ "io.atom63.derive": "color-mix(in oklch, white 76%, transparent)"
703
+ }
704
+ }
705
+ },
706
+ "divider": {
707
+ "color": {
708
+ "$type": "color",
709
+ "$value": "{color.white.100}",
710
+ "$extensions": {
711
+ "io.atom63.derive": "color-mix(in oklch, white 32%, transparent)"
712
+ }
713
+ }
714
+ },
715
+ "text": {
716
+ "shadow": {
717
+ "$type": "shadow",
718
+ "$value": [
719
+ {
720
+ "color": {
721
+ "colorSpace": "srgb",
722
+ "components": [0, 0, 0],
723
+ "alpha": 0.34
724
+ },
725
+ "offsetX": {
726
+ "value": 1,
727
+ "unit": "px"
728
+ },
729
+ "offsetY": {
730
+ "value": 1,
731
+ "unit": "px"
732
+ },
733
+ "blur": {
734
+ "value": 0,
735
+ "unit": "px"
736
+ },
737
+ "spread": {
738
+ "value": 0,
739
+ "unit": "px"
740
+ }
741
+ }
742
+ ],
743
+ "$extensions": {
744
+ "io.atom63.derive": "1px 1px 0 color-mix(in oklch, black 34%, transparent)"
745
+ }
746
+ }
747
+ },
748
+ "border": {
749
+ "color": {
750
+ "$type": "color",
751
+ "$value": "{a63.action.primary}",
752
+ "$extensions": {
753
+ "io.atom63.derive": "color-mix( in oklab, {a63.action.primary} 44%, {a63.border.subtle} )"
754
+ }
755
+ }
756
+ },
757
+ "background": {
758
+ "color": {
759
+ "$type": "color",
760
+ "$value": "{a63.action.primary}",
761
+ "$extensions": {
762
+ "io.atom63.derive": "color-mix( in oklab, {a63.action.primary} 48%, {a63.surface.panel} )"
763
+ }
764
+ },
765
+ "image": {
766
+ "$type": "dimension",
767
+ "$value": "{a63.action.primary}",
768
+ "$extensions": {
769
+ "io.atom63.derive": "linear-gradient(135deg, color-mix(in oklab, white 22%, transparent), transparent 44%), linear-gradient( 135deg, color-mix(in oklab, {a63.action.primary} 58%, {a63.surface.panel}), color-mix(in oklab, {a63.action.primary} 68%, {a63.text.primary}) )"
770
+ }
771
+ }
772
+ }
773
+ }
774
+ }
775
+ }
776
+ ],
777
+ "$extensions": {
778
+ "io.atom63.css": {
779
+ "selector": "[data-a63-theme='retro']"
780
+ }
781
+ }
782
+ }
783
+ },
784
+ "resolutionOrder": [
785
+ {
786
+ "$ref": "#/sets/01-data-a63-theme-retro"
787
+ }
788
+ ],
789
+ "$extensions": {
790
+ "io.atom63.css": {
791
+ "imports": ["./retro.native.css"]
792
+ }
793
+ }
794
+ }