@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.
- package/LICENSE +21 -0
- package/README.md +33 -36
- package/generated/atom63.figma-sync.json +23201 -0
- package/generated/atom63.tokens.json +19649 -8416
- package/generated/z-layers.d.ts +33 -0
- package/generated/z-layers.js +31 -0
- package/package.json +35 -21
- package/src/compat/a63-from-shadcn.css +275 -0
- package/src/compat/shadcn.browser.test.ts +23 -0
- package/src/compat/shadcn.css +133 -17
- package/src/contracts/action.css +4 -3
- package/src/contracts/action.native.css +11 -0
- package/src/contracts/action.tokens.json +66 -0
- package/src/contracts/badge.css +128 -58
- package/src/contracts/badge.resolver.json +454 -0
- package/src/contracts/choice.css +5 -2
- package/src/contracts/choice.native.css +9 -0
- package/src/contracts/choice.tokens.json +66 -0
- package/src/contracts/control.css +54 -57
- package/src/contracts/control.native.css +13 -0
- package/src/contracts/control.tokens.json +294 -0
- package/src/contracts/environment.css +178 -60
- package/src/contracts/environment.native.css +23 -0
- package/src/contracts/environment.resolver.json +1210 -0
- package/src/contracts/field.css +4 -2
- package/src/contracts/field.tokens.json +40 -0
- package/src/contracts/marker.css +6 -4
- package/src/contracts/marker.tokens.json +15 -0
- package/src/contracts/menu.css +25 -61
- package/src/contracts/menu.native.css +10 -0
- package/src/contracts/menu.resolver.json +122 -0
- package/src/contracts/overlay.css +11 -13
- package/src/contracts/overlay.native.css +13 -0
- package/src/contracts/overlay.tokens.json +103 -0
- package/src/contracts/segment.css +22 -68
- package/src/contracts/segment.tokens.json +19 -0
- package/src/contracts/selection.css +5 -1
- package/src/contracts/selection.tokens.json +42 -0
- package/src/contracts/skeleton.css +18 -2
- package/src/contracts/skeleton.resolver.json +62 -0
- package/src/contracts/surface.css +17 -24
- package/src/contracts/surface.native.css +17 -0
- package/src/contracts/surface.tokens.json +154 -0
- package/src/contracts/toggle.css +27 -3
- package/src/contracts/toggle.resolver.json +129 -0
- package/src/contracts/track.css +3 -1
- package/src/contracts/track.tokens.json +39 -0
- package/src/contracts/trigger.css +5 -2
- package/src/contracts/trigger.native.css +9 -0
- package/src/contracts/trigger.tokens.json +58 -0
- package/src/contracts/widget.css +76 -51
- package/src/contracts/widget.native.css +23 -0
- package/src/contracts/widget.resolver.json +1110 -0
- package/src/tailwind/roles.json +189 -0
- package/src/tailwind/theme.css +216 -24
- package/src/tailwind/utilities.css +17 -0
- package/src/themes/aqua.css +126 -89
- package/src/themes/aqua.native.css +80 -0
- package/src/themes/aqua.resolver.json +1304 -0
- package/src/themes/modern.css +10 -14
- package/src/themes/modern.native.css +16 -0
- package/src/themes/modern.resolver.json +350 -0
- package/src/themes/retro.css +22 -26
- package/src/themes/retro.native.css +16 -0
- package/src/themes/retro.resolver.json +794 -0
- package/src/themes/terminal.css +151 -41
- package/src/themes/terminal.native.css +22 -0
- package/src/themes/terminal.resolver.json +585 -0
- package/src/tokens/brand-action.css +65 -0
- package/src/tokens/brand-action.resolver.json +155 -0
- package/src/tokens/brand-ramp.css +108 -0
- package/src/tokens/brand-ramp.resolver.json +418 -0
- package/src/tokens/brand.css +6 -146
- package/src/tokens/color-mix-space.browser.test.ts +101 -0
- package/src/tokens/contrast.browser.test.ts +257 -5
- package/src/tokens/density.browser.test.ts +167 -0
- package/src/tokens/figma-parity.browser.test.ts +270 -0
- package/src/tokens/font.css +13 -0
- package/src/tokens/font.resolver.json +128 -0
- package/src/tokens/form-factor.browser.test.ts +129 -0
- package/src/tokens/foundation/effects.css +13 -13
- package/src/tokens/foundation/effects.resolver.json +433 -0
- package/src/tokens/foundation/fonts.css +11 -5
- package/src/tokens/foundation/fonts.tokens.json +45 -0
- package/src/tokens/foundation/motion.css +3 -0
- package/src/tokens/foundation/motion.tokens.json +53 -0
- package/src/tokens/foundation/palette.css +3 -0
- package/src/tokens/foundation/palette.tokens.json +1743 -0
- package/src/tokens/foundation/primitives.css +20 -43
- package/src/tokens/foundation/primitives.tokens.json +3258 -0
- package/src/tokens/foundation/radius.css +11 -9
- package/src/tokens/foundation/radius.tokens.json +108 -0
- package/src/tokens/foundation/typography.css +49 -12
- package/src/tokens/foundation/typography.native.css +21 -0
- package/src/tokens/foundation/typography.resolver.json +1008 -0
- package/src/tokens/foundation.css +0 -1
- package/src/tokens/index.css +1 -0
- package/src/tokens/motion.css +3 -1
- package/src/tokens/motion.resolver.json +135 -0
- package/src/tokens/native-values.json +38 -0
- package/src/tokens/personalization-axes.browser.test.ts +20 -4
- package/src/tokens/plate-scope.browser.test.ts +73 -0
- package/src/tokens/radius.css +12 -8
- package/src/tokens/radius.resolver.json +138 -0
- package/src/tokens/semantics.css +656 -39
- package/src/tokens/semantics.resolver.json +1606 -0
- package/src/tokens/space.css +8 -6
- package/src/tokens/space.tokens.json +78 -0
- package/src/tokens/surface.css +13 -19
- package/src/tokens/surface.resolver.json +706 -0
- package/src/tokens/swift-parity.browser.test.ts +141 -0
- package/src/tokens/type-roles.css +88 -0
- package/src/tokens/type-roles.resolver.json +419 -0
- package/src/tokens/type-scale.css +6 -0
- package/src/tokens/type-scale.resolver.json +67 -0
- package/generated/atom63.figma-tokens.json +0 -21650
- package/src/tokens/foundation/aliases.css +0 -28
- package/src/z-layers.ts +0 -40
|
@@ -0,0 +1,1210 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2025.10",
|
|
3
|
+
"description": "Environment dimensions.\n\nEach dimension owns a distinct slice (see packages/styles/README.md — the\ndimension-ownership table):\n - Design Language → component sizing/proportions + interaction feedback\n - Input → ergonomics (min touch target)\n - Density → proportional rhythm\n\nRadius, color, and shadow are NOT design-language concerns — they belong to\nthe semantic ramp + theme (personalization). Design language never sets radius.\n\nPrevent focus zoom in mobile Safari without inflating non-editable control\n labels. Editable recipes combine this floor with their normal type token.\n\nDensity — proportional rhythm. A density scope sets --a63-space-unit, and every :root token\nbuilt on it (the space steps, control heights and paddings, row padding, gaps) is declared\nagain on [data-a63-density], so a nested scope recomputes them once, the same as the root.\nThe design-language and phone scopes are also declared on a density scope inside them, so\nit keeps their sizes.\n\nAuto-detect coarse pointers. Without this, touch ergonomics only apply when an\n app explicitly passes `input` to UIProvider — an opt-in almost nothing does, so\n controls stay at their 24px floor on phones. Declared before the attribute\n rules below (equal specificity) so an explicit data-a63-input always wins.\n\nInput — ergonomics (touch target). Independent of design language.\n\nExplicit fine-pointer choices override coarse auto-detection (hybrid devices,\n or a user who picked \"pointer\" in the appearance panel on a touchscreen).\n\nDesign language — component sizing/proportions + interaction feedback only.\nThe base :root (control.css) is the web default; iOS overrides sizing + feel.\nNo radius, color, or touch-target here.\n\nForm factor — a phone screen. [data-a63-form-factor='phone'] sets the type steps and the\ncontrol sizing of a phone (iOS text sizes: body 17, subheadline 15, footnote 13). Viewport\nwidth does not apply it; a phone layout stamps it (AppView layout=\"phone\"). The type roles\nare redeclared on the same scope (type-roles.css), so text-body and the other roles follow it.",
|
|
4
|
+
"sets": {
|
|
5
|
+
"01-root": {
|
|
6
|
+
"sources": [
|
|
7
|
+
{
|
|
8
|
+
"a63": {
|
|
9
|
+
"density": {
|
|
10
|
+
"scale": {
|
|
11
|
+
"$type": "number",
|
|
12
|
+
"$value": 1,
|
|
13
|
+
"$description": "An extra multiplier recipes apply to control heights. It stays 1 in every density: density reaches sizes through --a63-space-unit, which the control heights are built on, so scaling them again would shrink controls twice."
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"editable": {
|
|
17
|
+
"font": {
|
|
18
|
+
"size": {
|
|
19
|
+
"min": {
|
|
20
|
+
"$type": "dimension",
|
|
21
|
+
"$value": {
|
|
22
|
+
"value": 0,
|
|
23
|
+
"unit": "px"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"control": {
|
|
30
|
+
"min": {
|
|
31
|
+
"size": {
|
|
32
|
+
"$root": {
|
|
33
|
+
"$type": "dimension",
|
|
34
|
+
"$value": {
|
|
35
|
+
"value": 1.5,
|
|
36
|
+
"unit": "rem"
|
|
37
|
+
},
|
|
38
|
+
"$description": "Two different numbers, deliberately separate:\n - min-size = RENDERED geometry floor. WCAG 2.5.8 pointer minimum (24px).\n Touch raises it only to 32px — the smallest rendered control\n observed in shipping iOS apps (measured 30.6–31.5pt across two\n apps). Apple's Accessibility page publishes an iOS\nminimum control size* of 28x28pt, so a 32pt rendered floor\n sits above the documented minimum and below the 44pt default.\n https://developer.apple.com/design/human-interface-guidelines/accessibility\n - min-target = INTERACTION floor. Touch raises it to 44px per Apple HIG.\n Recipes must floor their height ramp with min-size and expand the touch\n region with min-target. Flooring rendered height with min-target is what\n collapses the xs/sm/md ramp to a single 44px rung on every phone.\n See docs/design-system/web-ios-token-parity.md."
|
|
39
|
+
},
|
|
40
|
+
"lg": {
|
|
41
|
+
"$type": "dimension",
|
|
42
|
+
"$value": "{a63.control.min.size}"
|
|
43
|
+
},
|
|
44
|
+
"xl": {
|
|
45
|
+
"$type": "dimension",
|
|
46
|
+
"$value": "{a63.control.min.size}"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"target": {
|
|
50
|
+
"$root": {
|
|
51
|
+
"$type": "dimension",
|
|
52
|
+
"$value": {
|
|
53
|
+
"value": 1.5,
|
|
54
|
+
"unit": "rem"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"lg": {
|
|
58
|
+
"$type": "dimension",
|
|
59
|
+
"$value": "{a63.control.min.target}"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"row": {
|
|
65
|
+
"min": {
|
|
66
|
+
"size": {
|
|
67
|
+
"$type": "dimension",
|
|
68
|
+
"$value": "{a63.control.min.size}",
|
|
69
|
+
"$description": "Rendered floor for a full-width ROW (a list/panel row whose whole width is\n the target), as opposed to a compact control sitting inside one. A row\n cannot borrow the pseudo-element trick: rows live in clipping containers\n (rounded panels, scroll areas) that cut an overhanging pseudo off, so the\n row's own height has to BE the target. 44px on touch — Apple's HIG default,\n and our own measurement of shipping iOS apps put primary rows and\n full-width controls at 42.4-44.1pt (docs/design-system/web-ios-token-parity.md).\n Equal to min-size on fine pointers, so desktop is unchanged."
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
],
|
|
76
|
+
"$extensions": {
|
|
77
|
+
"io.atom63.css": {
|
|
78
|
+
"selector": ":root"
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"03-media-max-width-40rem-root": {
|
|
83
|
+
"sources": [
|
|
84
|
+
{
|
|
85
|
+
"a63": {
|
|
86
|
+
"editable": {
|
|
87
|
+
"font": {
|
|
88
|
+
"size": {
|
|
89
|
+
"min": {
|
|
90
|
+
"$type": "dimension",
|
|
91
|
+
"$value": {
|
|
92
|
+
"value": 1,
|
|
93
|
+
"unit": "rem"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"$extensions": {
|
|
103
|
+
"io.atom63.css": {
|
|
104
|
+
"selector": ":root",
|
|
105
|
+
"atRule": "@media (max-width: 40rem)"
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"04-is-data-a63-density-compact-data-density-compact": {
|
|
110
|
+
"sources": [
|
|
111
|
+
{
|
|
112
|
+
"a63": {
|
|
113
|
+
"space": {
|
|
114
|
+
"unit": {
|
|
115
|
+
"$type": "dimension",
|
|
116
|
+
"$value": "{spacing.1}",
|
|
117
|
+
"$extensions": {
|
|
118
|
+
"io.atom63.derive": "calc({spacing.1} * 0.875)"
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
"$extensions": {
|
|
126
|
+
"io.atom63.css": {
|
|
127
|
+
"selector": ":is([data-a63-density='compact'], [data-density='compact'])"
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"05-is-data-a63-density-comfortable-data-density-com": {
|
|
132
|
+
"sources": [
|
|
133
|
+
{
|
|
134
|
+
"a63": {
|
|
135
|
+
"space": {
|
|
136
|
+
"unit": {
|
|
137
|
+
"$type": "dimension",
|
|
138
|
+
"$value": "{spacing.1}"
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
],
|
|
144
|
+
"$extensions": {
|
|
145
|
+
"io.atom63.css": {
|
|
146
|
+
"selector": ":is([data-a63-density='comfortable'], [data-density='comfortable'])"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"05a-density-scope": {
|
|
151
|
+
"sources": [],
|
|
152
|
+
"$extensions": {
|
|
153
|
+
"io.atom63.css": {
|
|
154
|
+
"selector": ":is([data-a63-density], [data-density])",
|
|
155
|
+
"rederive": "{a63.space.unit}"
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"06-media-pointer-coarse-root": {
|
|
160
|
+
"sources": [
|
|
161
|
+
{
|
|
162
|
+
"a63": {
|
|
163
|
+
"control": {
|
|
164
|
+
"min": {
|
|
165
|
+
"size": {
|
|
166
|
+
"$root": {
|
|
167
|
+
"$type": "dimension",
|
|
168
|
+
"$value": {
|
|
169
|
+
"value": 2,
|
|
170
|
+
"unit": "rem"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"lg": {
|
|
174
|
+
"$type": "dimension",
|
|
175
|
+
"$value": "{a63.control.min.size}"
|
|
176
|
+
},
|
|
177
|
+
"xl": {
|
|
178
|
+
"$type": "dimension",
|
|
179
|
+
"$value": "{a63.control.min.size}"
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
"target": {
|
|
183
|
+
"$root": {
|
|
184
|
+
"$type": "dimension",
|
|
185
|
+
"$value": {
|
|
186
|
+
"value": 2.75,
|
|
187
|
+
"unit": "rem"
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
"lg": {
|
|
191
|
+
"$type": "dimension",
|
|
192
|
+
"$value": {
|
|
193
|
+
"value": 3,
|
|
194
|
+
"unit": "rem"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"xl": {
|
|
198
|
+
"$type": "dimension",
|
|
199
|
+
"$value": {
|
|
200
|
+
"value": 3.25,
|
|
201
|
+
"unit": "rem"
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
"row": {
|
|
208
|
+
"min": {
|
|
209
|
+
"size": {
|
|
210
|
+
"$type": "dimension",
|
|
211
|
+
"$value": {
|
|
212
|
+
"value": 2.75,
|
|
213
|
+
"unit": "rem"
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
],
|
|
221
|
+
"$extensions": {
|
|
222
|
+
"io.atom63.css": {
|
|
223
|
+
"selector": ":root",
|
|
224
|
+
"atRule": "@media (pointer: coarse)"
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
"07-is-data-a63-input-touch-data-input-touch": {
|
|
229
|
+
"sources": [
|
|
230
|
+
{
|
|
231
|
+
"a63": {
|
|
232
|
+
"control": {
|
|
233
|
+
"min": {
|
|
234
|
+
"size": {
|
|
235
|
+
"$root": {
|
|
236
|
+
"$type": "dimension",
|
|
237
|
+
"$value": {
|
|
238
|
+
"value": 2,
|
|
239
|
+
"unit": "rem"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
"lg": {
|
|
243
|
+
"$type": "dimension",
|
|
244
|
+
"$value": "{a63.control.min.size}"
|
|
245
|
+
},
|
|
246
|
+
"xl": {
|
|
247
|
+
"$type": "dimension",
|
|
248
|
+
"$value": "{a63.control.min.size}"
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
"target": {
|
|
252
|
+
"$root": {
|
|
253
|
+
"$type": "dimension",
|
|
254
|
+
"$value": {
|
|
255
|
+
"value": 2.75,
|
|
256
|
+
"unit": "rem"
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
"lg": {
|
|
260
|
+
"$type": "dimension",
|
|
261
|
+
"$value": {
|
|
262
|
+
"value": 3,
|
|
263
|
+
"unit": "rem"
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
"xl": {
|
|
267
|
+
"$type": "dimension",
|
|
268
|
+
"$value": {
|
|
269
|
+
"value": 3.25,
|
|
270
|
+
"unit": "rem"
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
"row": {
|
|
277
|
+
"min": {
|
|
278
|
+
"size": {
|
|
279
|
+
"$type": "dimension",
|
|
280
|
+
"$value": {
|
|
281
|
+
"value": 2.75,
|
|
282
|
+
"unit": "rem"
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
],
|
|
290
|
+
"$extensions": {
|
|
291
|
+
"io.atom63.css": {
|
|
292
|
+
"selector": ":is([data-a63-input='touch'], [data-input='touch'])"
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"08-is-data-a63-input-pointer-data-input-pointer-dat": {
|
|
297
|
+
"sources": [
|
|
298
|
+
{
|
|
299
|
+
"a63": {
|
|
300
|
+
"control": {
|
|
301
|
+
"min": {
|
|
302
|
+
"size": {
|
|
303
|
+
"$root": {
|
|
304
|
+
"$type": "dimension",
|
|
305
|
+
"$value": {
|
|
306
|
+
"value": 1.5,
|
|
307
|
+
"unit": "rem"
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
"lg": {
|
|
311
|
+
"$type": "dimension",
|
|
312
|
+
"$value": "{a63.control.min.size}"
|
|
313
|
+
},
|
|
314
|
+
"xl": {
|
|
315
|
+
"$type": "dimension",
|
|
316
|
+
"$value": "{a63.control.min.size}"
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
"target": {
|
|
320
|
+
"$root": {
|
|
321
|
+
"$type": "dimension",
|
|
322
|
+
"$value": {
|
|
323
|
+
"value": 1.5,
|
|
324
|
+
"unit": "rem"
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
"lg": {
|
|
328
|
+
"$type": "dimension",
|
|
329
|
+
"$value": "{a63.control.min.target}"
|
|
330
|
+
},
|
|
331
|
+
"xl": {
|
|
332
|
+
"$type": "dimension",
|
|
333
|
+
"$value": "{a63.control.min.target}"
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
"row": {
|
|
339
|
+
"min": {
|
|
340
|
+
"size": {
|
|
341
|
+
"$type": "dimension",
|
|
342
|
+
"$value": "{a63.control.min.size}"
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
],
|
|
349
|
+
"$extensions": {
|
|
350
|
+
"io.atom63.css": {
|
|
351
|
+
"selector": ":is( [data-a63-input='pointer'], [data-input='pointer'], [data-a63-input='keyboard'], [data-input='keyboard'] )"
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
},
|
|
355
|
+
"09-is-data-a63-design-language-ios-data-design-lang": {
|
|
356
|
+
"sources": [
|
|
357
|
+
{
|
|
358
|
+
"a63": {
|
|
359
|
+
"control": {
|
|
360
|
+
"height": {
|
|
361
|
+
"xs": {
|
|
362
|
+
"$type": "dimension",
|
|
363
|
+
"$value": "{a63.space.unit}",
|
|
364
|
+
"$extensions": {
|
|
365
|
+
"io.atom63.derive": "round(nearest, calc({a63.space.unit} * 9), 1px)"
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
"sm": {
|
|
369
|
+
"$type": "dimension",
|
|
370
|
+
"$value": "{a63.space.unit}",
|
|
371
|
+
"$extensions": {
|
|
372
|
+
"io.atom63.derive": "round(nearest, calc({a63.space.unit} * 10), 1px)"
|
|
373
|
+
}
|
|
374
|
+
},
|
|
375
|
+
"md": {
|
|
376
|
+
"$type": "dimension",
|
|
377
|
+
"$value": "{a63.space.unit}",
|
|
378
|
+
"$extensions": {
|
|
379
|
+
"io.atom63.derive": "round(nearest, calc({a63.space.unit} * 11), 1px)"
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
"lg": {
|
|
383
|
+
"$type": "dimension",
|
|
384
|
+
"$value": "{a63.space.unit}",
|
|
385
|
+
"$extensions": {
|
|
386
|
+
"io.atom63.derive": "round(nearest, calc({a63.space.unit} * 12), 1px)"
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
"xl": {
|
|
390
|
+
"$type": "dimension",
|
|
391
|
+
"$value": "{a63.space.unit}",
|
|
392
|
+
"$extensions": {
|
|
393
|
+
"io.atom63.derive": "round(nearest, calc({a63.space.unit} * 13), 1px)"
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
"padding": {
|
|
398
|
+
"inline": {
|
|
399
|
+
"xs": {
|
|
400
|
+
"$type": "dimension",
|
|
401
|
+
"$value": "{a63.space.3}"
|
|
402
|
+
},
|
|
403
|
+
"sm": {
|
|
404
|
+
"$type": "dimension",
|
|
405
|
+
"$value": "{a63.space.3_5}"
|
|
406
|
+
},
|
|
407
|
+
"md": {
|
|
408
|
+
"$type": "dimension",
|
|
409
|
+
"$value": "{a63.space.4}"
|
|
410
|
+
},
|
|
411
|
+
"lg": {
|
|
412
|
+
"$type": "dimension",
|
|
413
|
+
"$value": "{a63.space.5}"
|
|
414
|
+
},
|
|
415
|
+
"xl": {
|
|
416
|
+
"$type": "dimension",
|
|
417
|
+
"$value": "{a63.space.6}"
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
"font": {
|
|
422
|
+
"weight": {
|
|
423
|
+
"$type": "number",
|
|
424
|
+
"$value": 600
|
|
425
|
+
},
|
|
426
|
+
"size": {
|
|
427
|
+
"xs": {
|
|
428
|
+
"$type": "dimension",
|
|
429
|
+
"$value": "{typography.xs.font.size}"
|
|
430
|
+
},
|
|
431
|
+
"sm": {
|
|
432
|
+
"$type": "dimension",
|
|
433
|
+
"$value": "{typography.sm.font.size}"
|
|
434
|
+
},
|
|
435
|
+
"md": {
|
|
436
|
+
"$type": "dimension",
|
|
437
|
+
"$value": "{typography.base.font.size}"
|
|
438
|
+
},
|
|
439
|
+
"lg": {
|
|
440
|
+
"$type": "dimension",
|
|
441
|
+
"$value": "{typography.lg.font.size}"
|
|
442
|
+
},
|
|
443
|
+
"xl": {
|
|
444
|
+
"$type": "dimension",
|
|
445
|
+
"$value": "{typography.lg.font.size}"
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
},
|
|
449
|
+
"icon": {
|
|
450
|
+
"size": {
|
|
451
|
+
"xs": {
|
|
452
|
+
"$type": "dimension",
|
|
453
|
+
"$value": {
|
|
454
|
+
"value": 0.875,
|
|
455
|
+
"unit": "rem"
|
|
456
|
+
}
|
|
457
|
+
},
|
|
458
|
+
"sm": {
|
|
459
|
+
"$type": "dimension",
|
|
460
|
+
"$value": {
|
|
461
|
+
"value": 1,
|
|
462
|
+
"unit": "rem"
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
"md": {
|
|
466
|
+
"$type": "dimension",
|
|
467
|
+
"$value": {
|
|
468
|
+
"value": 1.125,
|
|
469
|
+
"unit": "rem"
|
|
470
|
+
}
|
|
471
|
+
},
|
|
472
|
+
"lg": {
|
|
473
|
+
"$type": "dimension",
|
|
474
|
+
"$value": {
|
|
475
|
+
"value": 1.25,
|
|
476
|
+
"unit": "rem"
|
|
477
|
+
}
|
|
478
|
+
},
|
|
479
|
+
"xl": {
|
|
480
|
+
"$type": "dimension",
|
|
481
|
+
"$value": {
|
|
482
|
+
"value": 1.375,
|
|
483
|
+
"unit": "rem"
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
},
|
|
488
|
+
"feedback": {
|
|
489
|
+
"ease": {
|
|
490
|
+
"$type": "duration",
|
|
491
|
+
"$value": "{a63.motion.ease.emphasized}"
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
},
|
|
495
|
+
"row": {
|
|
496
|
+
"padding": {
|
|
497
|
+
"block": {
|
|
498
|
+
"xs": {
|
|
499
|
+
"$type": "dimension",
|
|
500
|
+
"$value": "{a63.space.1}",
|
|
501
|
+
"$description": "Rows stop padding their way to height and let the control ramp floor them,\n so a single-line row lands on 44pt and a two-line row on ~59pt, instead of\n 52pt and 75pt. Targets are from our measurement study, not a published\n Apple row height — there isn't one.",
|
|
502
|
+
"$extensions": {
|
|
503
|
+
"io.atom63.derive": "round(nearest, {a63.space.1}, 1px)"
|
|
504
|
+
}
|
|
505
|
+
},
|
|
506
|
+
"sm": {
|
|
507
|
+
"$type": "dimension",
|
|
508
|
+
"$value": "{a63.space.1_5}",
|
|
509
|
+
"$extensions": {
|
|
510
|
+
"io.atom63.derive": "round(nearest, {a63.space.1_5}, 1px)"
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
"md": {
|
|
514
|
+
"$type": "dimension",
|
|
515
|
+
"$value": "{a63.space.2}",
|
|
516
|
+
"$extensions": {
|
|
517
|
+
"io.atom63.derive": "round(nearest, {a63.space.2}, 1px)"
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
},
|
|
523
|
+
"switch": {
|
|
524
|
+
"thumb": {
|
|
525
|
+
"size": {
|
|
526
|
+
"$type": "dimension",
|
|
527
|
+
"$value": {
|
|
528
|
+
"value": 1.375,
|
|
529
|
+
"unit": "rem"
|
|
530
|
+
},
|
|
531
|
+
"$description": "Larger, iconic iOS pill switch (web default is 1rem in selection.css)."
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
],
|
|
538
|
+
"$extensions": {
|
|
539
|
+
"io.atom63.css": {
|
|
540
|
+
"selector": ":is([data-a63-design-language='ios'], [data-design-language='ios']),\n:is([data-a63-design-language='ios'], [data-design-language='ios']) :is([data-a63-density], [data-density])"
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
},
|
|
544
|
+
"10-data-a63-form-factor-phone": {
|
|
545
|
+
"sources": [
|
|
546
|
+
{
|
|
547
|
+
"typography": {
|
|
548
|
+
"2xs": {
|
|
549
|
+
"font": {
|
|
550
|
+
"size": {
|
|
551
|
+
"$type": "dimension",
|
|
552
|
+
"$value": {
|
|
553
|
+
"value": 11,
|
|
554
|
+
"unit": "px"
|
|
555
|
+
},
|
|
556
|
+
"$extensions": {
|
|
557
|
+
"io.atom63.derive": "calc({$value} * var(--typography-scale, 1))"
|
|
558
|
+
},
|
|
559
|
+
"$description": "The type steps of a phone screen, after the iOS text styles at the default Dynamic Type size:\n body 17 (base), subheadline 15 (sm), footnote 13 (xs), caption2 11 (2xs), title3 20 (2xl),\n title2 22 (3xl), title1 28 (5xl), largeTitle 34 (6xl). Steps without an iOS style keep the\n scale in order. Complete, so the phone scope wins over the viewport and window steps."
|
|
560
|
+
}
|
|
561
|
+
},
|
|
562
|
+
"line": {
|
|
563
|
+
"height": {
|
|
564
|
+
"$type": "dimension",
|
|
565
|
+
"$value": {
|
|
566
|
+
"value": 13,
|
|
567
|
+
"unit": "px"
|
|
568
|
+
},
|
|
569
|
+
"$extensions": {
|
|
570
|
+
"io.atom63.derive": "calc({$value} * var(--typography-scale, 1))"
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
},
|
|
575
|
+
"xs": {
|
|
576
|
+
"font": {
|
|
577
|
+
"size": {
|
|
578
|
+
"$type": "dimension",
|
|
579
|
+
"$value": {
|
|
580
|
+
"value": 13,
|
|
581
|
+
"unit": "px"
|
|
582
|
+
},
|
|
583
|
+
"$extensions": {
|
|
584
|
+
"io.atom63.derive": "calc({$value} * var(--typography-scale, 1))"
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
},
|
|
588
|
+
"line": {
|
|
589
|
+
"height": {
|
|
590
|
+
"$type": "dimension",
|
|
591
|
+
"$value": {
|
|
592
|
+
"value": 18,
|
|
593
|
+
"unit": "px"
|
|
594
|
+
},
|
|
595
|
+
"$extensions": {
|
|
596
|
+
"io.atom63.derive": "calc({$value} * var(--typography-scale, 1))"
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
},
|
|
601
|
+
"sm": {
|
|
602
|
+
"font": {
|
|
603
|
+
"size": {
|
|
604
|
+
"$type": "dimension",
|
|
605
|
+
"$value": {
|
|
606
|
+
"value": 15,
|
|
607
|
+
"unit": "px"
|
|
608
|
+
},
|
|
609
|
+
"$extensions": {
|
|
610
|
+
"io.atom63.derive": "calc({$value} * var(--typography-scale, 1))"
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
},
|
|
614
|
+
"line": {
|
|
615
|
+
"height": {
|
|
616
|
+
"$type": "dimension",
|
|
617
|
+
"$value": {
|
|
618
|
+
"value": 20,
|
|
619
|
+
"unit": "px"
|
|
620
|
+
},
|
|
621
|
+
"$extensions": {
|
|
622
|
+
"io.atom63.derive": "calc({$value} * var(--typography-scale, 1))"
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
},
|
|
627
|
+
"base": {
|
|
628
|
+
"font": {
|
|
629
|
+
"size": {
|
|
630
|
+
"$type": "dimension",
|
|
631
|
+
"$value": {
|
|
632
|
+
"value": 17,
|
|
633
|
+
"unit": "px"
|
|
634
|
+
},
|
|
635
|
+
"$extensions": {
|
|
636
|
+
"io.atom63.derive": "calc({$value} * var(--typography-scale, 1))"
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
},
|
|
640
|
+
"line": {
|
|
641
|
+
"height": {
|
|
642
|
+
"$type": "dimension",
|
|
643
|
+
"$value": {
|
|
644
|
+
"value": 22,
|
|
645
|
+
"unit": "px"
|
|
646
|
+
},
|
|
647
|
+
"$extensions": {
|
|
648
|
+
"io.atom63.derive": "calc({$value} * var(--typography-scale, 1))"
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
},
|
|
653
|
+
"lg": {
|
|
654
|
+
"font": {
|
|
655
|
+
"size": {
|
|
656
|
+
"$type": "dimension",
|
|
657
|
+
"$value": {
|
|
658
|
+
"value": 18,
|
|
659
|
+
"unit": "px"
|
|
660
|
+
},
|
|
661
|
+
"$extensions": {
|
|
662
|
+
"io.atom63.derive": "calc({$value} * var(--typography-scale, 1))"
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
},
|
|
666
|
+
"line": {
|
|
667
|
+
"height": {
|
|
668
|
+
"$type": "dimension",
|
|
669
|
+
"$value": {
|
|
670
|
+
"value": 24,
|
|
671
|
+
"unit": "px"
|
|
672
|
+
},
|
|
673
|
+
"$extensions": {
|
|
674
|
+
"io.atom63.derive": "calc({$value} * var(--typography-scale, 1))"
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
},
|
|
679
|
+
"xl": {
|
|
680
|
+
"font": {
|
|
681
|
+
"size": {
|
|
682
|
+
"$type": "dimension",
|
|
683
|
+
"$value": {
|
|
684
|
+
"value": 19,
|
|
685
|
+
"unit": "px"
|
|
686
|
+
},
|
|
687
|
+
"$extensions": {
|
|
688
|
+
"io.atom63.derive": "calc({$value} * var(--typography-scale, 1))"
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
},
|
|
692
|
+
"line": {
|
|
693
|
+
"height": {
|
|
694
|
+
"$type": "dimension",
|
|
695
|
+
"$value": {
|
|
696
|
+
"value": 24,
|
|
697
|
+
"unit": "px"
|
|
698
|
+
},
|
|
699
|
+
"$extensions": {
|
|
700
|
+
"io.atom63.derive": "calc({$value} * var(--typography-scale, 1))"
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
},
|
|
705
|
+
"2xl": {
|
|
706
|
+
"font": {
|
|
707
|
+
"size": {
|
|
708
|
+
"$type": "dimension",
|
|
709
|
+
"$value": {
|
|
710
|
+
"value": 20,
|
|
711
|
+
"unit": "px"
|
|
712
|
+
},
|
|
713
|
+
"$extensions": {
|
|
714
|
+
"io.atom63.derive": "calc({$value} * var(--typography-scale, 1))"
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
},
|
|
718
|
+
"line": {
|
|
719
|
+
"height": {
|
|
720
|
+
"$type": "dimension",
|
|
721
|
+
"$value": {
|
|
722
|
+
"value": 25,
|
|
723
|
+
"unit": "px"
|
|
724
|
+
},
|
|
725
|
+
"$extensions": {
|
|
726
|
+
"io.atom63.derive": "calc({$value} * var(--typography-scale, 1))"
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
},
|
|
731
|
+
"3xl": {
|
|
732
|
+
"font": {
|
|
733
|
+
"size": {
|
|
734
|
+
"$type": "dimension",
|
|
735
|
+
"$value": {
|
|
736
|
+
"value": 22,
|
|
737
|
+
"unit": "px"
|
|
738
|
+
},
|
|
739
|
+
"$extensions": {
|
|
740
|
+
"io.atom63.derive": "calc({$value} * var(--typography-scale, 1))"
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
},
|
|
744
|
+
"line": {
|
|
745
|
+
"height": {
|
|
746
|
+
"$type": "dimension",
|
|
747
|
+
"$value": {
|
|
748
|
+
"value": 28,
|
|
749
|
+
"unit": "px"
|
|
750
|
+
},
|
|
751
|
+
"$extensions": {
|
|
752
|
+
"io.atom63.derive": "calc({$value} * var(--typography-scale, 1))"
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
},
|
|
757
|
+
"4xl": {
|
|
758
|
+
"font": {
|
|
759
|
+
"size": {
|
|
760
|
+
"$type": "dimension",
|
|
761
|
+
"$value": {
|
|
762
|
+
"value": 25,
|
|
763
|
+
"unit": "px"
|
|
764
|
+
},
|
|
765
|
+
"$extensions": {
|
|
766
|
+
"io.atom63.derive": "calc({$value} * var(--typography-scale, 1))"
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
},
|
|
770
|
+
"line": {
|
|
771
|
+
"height": {
|
|
772
|
+
"$type": "dimension",
|
|
773
|
+
"$value": {
|
|
774
|
+
"value": 31,
|
|
775
|
+
"unit": "px"
|
|
776
|
+
},
|
|
777
|
+
"$extensions": {
|
|
778
|
+
"io.atom63.derive": "calc({$value} * var(--typography-scale, 1))"
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
},
|
|
783
|
+
"5xl": {
|
|
784
|
+
"font": {
|
|
785
|
+
"size": {
|
|
786
|
+
"$type": "dimension",
|
|
787
|
+
"$value": {
|
|
788
|
+
"value": 28,
|
|
789
|
+
"unit": "px"
|
|
790
|
+
},
|
|
791
|
+
"$extensions": {
|
|
792
|
+
"io.atom63.derive": "calc({$value} * var(--typography-scale, 1))"
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
},
|
|
796
|
+
"line": {
|
|
797
|
+
"height": {
|
|
798
|
+
"$type": "dimension",
|
|
799
|
+
"$value": {
|
|
800
|
+
"value": 34,
|
|
801
|
+
"unit": "px"
|
|
802
|
+
},
|
|
803
|
+
"$extensions": {
|
|
804
|
+
"io.atom63.derive": "calc({$value} * var(--typography-scale, 1))"
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
},
|
|
809
|
+
"6xl": {
|
|
810
|
+
"font": {
|
|
811
|
+
"size": {
|
|
812
|
+
"$type": "dimension",
|
|
813
|
+
"$value": {
|
|
814
|
+
"value": 34,
|
|
815
|
+
"unit": "px"
|
|
816
|
+
},
|
|
817
|
+
"$extensions": {
|
|
818
|
+
"io.atom63.derive": "calc({$value} * var(--typography-scale, 1))"
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
},
|
|
822
|
+
"line": {
|
|
823
|
+
"height": {
|
|
824
|
+
"$type": "dimension",
|
|
825
|
+
"$value": {
|
|
826
|
+
"value": 41,
|
|
827
|
+
"unit": "px"
|
|
828
|
+
},
|
|
829
|
+
"$extensions": {
|
|
830
|
+
"io.atom63.derive": "calc({$value} * var(--typography-scale, 1))"
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
}
|
|
834
|
+
},
|
|
835
|
+
"7xl": {
|
|
836
|
+
"font": {
|
|
837
|
+
"size": {
|
|
838
|
+
"$type": "dimension",
|
|
839
|
+
"$value": {
|
|
840
|
+
"value": 36,
|
|
841
|
+
"unit": "px"
|
|
842
|
+
},
|
|
843
|
+
"$extensions": {
|
|
844
|
+
"io.atom63.derive": "calc({$value} * var(--typography-scale, 1))"
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
},
|
|
848
|
+
"line": {
|
|
849
|
+
"height": {
|
|
850
|
+
"$type": "dimension",
|
|
851
|
+
"$value": {
|
|
852
|
+
"value": 44,
|
|
853
|
+
"unit": "px"
|
|
854
|
+
},
|
|
855
|
+
"$extensions": {
|
|
856
|
+
"io.atom63.derive": "calc({$value} * var(--typography-scale, 1))"
|
|
857
|
+
}
|
|
858
|
+
}
|
|
859
|
+
}
|
|
860
|
+
},
|
|
861
|
+
"8xl": {
|
|
862
|
+
"font": {
|
|
863
|
+
"size": {
|
|
864
|
+
"$type": "dimension",
|
|
865
|
+
"$value": {
|
|
866
|
+
"value": 39,
|
|
867
|
+
"unit": "px"
|
|
868
|
+
},
|
|
869
|
+
"$extensions": {
|
|
870
|
+
"io.atom63.derive": "calc({$value} * var(--typography-scale, 1))"
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
},
|
|
874
|
+
"line": {
|
|
875
|
+
"height": {
|
|
876
|
+
"$type": "dimension",
|
|
877
|
+
"$value": {
|
|
878
|
+
"value": 49,
|
|
879
|
+
"unit": "px"
|
|
880
|
+
},
|
|
881
|
+
"$extensions": {
|
|
882
|
+
"io.atom63.derive": "calc({$value} * var(--typography-scale, 1))"
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
},
|
|
887
|
+
"9xl": {
|
|
888
|
+
"font": {
|
|
889
|
+
"size": {
|
|
890
|
+
"$type": "dimension",
|
|
891
|
+
"$value": {
|
|
892
|
+
"value": 44,
|
|
893
|
+
"unit": "px"
|
|
894
|
+
},
|
|
895
|
+
"$extensions": {
|
|
896
|
+
"io.atom63.derive": "calc({$value} * var(--typography-scale, 1))"
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
},
|
|
900
|
+
"line": {
|
|
901
|
+
"height": {
|
|
902
|
+
"$type": "dimension",
|
|
903
|
+
"$value": {
|
|
904
|
+
"value": 55,
|
|
905
|
+
"unit": "px"
|
|
906
|
+
},
|
|
907
|
+
"$extensions": {
|
|
908
|
+
"io.atom63.derive": "calc({$value} * var(--typography-scale, 1))"
|
|
909
|
+
}
|
|
910
|
+
}
|
|
911
|
+
}
|
|
912
|
+
},
|
|
913
|
+
"10xl": {
|
|
914
|
+
"font": {
|
|
915
|
+
"size": {
|
|
916
|
+
"$type": "dimension",
|
|
917
|
+
"$value": {
|
|
918
|
+
"value": 40,
|
|
919
|
+
"unit": "px"
|
|
920
|
+
},
|
|
921
|
+
"$extensions": {
|
|
922
|
+
"io.atom63.derive": "calc({$value} * var(--typography-scale, 1))"
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
},
|
|
926
|
+
"line": {
|
|
927
|
+
"height": {
|
|
928
|
+
"$type": "dimension",
|
|
929
|
+
"$value": {
|
|
930
|
+
"value": 44,
|
|
931
|
+
"unit": "px"
|
|
932
|
+
},
|
|
933
|
+
"$extensions": {
|
|
934
|
+
"io.atom63.derive": "calc({$value} * var(--typography-scale, 1))"
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
},
|
|
939
|
+
"11xl": {
|
|
940
|
+
"font": {
|
|
941
|
+
"size": {
|
|
942
|
+
"$type": "dimension",
|
|
943
|
+
"$value": {
|
|
944
|
+
"value": 56,
|
|
945
|
+
"unit": "px"
|
|
946
|
+
},
|
|
947
|
+
"$extensions": {
|
|
948
|
+
"io.atom63.derive": "calc({$value} * var(--typography-scale, 1))"
|
|
949
|
+
}
|
|
950
|
+
}
|
|
951
|
+
},
|
|
952
|
+
"line": {
|
|
953
|
+
"height": {
|
|
954
|
+
"$type": "dimension",
|
|
955
|
+
"$value": {
|
|
956
|
+
"value": 60,
|
|
957
|
+
"unit": "px"
|
|
958
|
+
},
|
|
959
|
+
"$extensions": {
|
|
960
|
+
"io.atom63.derive": "calc({$value} * var(--typography-scale, 1))"
|
|
961
|
+
}
|
|
962
|
+
}
|
|
963
|
+
}
|
|
964
|
+
}
|
|
965
|
+
},
|
|
966
|
+
"a63": {
|
|
967
|
+
"control": {
|
|
968
|
+
"height": {
|
|
969
|
+
"xs": {
|
|
970
|
+
"$type": "dimension",
|
|
971
|
+
"$value": "{a63.space.unit}",
|
|
972
|
+
"$extensions": {
|
|
973
|
+
"io.atom63.derive": "round(nearest, calc({a63.space.unit} * 9), 1px)"
|
|
974
|
+
},
|
|
975
|
+
"$description": "Controls on a phone: the iOS height ramp (36/40/44/48/52), and every standard control label\n at body size (17), as iOS sets buttons, rows, fields and menus. xs stays at footnote size\n for badges, shortcuts and initials. Weight and press feedback stay with the design language."
|
|
976
|
+
},
|
|
977
|
+
"sm": {
|
|
978
|
+
"$type": "dimension",
|
|
979
|
+
"$value": "{a63.space.unit}",
|
|
980
|
+
"$extensions": {
|
|
981
|
+
"io.atom63.derive": "round(nearest, calc({a63.space.unit} * 10), 1px)"
|
|
982
|
+
}
|
|
983
|
+
},
|
|
984
|
+
"md": {
|
|
985
|
+
"$type": "dimension",
|
|
986
|
+
"$value": "{a63.space.unit}",
|
|
987
|
+
"$extensions": {
|
|
988
|
+
"io.atom63.derive": "round(nearest, calc({a63.space.unit} * 11), 1px)"
|
|
989
|
+
}
|
|
990
|
+
},
|
|
991
|
+
"lg": {
|
|
992
|
+
"$type": "dimension",
|
|
993
|
+
"$value": "{a63.space.unit}",
|
|
994
|
+
"$extensions": {
|
|
995
|
+
"io.atom63.derive": "round(nearest, calc({a63.space.unit} * 12), 1px)"
|
|
996
|
+
}
|
|
997
|
+
},
|
|
998
|
+
"xl": {
|
|
999
|
+
"$type": "dimension",
|
|
1000
|
+
"$value": "{a63.space.unit}",
|
|
1001
|
+
"$extensions": {
|
|
1002
|
+
"io.atom63.derive": "round(nearest, calc({a63.space.unit} * 13), 1px)"
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
},
|
|
1006
|
+
"padding": {
|
|
1007
|
+
"inline": {
|
|
1008
|
+
"xs": {
|
|
1009
|
+
"$type": "dimension",
|
|
1010
|
+
"$value": "{a63.space.3}"
|
|
1011
|
+
},
|
|
1012
|
+
"sm": {
|
|
1013
|
+
"$type": "dimension",
|
|
1014
|
+
"$value": "{a63.space.3_5}"
|
|
1015
|
+
},
|
|
1016
|
+
"md": {
|
|
1017
|
+
"$type": "dimension",
|
|
1018
|
+
"$value": "{a63.space.4}"
|
|
1019
|
+
},
|
|
1020
|
+
"lg": {
|
|
1021
|
+
"$type": "dimension",
|
|
1022
|
+
"$value": "{a63.space.5}"
|
|
1023
|
+
},
|
|
1024
|
+
"xl": {
|
|
1025
|
+
"$type": "dimension",
|
|
1026
|
+
"$value": "{a63.space.6}"
|
|
1027
|
+
}
|
|
1028
|
+
}
|
|
1029
|
+
},
|
|
1030
|
+
"font": {
|
|
1031
|
+
"size": {
|
|
1032
|
+
"xs": {
|
|
1033
|
+
"$type": "dimension",
|
|
1034
|
+
"$value": "{typography.xs.font.size}"
|
|
1035
|
+
},
|
|
1036
|
+
"sm": {
|
|
1037
|
+
"$type": "dimension",
|
|
1038
|
+
"$value": "{typography.base.font.size}"
|
|
1039
|
+
},
|
|
1040
|
+
"md": {
|
|
1041
|
+
"$type": "dimension",
|
|
1042
|
+
"$value": "{typography.base.font.size}"
|
|
1043
|
+
},
|
|
1044
|
+
"lg": {
|
|
1045
|
+
"$type": "dimension",
|
|
1046
|
+
"$value": "{typography.base.font.size}"
|
|
1047
|
+
},
|
|
1048
|
+
"xl": {
|
|
1049
|
+
"$type": "dimension",
|
|
1050
|
+
"$value": "{typography.lg.font.size}"
|
|
1051
|
+
},
|
|
1052
|
+
"secondary": {
|
|
1053
|
+
"$type": "dimension",
|
|
1054
|
+
"$value": "{typography.sm.font.size}",
|
|
1055
|
+
"$description": "The secondary line under a title or label (an Item, Field or Form description, a Frame or\n ConnectedPanel description): subheadline size (15), so it stays below the 17px title. Declared\n only here; recipes fall back to --a63-control-font-size-sm, so other scopes are unchanged."
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
},
|
|
1059
|
+
"icon": {
|
|
1060
|
+
"size": {
|
|
1061
|
+
"xs": {
|
|
1062
|
+
"$type": "dimension",
|
|
1063
|
+
"$value": {
|
|
1064
|
+
"value": 0.875,
|
|
1065
|
+
"unit": "rem"
|
|
1066
|
+
}
|
|
1067
|
+
},
|
|
1068
|
+
"sm": {
|
|
1069
|
+
"$type": "dimension",
|
|
1070
|
+
"$value": {
|
|
1071
|
+
"value": 1,
|
|
1072
|
+
"unit": "rem"
|
|
1073
|
+
}
|
|
1074
|
+
},
|
|
1075
|
+
"md": {
|
|
1076
|
+
"$type": "dimension",
|
|
1077
|
+
"$value": {
|
|
1078
|
+
"value": 1.125,
|
|
1079
|
+
"unit": "rem"
|
|
1080
|
+
}
|
|
1081
|
+
},
|
|
1082
|
+
"lg": {
|
|
1083
|
+
"$type": "dimension",
|
|
1084
|
+
"$value": {
|
|
1085
|
+
"value": 1.25,
|
|
1086
|
+
"unit": "rem"
|
|
1087
|
+
}
|
|
1088
|
+
},
|
|
1089
|
+
"xl": {
|
|
1090
|
+
"$type": "dimension",
|
|
1091
|
+
"$value": {
|
|
1092
|
+
"value": 1.375,
|
|
1093
|
+
"unit": "rem"
|
|
1094
|
+
}
|
|
1095
|
+
}
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
},
|
|
1099
|
+
"row": {
|
|
1100
|
+
"padding": {
|
|
1101
|
+
"block": {
|
|
1102
|
+
"xs": {
|
|
1103
|
+
"$type": "dimension",
|
|
1104
|
+
"$value": "{a63.space.1}",
|
|
1105
|
+
"$extensions": {
|
|
1106
|
+
"io.atom63.derive": "round(nearest, {a63.space.1}, 1px)"
|
|
1107
|
+
}
|
|
1108
|
+
},
|
|
1109
|
+
"sm": {
|
|
1110
|
+
"$type": "dimension",
|
|
1111
|
+
"$value": "{a63.space.1_5}",
|
|
1112
|
+
"$extensions": {
|
|
1113
|
+
"io.atom63.derive": "round(nearest, {a63.space.1_5}, 1px)"
|
|
1114
|
+
}
|
|
1115
|
+
},
|
|
1116
|
+
"md": {
|
|
1117
|
+
"$type": "dimension",
|
|
1118
|
+
"$value": "{a63.space.2}",
|
|
1119
|
+
"$extensions": {
|
|
1120
|
+
"io.atom63.derive": "round(nearest, {a63.space.2}, 1px)"
|
|
1121
|
+
}
|
|
1122
|
+
}
|
|
1123
|
+
}
|
|
1124
|
+
}
|
|
1125
|
+
},
|
|
1126
|
+
"switch": {
|
|
1127
|
+
"thumb": {
|
|
1128
|
+
"size": {
|
|
1129
|
+
"$type": "dimension",
|
|
1130
|
+
"$value": {
|
|
1131
|
+
"value": 1.375,
|
|
1132
|
+
"unit": "rem"
|
|
1133
|
+
},
|
|
1134
|
+
"$description": "The switch of a phone (iOS 26): a 22px-tall pill knob 1.6 times as wide, on a track of about 63 by 28, as measured on a 3x iPhone screenshot. The height matches the iOS design language; the wide thumb is the phone's own."
|
|
1135
|
+
},
|
|
1136
|
+
"aspect": {
|
|
1137
|
+
"$type": "number",
|
|
1138
|
+
"$value": 1.6
|
|
1139
|
+
}
|
|
1140
|
+
}
|
|
1141
|
+
},
|
|
1142
|
+
"inset": {
|
|
1143
|
+
"row": {
|
|
1144
|
+
"min": {
|
|
1145
|
+
"size": {
|
|
1146
|
+
"$type": "dimension",
|
|
1147
|
+
"$value": "{a63.space.unit}",
|
|
1148
|
+
"$extensions": {
|
|
1149
|
+
"io.atom63.derive": "round(nearest, calc({a63.space.unit} * 13), 1px)"
|
|
1150
|
+
},
|
|
1151
|
+
"$description": "The row of a phone's grouped list (ItemGroup variant=\"inset\", default and sm rows): 52px tall, as iOS 26 Settings and a 3x reference capture both measure (51-52pt). Declared only here; the Item recipe falls back to its control-height floor elsewhere."
|
|
1152
|
+
}
|
|
1153
|
+
}
|
|
1154
|
+
},
|
|
1155
|
+
"group": {
|
|
1156
|
+
"radius": {
|
|
1157
|
+
"$type": "dimension",
|
|
1158
|
+
"$value": "{radius.2xl}",
|
|
1159
|
+
"$description": "The corner of a phone's grouped-list card (ItemGroup variant=\"inset\"): the 2xl step (18px at defaults), after a 3x reference capture that fits a 19pt corner. Follows the radius axis. Declared only here; the Item recipe falls back to --radius-lg elsewhere."
|
|
1160
|
+
}
|
|
1161
|
+
}
|
|
1162
|
+
}
|
|
1163
|
+
}
|
|
1164
|
+
}
|
|
1165
|
+
],
|
|
1166
|
+
"$extensions": {
|
|
1167
|
+
"io.atom63.css": {
|
|
1168
|
+
"selector": "[data-a63-form-factor='phone'],\n[data-a63-form-factor='phone'] :is([data-a63-density], [data-density])"
|
|
1169
|
+
}
|
|
1170
|
+
}
|
|
1171
|
+
}
|
|
1172
|
+
},
|
|
1173
|
+
"resolutionOrder": [
|
|
1174
|
+
{
|
|
1175
|
+
"$ref": "#/sets/01-root"
|
|
1176
|
+
},
|
|
1177
|
+
{
|
|
1178
|
+
"$ref": "#/sets/03-media-max-width-40rem-root"
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
"$ref": "#/sets/04-is-data-a63-density-compact-data-density-compact"
|
|
1182
|
+
},
|
|
1183
|
+
{
|
|
1184
|
+
"$ref": "#/sets/05-is-data-a63-density-comfortable-data-density-com"
|
|
1185
|
+
},
|
|
1186
|
+
{
|
|
1187
|
+
"$ref": "#/sets/05a-density-scope"
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
"$ref": "#/sets/06-media-pointer-coarse-root"
|
|
1191
|
+
},
|
|
1192
|
+
{
|
|
1193
|
+
"$ref": "#/sets/07-is-data-a63-input-touch-data-input-touch"
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
"$ref": "#/sets/08-is-data-a63-input-pointer-data-input-pointer-dat"
|
|
1197
|
+
},
|
|
1198
|
+
{
|
|
1199
|
+
"$ref": "#/sets/09-is-data-a63-design-language-ios-data-design-lang"
|
|
1200
|
+
},
|
|
1201
|
+
{
|
|
1202
|
+
"$ref": "#/sets/10-data-a63-form-factor-phone"
|
|
1203
|
+
}
|
|
1204
|
+
],
|
|
1205
|
+
"$extensions": {
|
|
1206
|
+
"io.atom63.css": {
|
|
1207
|
+
"imports": ["./environment.native.css"]
|
|
1208
|
+
}
|
|
1209
|
+
}
|
|
1210
|
+
}
|