@helloimjolopez-pathway/pathway-tokens 6.0.0 → 7.0.1
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/README.md +69 -15
- package/components/scrollbar/scrollbar.jsx +19 -4
- package/components/sidenav/sidenav.jsx +85 -14
- package/dist/README.md +96 -0
- package/dist/breakpoints.css +11 -4
- package/dist/contract.json +356 -0
- package/dist/layout-contextual.css +30 -37
- package/dist/layout-responsive.css +46 -0
- package/dist/layout.css +19 -10
- package/dist/motion.css +17 -3
- package/dist/primitives.css +138 -116
- package/dist/themes/light.css +171 -314
- package/dist/themes/midnight.css +161 -302
- package/dist/tokens.js +4100 -9535
- package/dist/tokens.json +1737 -3723
- package/dist/type.css +23 -6
- package/package.json +13 -6
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "The names a consumer may use. Generated from the emitted CSS by scripts/build-contract.js — do not hand-edit. Lint against `contract` if you want the boundary enforced; nothing here blocks a primitive.",
|
|
3
|
+
"version": "7.0.1",
|
|
4
|
+
"generated": "2026-09-16",
|
|
5
|
+
"counts": {
|
|
6
|
+
"contract": 278,
|
|
7
|
+
"infrastructure": 380,
|
|
8
|
+
"declarationsAcrossAllFiles": 827
|
|
9
|
+
},
|
|
10
|
+
"loadOrder": [
|
|
11
|
+
"primitives.css",
|
|
12
|
+
"themes/light.css",
|
|
13
|
+
"themes/midnight.css",
|
|
14
|
+
"type.css",
|
|
15
|
+
"layout.css",
|
|
16
|
+
"motion.css",
|
|
17
|
+
"layout-responsive.css",
|
|
18
|
+
"breakpoints.css"
|
|
19
|
+
],
|
|
20
|
+
"files": {
|
|
21
|
+
"primitives.css": {
|
|
22
|
+
"contract": false,
|
|
23
|
+
"mustLoad": true,
|
|
24
|
+
"count": 352,
|
|
25
|
+
"role": "Raw colour ramps. Load it; do not name it."
|
|
26
|
+
},
|
|
27
|
+
"themes/light.css": {
|
|
28
|
+
"contract": true,
|
|
29
|
+
"mustLoad": true,
|
|
30
|
+
"count": 169,
|
|
31
|
+
"role": "Colour contract, Light Mode."
|
|
32
|
+
},
|
|
33
|
+
"themes/midnight.css": {
|
|
34
|
+
"contract": true,
|
|
35
|
+
"mustLoad": true,
|
|
36
|
+
"count": 169,
|
|
37
|
+
"role": "Colour contract, Midnight Mode. Same names as light."
|
|
38
|
+
},
|
|
39
|
+
"type.css": {
|
|
40
|
+
"contract": true,
|
|
41
|
+
"mustLoad": true,
|
|
42
|
+
"count": 41,
|
|
43
|
+
"role": "Type scale. Compose from these."
|
|
44
|
+
},
|
|
45
|
+
"layout.css": {
|
|
46
|
+
"contract": true,
|
|
47
|
+
"mustLoad": true,
|
|
48
|
+
"count": 40,
|
|
49
|
+
"role": "Spacing, radii, border widths."
|
|
50
|
+
},
|
|
51
|
+
"layout-contextual.css": {
|
|
52
|
+
"contract": false,
|
|
53
|
+
"mustLoad": false,
|
|
54
|
+
"count": 28,
|
|
55
|
+
"role": "Per-component metrics. This repo's components use these."
|
|
56
|
+
},
|
|
57
|
+
"motion.css": {
|
|
58
|
+
"contract": true,
|
|
59
|
+
"mustLoad": true,
|
|
60
|
+
"count": 17,
|
|
61
|
+
"role": "Durations and easings."
|
|
62
|
+
},
|
|
63
|
+
"layout-responsive.css": {
|
|
64
|
+
"contract": true,
|
|
65
|
+
"mustLoad": true,
|
|
66
|
+
"count": 6,
|
|
67
|
+
"role": "Sheet and TopNav padding. The only layout tokens with media queries."
|
|
68
|
+
},
|
|
69
|
+
"breakpoints.css": {
|
|
70
|
+
"contract": true,
|
|
71
|
+
"mustLoad": true,
|
|
72
|
+
"count": 5,
|
|
73
|
+
"role": "Breakpoint values."
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"contract": [
|
|
77
|
+
"--breakpoints-desktop-1440px",
|
|
78
|
+
"--breakpoints-desktop-1920px",
|
|
79
|
+
"--breakpoints-mobile-393px",
|
|
80
|
+
"--breakpoints-tablet-1024px",
|
|
81
|
+
"--breakpoints-tablet-768px",
|
|
82
|
+
"--motion-duration-1",
|
|
83
|
+
"--motion-duration-2",
|
|
84
|
+
"--motion-duration-3",
|
|
85
|
+
"--motion-duration-4",
|
|
86
|
+
"--motion-duration-5",
|
|
87
|
+
"--motion-duration-6",
|
|
88
|
+
"--motion-duration-7",
|
|
89
|
+
"--motion-duration-8",
|
|
90
|
+
"--motion-duration-loop",
|
|
91
|
+
"--motion-duration-loop-fast",
|
|
92
|
+
"--motion-easing-accelerate",
|
|
93
|
+
"--motion-easing-accordion",
|
|
94
|
+
"--motion-easing-decelerate",
|
|
95
|
+
"--motion-easing-emphasized",
|
|
96
|
+
"--motion-easing-linear",
|
|
97
|
+
"--motion-easing-spring",
|
|
98
|
+
"--motion-easing-standard",
|
|
99
|
+
"--semantic-color-fill-action-disabled",
|
|
100
|
+
"--semantic-color-fill-action-primary-strong-hover",
|
|
101
|
+
"--semantic-color-fill-action-primary-strong-pressed",
|
|
102
|
+
"--semantic-color-fill-action-primary-strong-rest",
|
|
103
|
+
"--semantic-color-fill-action-primary-subtle-hover",
|
|
104
|
+
"--semantic-color-fill-action-primary-subtle-pressed",
|
|
105
|
+
"--semantic-color-fill-action-primary-subtle-rest",
|
|
106
|
+
"--semantic-color-fill-action-secondary-hover",
|
|
107
|
+
"--semantic-color-fill-action-secondary-pressed",
|
|
108
|
+
"--semantic-color-fill-action-secondary-rest",
|
|
109
|
+
"--semantic-color-fill-action-selection-hover",
|
|
110
|
+
"--semantic-color-fill-action-selection-selected",
|
|
111
|
+
"--semantic-color-fill-action-selection-trail",
|
|
112
|
+
"--semantic-color-fill-action-status-attention-hover",
|
|
113
|
+
"--semantic-color-fill-action-status-attention-pressed",
|
|
114
|
+
"--semantic-color-fill-action-status-attention-rest",
|
|
115
|
+
"--semantic-color-fill-action-status-info-hover",
|
|
116
|
+
"--semantic-color-fill-action-status-info-pressed",
|
|
117
|
+
"--semantic-color-fill-action-status-info-rest",
|
|
118
|
+
"--semantic-color-fill-action-status-negative-strong-hover",
|
|
119
|
+
"--semantic-color-fill-action-status-negative-strong-pressed",
|
|
120
|
+
"--semantic-color-fill-action-status-negative-strong-rest",
|
|
121
|
+
"--semantic-color-fill-action-status-negative-subtle-hover",
|
|
122
|
+
"--semantic-color-fill-action-status-negative-subtle-pressed",
|
|
123
|
+
"--semantic-color-fill-action-status-negative-subtle-rest",
|
|
124
|
+
"--semantic-color-fill-action-status-positive-strong-hover",
|
|
125
|
+
"--semantic-color-fill-action-status-positive-strong-pressed",
|
|
126
|
+
"--semantic-color-fill-action-status-positive-strong-rest",
|
|
127
|
+
"--semantic-color-fill-action-status-positive-subtle-hover",
|
|
128
|
+
"--semantic-color-fill-action-status-positive-subtle-pressed",
|
|
129
|
+
"--semantic-color-fill-action-status-positive-subtle-rest",
|
|
130
|
+
"--semantic-color-fill-action-status-severe-hover",
|
|
131
|
+
"--semantic-color-fill-action-status-severe-pressed",
|
|
132
|
+
"--semantic-color-fill-action-status-severe-rest",
|
|
133
|
+
"--semantic-color-fill-static-accent-jade-strong",
|
|
134
|
+
"--semantic-color-fill-static-accent-jade-subtle",
|
|
135
|
+
"--semantic-color-fill-static-accent-lagoon-strong",
|
|
136
|
+
"--semantic-color-fill-static-accent-lagoon-subtle",
|
|
137
|
+
"--semantic-color-fill-static-accent-mauve-strong",
|
|
138
|
+
"--semantic-color-fill-static-accent-mauve-subtle",
|
|
139
|
+
"--semantic-color-fill-static-accent-seabreeze-strong",
|
|
140
|
+
"--semantic-color-fill-static-accent-seabreeze-subtle",
|
|
141
|
+
"--semantic-color-fill-static-attention-strong",
|
|
142
|
+
"--semantic-color-fill-static-attention-subtle",
|
|
143
|
+
"--semantic-color-fill-static-brand-base",
|
|
144
|
+
"--semantic-color-fill-static-brand-bold",
|
|
145
|
+
"--semantic-color-fill-static-brand-faint",
|
|
146
|
+
"--semantic-color-fill-static-brand-strong",
|
|
147
|
+
"--semantic-color-fill-static-brand-strongest",
|
|
148
|
+
"--semantic-color-fill-static-brand-subtle",
|
|
149
|
+
"--semantic-color-fill-static-info-strong",
|
|
150
|
+
"--semantic-color-fill-static-info-subtle",
|
|
151
|
+
"--semantic-color-fill-static-negative-strong",
|
|
152
|
+
"--semantic-color-fill-static-negative-subtle",
|
|
153
|
+
"--semantic-color-fill-static-neutral-base",
|
|
154
|
+
"--semantic-color-fill-static-neutral-faint",
|
|
155
|
+
"--semantic-color-fill-static-neutral-mono",
|
|
156
|
+
"--semantic-color-fill-static-neutral-strong",
|
|
157
|
+
"--semantic-color-fill-static-neutral-subtle",
|
|
158
|
+
"--semantic-color-fill-static-positive-strong",
|
|
159
|
+
"--semantic-color-fill-static-positive-subtle",
|
|
160
|
+
"--semantic-color-fill-static-severe-strong",
|
|
161
|
+
"--semantic-color-fill-static-severe-subtle",
|
|
162
|
+
"--semantic-color-fill-surface-canvas",
|
|
163
|
+
"--semantic-color-fill-surface-elevated",
|
|
164
|
+
"--semantic-color-fill-surface-sheet",
|
|
165
|
+
"--semantic-color-foreground-action-disabled",
|
|
166
|
+
"--semantic-color-foreground-action-primary-on-subtle-hover",
|
|
167
|
+
"--semantic-color-foreground-action-primary-on-subtle-pressed",
|
|
168
|
+
"--semantic-color-foreground-action-primary-on-subtle-rest",
|
|
169
|
+
"--semantic-color-foreground-action-secondary-hover",
|
|
170
|
+
"--semantic-color-foreground-action-secondary-pressed",
|
|
171
|
+
"--semantic-color-foreground-action-secondary-rest",
|
|
172
|
+
"--semantic-color-foreground-action-secondary-subtle-hover",
|
|
173
|
+
"--semantic-color-foreground-action-secondary-subtle-pressed",
|
|
174
|
+
"--semantic-color-foreground-action-secondary-subtle-rest",
|
|
175
|
+
"--semantic-color-foreground-action-status-attention-on-subtle-hover",
|
|
176
|
+
"--semantic-color-foreground-action-status-attention-on-subtle-pressed",
|
|
177
|
+
"--semantic-color-foreground-action-status-attention-on-subtle-rest",
|
|
178
|
+
"--semantic-color-foreground-action-status-info-on-subtle-hover",
|
|
179
|
+
"--semantic-color-foreground-action-status-info-on-subtle-pressed",
|
|
180
|
+
"--semantic-color-foreground-action-status-info-on-subtle-rest",
|
|
181
|
+
"--semantic-color-foreground-action-status-negative-on-subtle-hover",
|
|
182
|
+
"--semantic-color-foreground-action-status-negative-on-subtle-pressed",
|
|
183
|
+
"--semantic-color-foreground-action-status-negative-on-subtle-rest",
|
|
184
|
+
"--semantic-color-foreground-action-status-positive-on-subtle-hover",
|
|
185
|
+
"--semantic-color-foreground-action-status-positive-on-subtle-pressed",
|
|
186
|
+
"--semantic-color-foreground-action-status-positive-on-subtle-rest",
|
|
187
|
+
"--semantic-color-foreground-action-status-severe-on-subtle-hover",
|
|
188
|
+
"--semantic-color-foreground-action-status-severe-on-subtle-pressed",
|
|
189
|
+
"--semantic-color-foreground-action-status-severe-on-subtle-rest",
|
|
190
|
+
"--semantic-color-foreground-static-accent-jade-on-strong",
|
|
191
|
+
"--semantic-color-foreground-static-accent-jade-on-subtle",
|
|
192
|
+
"--semantic-color-foreground-static-accent-lagoon-on-strong",
|
|
193
|
+
"--semantic-color-foreground-static-accent-lagoon-on-subtle",
|
|
194
|
+
"--semantic-color-foreground-static-accent-mauve-on-strong",
|
|
195
|
+
"--semantic-color-foreground-static-accent-mauve-on-subtle",
|
|
196
|
+
"--semantic-color-foreground-static-accent-seabreeze-on-strong",
|
|
197
|
+
"--semantic-color-foreground-static-accent-seabreeze-on-subtle",
|
|
198
|
+
"--semantic-color-foreground-static-attention-on-strong",
|
|
199
|
+
"--semantic-color-foreground-static-attention-on-subtle",
|
|
200
|
+
"--semantic-color-foreground-static-brand-on-strong",
|
|
201
|
+
"--semantic-color-foreground-static-brand-on-subtle",
|
|
202
|
+
"--semantic-color-foreground-static-info-on-strong",
|
|
203
|
+
"--semantic-color-foreground-static-info-on-subtle",
|
|
204
|
+
"--semantic-color-foreground-static-negative-on-strong",
|
|
205
|
+
"--semantic-color-foreground-static-negative-on-subtle",
|
|
206
|
+
"--semantic-color-foreground-static-neutral-base",
|
|
207
|
+
"--semantic-color-foreground-static-neutral-bold",
|
|
208
|
+
"--semantic-color-foreground-static-neutral-faint",
|
|
209
|
+
"--semantic-color-foreground-static-neutral-mono",
|
|
210
|
+
"--semantic-color-foreground-static-neutral-strong",
|
|
211
|
+
"--semantic-color-foreground-static-neutral-subtle",
|
|
212
|
+
"--semantic-color-foreground-static-positive-on-strong",
|
|
213
|
+
"--semantic-color-foreground-static-positive-on-subtle",
|
|
214
|
+
"--semantic-color-foreground-static-severe-on-strong",
|
|
215
|
+
"--semantic-color-foreground-static-severe-on-subtle",
|
|
216
|
+
"--semantic-color-scrim-base",
|
|
217
|
+
"--semantic-color-scrim-faint",
|
|
218
|
+
"--semantic-color-scrim-light",
|
|
219
|
+
"--semantic-color-scrim-subtle",
|
|
220
|
+
"--semantic-color-stroke-action-disabled",
|
|
221
|
+
"--semantic-color-stroke-action-field-hover",
|
|
222
|
+
"--semantic-color-stroke-action-field-pressed",
|
|
223
|
+
"--semantic-color-stroke-action-field-rest",
|
|
224
|
+
"--semantic-color-stroke-action-primary-hover",
|
|
225
|
+
"--semantic-color-stroke-action-primary-pressed",
|
|
226
|
+
"--semantic-color-stroke-action-primary-rest",
|
|
227
|
+
"--semantic-color-stroke-action-secondary-hover",
|
|
228
|
+
"--semantic-color-stroke-action-secondary-pressed",
|
|
229
|
+
"--semantic-color-stroke-action-secondary-rest",
|
|
230
|
+
"--semantic-color-stroke-action-status-attention-hover",
|
|
231
|
+
"--semantic-color-stroke-action-status-attention-pressed",
|
|
232
|
+
"--semantic-color-stroke-action-status-attention-rest",
|
|
233
|
+
"--semantic-color-stroke-action-status-info-hover",
|
|
234
|
+
"--semantic-color-stroke-action-status-info-pressed",
|
|
235
|
+
"--semantic-color-stroke-action-status-info-rest",
|
|
236
|
+
"--semantic-color-stroke-action-status-negative-hover",
|
|
237
|
+
"--semantic-color-stroke-action-status-negative-pressed",
|
|
238
|
+
"--semantic-color-stroke-action-status-negative-rest",
|
|
239
|
+
"--semantic-color-stroke-action-status-positive-hover",
|
|
240
|
+
"--semantic-color-stroke-action-status-positive-pressed",
|
|
241
|
+
"--semantic-color-stroke-action-status-positive-rest",
|
|
242
|
+
"--semantic-color-stroke-action-status-severe-hover",
|
|
243
|
+
"--semantic-color-stroke-action-status-severe-pressed",
|
|
244
|
+
"--semantic-color-stroke-action-status-severe-rest",
|
|
245
|
+
"--semantic-color-stroke-focusring-base",
|
|
246
|
+
"--semantic-color-stroke-static-accent-jade-strong",
|
|
247
|
+
"--semantic-color-stroke-static-accent-jade-subtle",
|
|
248
|
+
"--semantic-color-stroke-static-accent-lagoon-strong",
|
|
249
|
+
"--semantic-color-stroke-static-accent-lagoon-subtle",
|
|
250
|
+
"--semantic-color-stroke-static-accent-mauve-strong",
|
|
251
|
+
"--semantic-color-stroke-static-accent-mauve-subtle",
|
|
252
|
+
"--semantic-color-stroke-static-accent-seabreeze-strong",
|
|
253
|
+
"--semantic-color-stroke-static-accent-seabreeze-subtle",
|
|
254
|
+
"--semantic-color-stroke-static-attention-strong",
|
|
255
|
+
"--semantic-color-stroke-static-attention-subtle",
|
|
256
|
+
"--semantic-color-stroke-static-info-strong",
|
|
257
|
+
"--semantic-color-stroke-static-info-subtle",
|
|
258
|
+
"--semantic-color-stroke-static-negative-strong",
|
|
259
|
+
"--semantic-color-stroke-static-negative-subtle",
|
|
260
|
+
"--semantic-color-stroke-static-neutral-base",
|
|
261
|
+
"--semantic-color-stroke-static-neutral-bold",
|
|
262
|
+
"--semantic-color-stroke-static-neutral-faint",
|
|
263
|
+
"--semantic-color-stroke-static-neutral-strong",
|
|
264
|
+
"--semantic-color-stroke-static-positive-strong",
|
|
265
|
+
"--semantic-color-stroke-static-positive-subtle",
|
|
266
|
+
"--semantic-color-stroke-static-severe-strong",
|
|
267
|
+
"--semantic-color-stroke-static-severe-subtle",
|
|
268
|
+
"--semantic-layout-units-accessibility-touch-target-aa-height",
|
|
269
|
+
"--semantic-layout-units-accessibility-touch-target-aa-width",
|
|
270
|
+
"--semantic-layout-units-accessibility-touch-target-aaa-height",
|
|
271
|
+
"--semantic-layout-units-accessibility-touch-target-aaa-width",
|
|
272
|
+
"--semantic-layout-units-accessibility-touch-target-desktop-only-height",
|
|
273
|
+
"--semantic-layout-units-accessibility-touch-target-desktop-only-width",
|
|
274
|
+
"--semantic-layout-units-borderwidth-base",
|
|
275
|
+
"--semantic-layout-units-borderwidth-medium",
|
|
276
|
+
"--semantic-layout-units-borderwidth-thick",
|
|
277
|
+
"--semantic-layout-units-borderwidth-thin",
|
|
278
|
+
"--semantic-layout-units-borderwidth-xthick",
|
|
279
|
+
"--semantic-layout-units-borderwidth-xthin",
|
|
280
|
+
"--semantic-layout-units-borderwidth-xxthick",
|
|
281
|
+
"--semantic-layout-units-cornerradius-base",
|
|
282
|
+
"--semantic-layout-units-cornerradius-full",
|
|
283
|
+
"--semantic-layout-units-cornerradius-large",
|
|
284
|
+
"--semantic-layout-units-cornerradius-medium",
|
|
285
|
+
"--semantic-layout-units-cornerradius-small",
|
|
286
|
+
"--semantic-layout-units-cornerradius-xlarge",
|
|
287
|
+
"--semantic-layout-units-cornerradius-xsmall",
|
|
288
|
+
"--semantic-layout-units-gap-base",
|
|
289
|
+
"--semantic-layout-units-gap-medium",
|
|
290
|
+
"--semantic-layout-units-gap-relaxed",
|
|
291
|
+
"--semantic-layout-units-gap-tight",
|
|
292
|
+
"--semantic-layout-units-gap-wide",
|
|
293
|
+
"--semantic-layout-units-gap-xtight",
|
|
294
|
+
"--semantic-layout-units-gap-xxtight",
|
|
295
|
+
"--semantic-layout-units-gap-xxxtight",
|
|
296
|
+
"--semantic-layout-units-padding-base",
|
|
297
|
+
"--semantic-layout-units-padding-collosal",
|
|
298
|
+
"--semantic-layout-units-padding-ginormous",
|
|
299
|
+
"--semantic-layout-units-padding-medium",
|
|
300
|
+
"--semantic-layout-units-padding-relaxed",
|
|
301
|
+
"--semantic-layout-units-padding-tight",
|
|
302
|
+
"--semantic-layout-units-padding-wide",
|
|
303
|
+
"--semantic-layout-units-padding-xtight",
|
|
304
|
+
"--semantic-layout-units-padding-xwide",
|
|
305
|
+
"--semantic-layout-units-padding-xxtight",
|
|
306
|
+
"--semantic-layout-units-padding-xxwide",
|
|
307
|
+
"--semantic-layout-units-padding-xxxtight",
|
|
308
|
+
"--semantic-type-family-brand",
|
|
309
|
+
"--semantic-type-font-size-4xl",
|
|
310
|
+
"--semantic-type-font-size-5xl",
|
|
311
|
+
"--semantic-type-font-size-6xl",
|
|
312
|
+
"--semantic-type-font-size-l",
|
|
313
|
+
"--semantic-type-font-size-m",
|
|
314
|
+
"--semantic-type-font-size-r",
|
|
315
|
+
"--semantic-type-font-size-s",
|
|
316
|
+
"--semantic-type-font-size-xl",
|
|
317
|
+
"--semantic-type-font-size-xs",
|
|
318
|
+
"--semantic-type-font-size-xxl",
|
|
319
|
+
"--semantic-type-font-size-xxs",
|
|
320
|
+
"--semantic-type-font-size-xxxl",
|
|
321
|
+
"--semantic-type-font-size-xxxs",
|
|
322
|
+
"--semantic-type-letter-spacing-compact",
|
|
323
|
+
"--semantic-type-letter-spacing-extraspacious",
|
|
324
|
+
"--semantic-type-letter-spacing-spacious",
|
|
325
|
+
"--semantic-type-letter-spacing-wide",
|
|
326
|
+
"--semantic-type-line-height-4xl-single",
|
|
327
|
+
"--semantic-type-line-height-5xl-single",
|
|
328
|
+
"--semantic-type-line-height-6xl-single",
|
|
329
|
+
"--semantic-type-line-height-l-single",
|
|
330
|
+
"--semantic-type-line-height-m-relaxed",
|
|
331
|
+
"--semantic-type-line-height-m-single",
|
|
332
|
+
"--semantic-type-line-height-r-single",
|
|
333
|
+
"--semantic-type-line-height-s-single",
|
|
334
|
+
"--semantic-type-line-height-s-tight",
|
|
335
|
+
"--semantic-type-line-height-xl-single",
|
|
336
|
+
"--semantic-type-line-height-xs-single",
|
|
337
|
+
"--semantic-type-line-height-xs-tight",
|
|
338
|
+
"--semantic-type-line-height-xxl-single",
|
|
339
|
+
"--semantic-type-line-height-xxs-single",
|
|
340
|
+
"--semantic-type-line-height-xxs-tight",
|
|
341
|
+
"--semantic-type-line-height-xxxl-single",
|
|
342
|
+
"--semantic-type-line-height-xxxs-single",
|
|
343
|
+
"--semantic-type-line-height-xxxs-tight",
|
|
344
|
+
"--semantic-type-weight-bold",
|
|
345
|
+
"--semantic-type-weight-light",
|
|
346
|
+
"--semantic-type-weight-medium",
|
|
347
|
+
"--semantic-type-weight-regular",
|
|
348
|
+
"--semantic-type-weight-semibold",
|
|
349
|
+
"--shell-layout-sheet-padding-bottom",
|
|
350
|
+
"--shell-layout-sheet-padding-horizontal",
|
|
351
|
+
"--shell-layout-sheet-padding-top",
|
|
352
|
+
"--shell-layout-topnav-height",
|
|
353
|
+
"--shell-layout-topnav-padding-horizontal",
|
|
354
|
+
"--shell-layout-topnav-padding-vertical"
|
|
355
|
+
]
|
|
356
|
+
}
|
|
@@ -1,13 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
/*
|
|
2
|
+
==========================================================================
|
|
3
|
+
PATHWAY DESIGN TOKENS — COMPONENT INTERNALS
|
|
4
|
+
==========================================================================
|
|
5
|
+
|
|
6
|
+
Per-component metrics (Button, Card, NavItem, Page, focus ring).
|
|
7
|
+
|
|
8
|
+
This repo's own components use these. Product code generally should not —
|
|
9
|
+
prefer layout.css, which is the general spacing contract. These exist so a
|
|
10
|
+
component's geometry can be tuned without moving the whole scale.
|
|
11
|
+
|
|
12
|
+
Declares 28 custom properties.
|
|
13
|
+
Generated — do not edit. Run `npm run build-tokens`.
|
|
14
|
+
==========================================================================
|
|
15
|
+
*/
|
|
7
16
|
:root {
|
|
8
|
-
--contextual-layout-units-button-border-width-
|
|
9
|
-
--contextual-layout-units-button-border-width-
|
|
10
|
-
--contextual-layout-units-button-
|
|
17
|
+
--contextual-layout-units-button-border-width-hover: 1px;
|
|
18
|
+
--contextual-layout-units-button-border-width-rest: 0.75px;
|
|
19
|
+
--contextual-layout-units-button-corner-radius-radius: 8px;
|
|
11
20
|
--contextual-layout-units-button-gap-horizontal: 8px;
|
|
12
21
|
--contextual-layout-units-button-padding-large-horizontal: 14px;
|
|
13
22
|
--contextual-layout-units-button-padding-large-vertical: 12px;
|
|
@@ -17,36 +26,20 @@
|
|
|
17
26
|
--contextual-layout-units-button-padding-small-vertical: 6px;
|
|
18
27
|
--contextual-layout-units-button-padding-xsmall-horizontal: 8px;
|
|
19
28
|
--contextual-layout-units-button-padding-xsmall-vertical: 6px;
|
|
20
|
-
--contextual-layout-units-button-radius
|
|
21
|
-
--contextual-layout-units-card-border-width-
|
|
22
|
-
--contextual-layout-units-card-border-width-
|
|
23
|
-
--contextual-layout-units-card-cornerradius
|
|
24
|
-
--contextual-layout-units-card-gap
|
|
29
|
+
--contextual-layout-units-button-radius: 8px;
|
|
30
|
+
--contextual-layout-units-card-border-width-hover: 0.75px;
|
|
31
|
+
--contextual-layout-units-card-border-width-rest: 0.5px;
|
|
32
|
+
--contextual-layout-units-card-cornerradius: 12px;
|
|
33
|
+
--contextual-layout-units-card-gap: 8px;
|
|
25
34
|
--contextual-layout-units-card-padding-medium-horizontal: 16px;
|
|
26
35
|
--contextual-layout-units-card-padding-medium-vertical: 16px;
|
|
27
36
|
--contextual-layout-units-card-padding-small-horizontal: 14px;
|
|
28
37
|
--contextual-layout-units-card-padding-small-vertical: 14px;
|
|
29
|
-
--contextual-layout-units-
|
|
30
|
-
--contextual-layout-units-
|
|
31
|
-
--contextual-layout-units-
|
|
32
|
-
--contextual-layout-units-navitem-
|
|
33
|
-
--contextual-layout-units-navitem-
|
|
34
|
-
--contextual-layout-units-navitem-
|
|
35
|
-
--contextual-layout-units-
|
|
36
|
-
--contextual-layout-units-page-padding-horizontal: 36px;
|
|
37
|
-
--contextual-layout-units-page-padding-top: 16px;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
@media (max-width: 1023px) {
|
|
41
|
-
:root {
|
|
42
|
-
--contextual-layout-units-page-padding-horizontal: 24px;
|
|
43
|
-
--contextual-layout-units-page-padding-top: 14px;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
@media (max-width: 767px) {
|
|
48
|
-
:root {
|
|
49
|
-
--contextual-layout-units-page-padding-horizontal: 16px;
|
|
50
|
-
--contextual-layout-units-page-padding-top: 12px;
|
|
51
|
-
}
|
|
38
|
+
--contextual-layout-units-field-borderwidth: 1px;
|
|
39
|
+
--contextual-layout-units-focus-ring-offset: 2px;
|
|
40
|
+
--contextual-layout-units-focus-ring-width: 2px;
|
|
41
|
+
--contextual-layout-units-navitem-corner-radius-radius: 8px;
|
|
42
|
+
--contextual-layout-units-navitem-padding-horizontal: 14px;
|
|
43
|
+
--contextual-layout-units-navitem-padding-vertical: 12px;
|
|
44
|
+
--contextual-layout-units-selector-borderwidth: 1px;
|
|
52
45
|
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/*
|
|
2
|
+
==========================================================================
|
|
3
|
+
PATHWAY DESIGN TOKENS — CONTRACT
|
|
4
|
+
==========================================================================
|
|
5
|
+
|
|
6
|
+
The only layout tokens that change by breakpoint. Name these freely.
|
|
7
|
+
|
|
8
|
+
Sheet padding and TopNav padding/height really do tighten on smaller
|
|
9
|
+
screens, so they keep a Desktop/Tablet/Mobile axis and are emitted with
|
|
10
|
+
media queries. Everything else in layout.css and layout-contextual.css is
|
|
11
|
+
single-valued: of 69 layout tokens only these varied, so the other 66 lost
|
|
12
|
+
the mode axis on 2026-09-14 rather than carry the same number three times.
|
|
13
|
+
|
|
14
|
+
A developer cannot derive these from a responsive grid. The grid governs
|
|
15
|
+
columns; it says nothing about the chrome's padding.
|
|
16
|
+
|
|
17
|
+
Declares 14 custom properties.
|
|
18
|
+
Generated — do not edit. Run `npm run build-tokens`.
|
|
19
|
+
==========================================================================
|
|
20
|
+
*/
|
|
21
|
+
:root {
|
|
22
|
+
--shell-layout-sheet-padding-bottom: 64px;
|
|
23
|
+
--shell-layout-sheet-padding-horizontal: 36px;
|
|
24
|
+
--shell-layout-sheet-padding-top: 16px;
|
|
25
|
+
--shell-layout-topnav-height: 56px;
|
|
26
|
+
--shell-layout-topnav-padding-horizontal: 16px;
|
|
27
|
+
--shell-layout-topnav-padding-vertical: 6px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@media (max-width: 1023px) {
|
|
31
|
+
:root {
|
|
32
|
+
--shell-layout-sheet-padding-bottom: 48px;
|
|
33
|
+
--shell-layout-sheet-padding-horizontal: 24px;
|
|
34
|
+
--shell-layout-sheet-padding-top: 14px;
|
|
35
|
+
--shell-layout-topnav-padding-horizontal: 12px;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@media (max-width: 767px) {
|
|
40
|
+
:root {
|
|
41
|
+
--shell-layout-sheet-padding-bottom: 36px;
|
|
42
|
+
--shell-layout-sheet-padding-horizontal: 16px;
|
|
43
|
+
--shell-layout-sheet-padding-top: 12px;
|
|
44
|
+
--shell-layout-topnav-padding-horizontal: 8px;
|
|
45
|
+
}
|
|
46
|
+
}
|
package/dist/layout.css
CHANGED
|
@@ -1,9 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
/*
|
|
2
|
+
==========================================================================
|
|
3
|
+
PATHWAY DESIGN TOKENS — CONTRACT
|
|
4
|
+
==========================================================================
|
|
5
|
+
|
|
6
|
+
Spacing, radii and border widths. Name these freely.
|
|
7
|
+
|
|
8
|
+
Values already carry their unit, so use them directly — do NOT wrap in
|
|
9
|
+
calc(... * 1px). That produces calc(4px * 1px), which is not a length, so
|
|
10
|
+
the browser silently drops the declaration.
|
|
11
|
+
|
|
12
|
+
Breakpoints are handled by media query inside this file rather than by
|
|
13
|
+
putting the breakpoint in the property name, so one name works responsively.
|
|
14
|
+
|
|
15
|
+
Declares 40 custom properties.
|
|
16
|
+
Generated — do not edit. Run `npm run build-tokens`.
|
|
17
|
+
==========================================================================
|
|
18
|
+
*/
|
|
7
19
|
:root {
|
|
8
20
|
--semantic-layout-units-accessibility-touch-target-aa-height: 44px;
|
|
9
21
|
--semantic-layout-units-accessibility-touch-target-aa-width: 44px;
|
|
@@ -18,6 +30,7 @@
|
|
|
18
30
|
--semantic-layout-units-borderwidth-xthick: 4px;
|
|
19
31
|
--semantic-layout-units-borderwidth-xthin: 0.5px;
|
|
20
32
|
--semantic-layout-units-borderwidth-xxthick: 6px;
|
|
33
|
+
--semantic-layout-units-cornerradius-base: 8px;
|
|
21
34
|
--semantic-layout-units-cornerradius-full: 64px;
|
|
22
35
|
--semantic-layout-units-cornerradius-large: 12px;
|
|
23
36
|
--semantic-layout-units-cornerradius-medium: 8px;
|
|
@@ -45,7 +58,3 @@
|
|
|
45
58
|
--semantic-layout-units-padding-xxwide: 56px;
|
|
46
59
|
--semantic-layout-units-padding-xxxtight: 2px;
|
|
47
60
|
}
|
|
48
|
-
|
|
49
|
-
/* tablet-798pt: identical to desktop, nothing to override */
|
|
50
|
-
|
|
51
|
-
/* mobile-393pt: identical to desktop, nothing to override */
|
package/dist/motion.css
CHANGED
|
@@ -1,7 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/*
|
|
2
|
+
==========================================================================
|
|
3
|
+
PATHWAY DESIGN TOKENS — CONTRACT
|
|
4
|
+
==========================================================================
|
|
4
5
|
|
|
6
|
+
Durations and easings. Name these freely.
|
|
7
|
+
|
|
8
|
+
These are NOT in the Figma Variables panel — the panel has zero motion
|
|
9
|
+
variables. Their source of truth is docs/design-system-spec.md §2, and
|
|
10
|
+
scripts/sync-motion-tokens.js generates this file from it.
|
|
11
|
+
|
|
12
|
+
Consequence worth knowing: anyone rebuilding tokens from a Figma export
|
|
13
|
+
alone gets no motion at all, and no warning. Consume the package.
|
|
14
|
+
|
|
15
|
+
Declares 17 custom properties.
|
|
16
|
+
Generated — do not edit. Run `npm run build-tokens`.
|
|
17
|
+
==========================================================================
|
|
18
|
+
*/
|
|
5
19
|
:root {
|
|
6
20
|
--motion-duration-1: 100ms; /** Instant tap feedback, tiny opacity flickers */
|
|
7
21
|
--motion-duration-2: 150ms; /** Hover fills, small opacity fades, colour transitions — the most common micro-interaction timing */
|