@putdotio/design 1.3.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DESIGN.md +20 -8
- package/dist/css/tokens.css +142 -31
- package/dist/figma/putio.tokens.json +229 -16
- package/dist/tokens.d.ts +3 -1
- package/dist/tokens.dtcg.json +1439 -244
- package/dist/tokens.flat.json +989 -167
- package/dist/tokens.js +989 -167
- package/package.json +6 -4
- package/system/README.md +120 -19
- package/tokens/components.tokens.json +963 -5
- package/tokens/context.tokens.json +136 -120
- package/tokens/foundation.css +30 -20
- package/tokens/primitives.tokens.json +138 -23
- package/tokens/semantic.tokens.json +28 -27
|
@@ -67,10 +67,37 @@
|
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
69
|
"info": {
|
|
70
|
+
"background": {
|
|
71
|
+
"$type": "color",
|
|
72
|
+
"$value": "hsl(0, 0%, 56.1%)",
|
|
73
|
+
"$description": "Neutral solid command background in light mode."
|
|
74
|
+
},
|
|
70
75
|
"backgroundHover": {
|
|
71
76
|
"$type": "color",
|
|
72
77
|
"$value": "hsl(0, 0%, 52.3%)",
|
|
73
78
|
"$description": "Neutral solid command hover background in light mode."
|
|
79
|
+
},
|
|
80
|
+
"foreground": {
|
|
81
|
+
"$type": "color",
|
|
82
|
+
"$value": "hsl(0, 0%, 0%)",
|
|
83
|
+
"$description": "Label on the neutral solid — mode-aware for AA contrast on the gray fill."
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"default": {
|
|
87
|
+
"background": {
|
|
88
|
+
"$type": "color",
|
|
89
|
+
"$value": "hsl(0, 0%, 95.1%)",
|
|
90
|
+
"$description": "Quiet default button fill in light mode."
|
|
91
|
+
},
|
|
92
|
+
"backgroundHover": {
|
|
93
|
+
"$type": "color",
|
|
94
|
+
"$value": "hsl(0, 0%, 93.0%)",
|
|
95
|
+
"$description": "Default button hover fill in light mode."
|
|
96
|
+
},
|
|
97
|
+
"foreground": {
|
|
98
|
+
"$type": "color",
|
|
99
|
+
"$value": "hsl(0, 0%, 9.0%)",
|
|
100
|
+
"$description": "Default button label in light mode."
|
|
74
101
|
}
|
|
75
102
|
}
|
|
76
103
|
},
|
|
@@ -86,6 +113,23 @@
|
|
|
86
113
|
"radius": {
|
|
87
114
|
"$type": "dimension",
|
|
88
115
|
"$value": "6px"
|
|
116
|
+
},
|
|
117
|
+
"borderHover": {
|
|
118
|
+
"$type": "color",
|
|
119
|
+
"$value": "hsl(0, 0%, 78.0%)",
|
|
120
|
+
"$description": "shadcn-friendly alias of --field-border-hover. Always aliases the field token so the two name systems cannot drift."
|
|
121
|
+
},
|
|
122
|
+
"borderFocus": {
|
|
123
|
+
"$type": "color",
|
|
124
|
+
"$value": "hsl(0, 0%, 78.0%)"
|
|
125
|
+
},
|
|
126
|
+
"text": {
|
|
127
|
+
"$type": "color",
|
|
128
|
+
"$value": "hsl(0, 0%, 9.0%)"
|
|
129
|
+
},
|
|
130
|
+
"placeholder": {
|
|
131
|
+
"$type": "color",
|
|
132
|
+
"$value": "hsl(0, 0%, 43.5%)"
|
|
89
133
|
}
|
|
90
134
|
},
|
|
91
135
|
"fileRow": {
|
|
@@ -97,9 +141,19 @@
|
|
|
97
141
|
"$type": "color",
|
|
98
142
|
"$value": "hsl(0, 0%, 97.3%)"
|
|
99
143
|
},
|
|
144
|
+
"activeBackground": {
|
|
145
|
+
"$type": "color",
|
|
146
|
+
"$value": "hsl(0, 0%, 97.3%)"
|
|
147
|
+
},
|
|
148
|
+
"border": {
|
|
149
|
+
"$type": "color",
|
|
150
|
+
"$value": "hsl(0, 0%, 90.9%)",
|
|
151
|
+
"$description": "Row divider. File lists divide with a hairline, never zebra stripes or per-row cards."
|
|
152
|
+
},
|
|
100
153
|
"icon": {
|
|
101
154
|
"$type": "color",
|
|
102
|
-
"$value": "hsl(44.7, 97.9%, 63.1%)"
|
|
155
|
+
"$value": "hsl(44.7, 97.9%, 63.1%)",
|
|
156
|
+
"$description": "Every file kind takes this, not just the folder — folder, video, audio, image, archive, generic file alike. Utility and chrome icons stay neutral."
|
|
103
157
|
}
|
|
104
158
|
},
|
|
105
159
|
"notification": {
|
|
@@ -110,6 +164,153 @@
|
|
|
110
164
|
"dangerBackground": {
|
|
111
165
|
"$type": "color",
|
|
112
166
|
"$value": "hsl(2, 100%, 96%)"
|
|
167
|
+
},
|
|
168
|
+
"background": {
|
|
169
|
+
"$type": "color",
|
|
170
|
+
"$value": "hsl(0, 0%, 95.1%)",
|
|
171
|
+
"$description": "Default toast / inline notification surface."
|
|
172
|
+
},
|
|
173
|
+
"border": {
|
|
174
|
+
"$type": "color",
|
|
175
|
+
"$value": "hsl(0, 0%, 88.7%)"
|
|
176
|
+
},
|
|
177
|
+
"foreground": {
|
|
178
|
+
"$type": "color",
|
|
179
|
+
"$value": "hsl(0, 0%, 9.0%)"
|
|
180
|
+
},
|
|
181
|
+
"icon": {
|
|
182
|
+
"$type": "color",
|
|
183
|
+
"$value": "hsl(0, 0%, 43.5%)"
|
|
184
|
+
},
|
|
185
|
+
"successBackground": {
|
|
186
|
+
"$type": "color",
|
|
187
|
+
"$value": "hsl(140, 41%, 97%)"
|
|
188
|
+
},
|
|
189
|
+
"successBorder": {
|
|
190
|
+
"$type": "color",
|
|
191
|
+
"$value": "hsl(140, 39%, 68%)"
|
|
192
|
+
},
|
|
193
|
+
"successForeground": {
|
|
194
|
+
"$type": "color",
|
|
195
|
+
"$value": "hsl(146, 35%, 17%)"
|
|
196
|
+
},
|
|
197
|
+
"dangerBorder": {
|
|
198
|
+
"$type": "color",
|
|
199
|
+
"$value": "hsl(2, 81%, 80%)"
|
|
200
|
+
},
|
|
201
|
+
"dangerForeground": {
|
|
202
|
+
"$type": "color",
|
|
203
|
+
"$value": "hsl(358, 62%, 24%)"
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
"menu": {
|
|
207
|
+
"background": {
|
|
208
|
+
"$type": "color",
|
|
209
|
+
"$value": "hsl(0, 0%, 95.1%)",
|
|
210
|
+
"$description": "Floating menu surface."
|
|
211
|
+
},
|
|
212
|
+
"border": {
|
|
213
|
+
"$type": "color",
|
|
214
|
+
"$value": "hsl(0, 0%, 88.7%)"
|
|
215
|
+
},
|
|
216
|
+
"radius": {
|
|
217
|
+
"$type": "dimension",
|
|
218
|
+
"$value": "8px"
|
|
219
|
+
},
|
|
220
|
+
"itemBackgroundHover": {
|
|
221
|
+
"$type": "color",
|
|
222
|
+
"$value": "hsl(0, 0%, 93.0%)"
|
|
223
|
+
},
|
|
224
|
+
"itemText": {
|
|
225
|
+
"$type": "color",
|
|
226
|
+
"$value": "hsl(0, 0%, 9.0%)"
|
|
227
|
+
},
|
|
228
|
+
"itemIcon": {
|
|
229
|
+
"$type": "color",
|
|
230
|
+
"$value": "hsl(0, 0%, 43.5%)"
|
|
231
|
+
},
|
|
232
|
+
"itemShortcut": {
|
|
233
|
+
"$type": "color",
|
|
234
|
+
"$value": "hsl(0, 0%, 43.5%)"
|
|
235
|
+
},
|
|
236
|
+
"itemDangerText": {
|
|
237
|
+
"$type": "color",
|
|
238
|
+
"$value": "hsl(355, 64%, 49%)"
|
|
239
|
+
},
|
|
240
|
+
"itemDangerBackgroundHover": {
|
|
241
|
+
"$type": "color",
|
|
242
|
+
"$value": "hsl(2, 100%, 96%)"
|
|
243
|
+
},
|
|
244
|
+
"itemHeight": {
|
|
245
|
+
"$type": "dimension",
|
|
246
|
+
"$value": "32px"
|
|
247
|
+
},
|
|
248
|
+
"separator": {
|
|
249
|
+
"$type": "color",
|
|
250
|
+
"$value": "hsl(0, 0%, 88.7%)"
|
|
251
|
+
},
|
|
252
|
+
"label": {
|
|
253
|
+
"$type": "color",
|
|
254
|
+
"$value": "hsl(0, 0%, 43.5%)"
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
"palette": {
|
|
258
|
+
"background": {
|
|
259
|
+
"$type": "color",
|
|
260
|
+
"$value": "hsl(0, 0%, 95.1%)",
|
|
261
|
+
"$description": "Command palette surface."
|
|
262
|
+
},
|
|
263
|
+
"border": {
|
|
264
|
+
"$type": "color",
|
|
265
|
+
"$value": "hsl(0, 0%, 88.7%)"
|
|
266
|
+
},
|
|
267
|
+
"scrim": {
|
|
268
|
+
"$type": "color",
|
|
269
|
+
"$value": "hsla(0, 0%, 0%, 0.439)"
|
|
270
|
+
},
|
|
271
|
+
"width": {
|
|
272
|
+
"$type": "dimension",
|
|
273
|
+
"$value": "560px"
|
|
274
|
+
},
|
|
275
|
+
"inputHeight": {
|
|
276
|
+
"$type": "dimension",
|
|
277
|
+
"$value": "48px"
|
|
278
|
+
},
|
|
279
|
+
"itemHeight": {
|
|
280
|
+
"$type": "dimension",
|
|
281
|
+
"$value": "36px"
|
|
282
|
+
},
|
|
283
|
+
"itemBackgroundActive": {
|
|
284
|
+
"$type": "color",
|
|
285
|
+
"$value": "hsl(0, 0%, 93.0%)"
|
|
286
|
+
},
|
|
287
|
+
"groupLabel": {
|
|
288
|
+
"$type": "color",
|
|
289
|
+
"$value": "hsl(0, 0%, 43.5%)"
|
|
290
|
+
},
|
|
291
|
+
"itemMeta": {
|
|
292
|
+
"$type": "color",
|
|
293
|
+
"$value": "hsl(0, 0%, 43.5%)"
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"sheet": {
|
|
297
|
+
"background": {
|
|
298
|
+
"$type": "color",
|
|
299
|
+
"$value": "hsl(0, 0%, 95.1%)",
|
|
300
|
+
"$description": "Right-side detail panel surface."
|
|
301
|
+
},
|
|
302
|
+
"border": {
|
|
303
|
+
"$type": "color",
|
|
304
|
+
"$value": "hsl(0, 0%, 88.7%)"
|
|
305
|
+
},
|
|
306
|
+
"scrim": {
|
|
307
|
+
"$type": "color",
|
|
308
|
+
"$value": "hsla(0, 0%, 0%, 0.439)"
|
|
309
|
+
},
|
|
310
|
+
"width": {
|
|
311
|
+
"$type": "dimension",
|
|
312
|
+
"$value": "380px",
|
|
313
|
+
"$description": "Fixed on web. Touch surfaces use a bottom sheet instead."
|
|
113
314
|
}
|
|
114
315
|
}
|
|
115
316
|
},
|
|
@@ -342,7 +543,8 @@
|
|
|
342
543
|
},
|
|
343
544
|
"color": {
|
|
344
545
|
"$type": "color",
|
|
345
|
-
"$value": "hsl(0, 0%, 78.0%)"
|
|
546
|
+
"$value": "hsl(0, 0%, 78.0%)",
|
|
547
|
+
"$description": "Compat name kept for existing web consumers — alias of elevation.shadowColor so the two can never drift."
|
|
346
548
|
},
|
|
347
549
|
"focusColor": {
|
|
348
550
|
"$type": "color",
|
|
@@ -359,13 +561,10 @@
|
|
|
359
561
|
"$type": "fontFamily",
|
|
360
562
|
"$value": "\"GT America\", sans-serif"
|
|
361
563
|
},
|
|
362
|
-
"uiMono": {
|
|
363
|
-
"$type": "fontFamily",
|
|
364
|
-
"$value": "\"GT America Mono\", monospace"
|
|
365
|
-
},
|
|
366
564
|
"mono": {
|
|
367
565
|
"$type": "fontFamily",
|
|
368
|
-
"$value": "\"Berkeley Mono\",
|
|
566
|
+
"$value": "\"Berkeley Mono\", monospace",
|
|
567
|
+
"$description": "The single mono face: numerics, timestamps, file sizes, ETAs, counts, code, logs, magnet URIs, identifiers, and filenames. Web and mobile only — TV has no mono face."
|
|
369
568
|
}
|
|
370
569
|
},
|
|
371
570
|
"fontSize": {
|
|
@@ -375,39 +574,48 @@
|
|
|
375
574
|
},
|
|
376
575
|
"sm": {
|
|
377
576
|
"$type": "dimension",
|
|
378
|
-
"$value": "0.
|
|
577
|
+
"$value": "0.875rem",
|
|
578
|
+
"$description": "Caption and button labels — production fontSize 0."
|
|
379
579
|
},
|
|
380
580
|
"base": {
|
|
381
581
|
"$type": "dimension",
|
|
382
|
-
"$value": "
|
|
582
|
+
"$value": "1rem",
|
|
583
|
+
"$description": "Body, labels, inputs — production fontSize 1; equals the responsive root (14px, 15px at >= breakpoint.lg)."
|
|
383
584
|
},
|
|
384
585
|
"md": {
|
|
385
586
|
"$type": "dimension",
|
|
386
|
-
"$value": "
|
|
587
|
+
"$value": "1.125rem",
|
|
588
|
+
"$description": "Subheading."
|
|
387
589
|
},
|
|
388
590
|
"lg": {
|
|
389
591
|
"$type": "dimension",
|
|
390
|
-
"$value": "1.
|
|
592
|
+
"$value": "1.5rem",
|
|
593
|
+
"$description": "Heading."
|
|
391
594
|
},
|
|
392
595
|
"xl": {
|
|
393
596
|
"$type": "dimension",
|
|
394
|
-
"$value": "
|
|
597
|
+
"$value": "2rem",
|
|
598
|
+
"$description": "Page title."
|
|
395
599
|
},
|
|
396
600
|
"2xl": {
|
|
397
601
|
"$type": "dimension",
|
|
398
|
-
"$value": "
|
|
602
|
+
"$value": "48px",
|
|
603
|
+
"$description": "Fixed display tier — does not scale with the responsive root."
|
|
399
604
|
},
|
|
400
605
|
"3xl": {
|
|
401
606
|
"$type": "dimension",
|
|
402
|
-
"$value": "
|
|
607
|
+
"$value": "64px",
|
|
608
|
+
"$description": "Fixed display tier — does not scale with the responsive root."
|
|
403
609
|
},
|
|
404
610
|
"4xl": {
|
|
405
611
|
"$type": "dimension",
|
|
406
|
-
"$value": "
|
|
612
|
+
"$value": "64px",
|
|
613
|
+
"$description": "Compatibility alias for the former 4xl tier; new surfaces should use fontSize.3xl or fontSize.display."
|
|
407
614
|
},
|
|
408
615
|
"display": {
|
|
409
616
|
"$type": "dimension",
|
|
410
|
-
"$value": "
|
|
617
|
+
"$value": "96px",
|
|
618
|
+
"$description": "Fixed display tier for brand display moments."
|
|
411
619
|
}
|
|
412
620
|
},
|
|
413
621
|
"lineHeight": {
|
|
@@ -523,6 +731,11 @@
|
|
|
523
731
|
"pill": {
|
|
524
732
|
"$type": "dimension",
|
|
525
733
|
"$value": "999px"
|
|
734
|
+
},
|
|
735
|
+
"tv": {
|
|
736
|
+
"$type": "dimension",
|
|
737
|
+
"$value": "12px",
|
|
738
|
+
"$description": "The corner radius for every 10-foot surface — list rows, buttons, sheets, cards, code tiles, and keys. TV uses one radius, not a scale; the only other radii on TV are intentional pills and circles."
|
|
526
739
|
}
|
|
527
740
|
},
|
|
528
741
|
"border": {
|
package/dist/tokens.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Do not edit directly. Generated from tokens/**/*.tokens.json.
|
|
2
2
|
|
|
3
|
-
export type PutioTokenName = "component.button.primary.background" | "component.button.primary.backgroundHover" | "component.button.primary.backgroundHoverDark" | "component.button.primary.foreground" | "component.button.primary.radius" | "component.button.secondary.background" | "component.button.secondary.backgroundDark" | "component.button.secondary.foreground" | "component.button.secondary.foregroundDark" | "component.button.success.background" | "component.button.success.backgroundDark" | "component.button.success.backgroundHover" | "component.button.success.backgroundHoverDark" | "component.button.success.foreground" | "component.button.danger.background" | "component.button.danger.backgroundDark" | "component.button.danger.backgroundHover" | "component.button.danger.backgroundHoverDark" | "component.button.danger.foreground" | "component.button.info.backgroundHover" | "component.button.info.backgroundHoverDark" | "component.input.background" | "component.input.backgroundDark" | "component.input.border" | "component.input.borderDark" | "component.input.radius" | "component.field.background" | "component.field.backgroundDark" | "component.field.backgroundDisabled" | "component.field.backgroundDisabledDark" | "component.field.border" | "component.field.borderDark" | "component.field.borderHover" | "component.field.borderHoverDark" | "component.field.borderFocus" | "component.field.borderFocusDark" | "component.field.text" | "component.field.textDark" | "component.field.placeholder" | "component.field.placeholderDark" | "component.field.ring" | "component.field.ringDark" | "component.panel.background" | "component.panel.backgroundDark" | "component.panel.border" | "component.panel.borderDark" | "component.panel.radius" | "component.panel.shadow" | "component.panel.shadowDark" | "component.alias.background" | "component.alias.backgroundDark" | "component.alias.foreground" | "component.alias.foregroundDark" | "component.alias.foregroundMuted" | "component.alias.foregroundMutedDark" | "component.alias.primary" | "component.alias.primaryForeground" | "component.alias.success" | "component.alias.successDark" | "component.alias.successForeground" | "component.alias.destructive" | "component.alias.destructiveDark" | "component.alias.destructiveForeground" | "component.alias.invertForeground" | "component.alias.invertForegroundDark" | "component.alias.solidForeground" | "component.alias.solidForegroundDark" | "component.alias.muted" | "component.alias.mutedDark" | "component.alias.mutedForeground" | "component.alias.mutedForegroundDark" | "component.alias.accent" | "component.alias.accentDark" | "component.alias.accentForeground" | "component.alias.accentForegroundDark" | "component.alias.card" | "component.alias.cardDark" | "component.alias.cardForeground" | "component.alias.cardForegroundDark" | "component.alias.popover" | "component.alias.popoverDark" | "component.alias.popoverForeground" | "component.alias.popoverForegroundDark" | "component.alias.input" | "component.alias.inputDark" | "component.alias.ring" | "component.fileRow.background" | "component.fileRow.backgroundDark" | "component.fileRow.hoverBackground" | "component.fileRow.hoverBackgroundDark" | "component.fileRow.icon" | "component.notification.infoBackground" | "component.notification.infoBackgroundDark" | "component.notification.dangerBackground" | "component.notification.dangerBackgroundDark" | "context.tv.surface.0" | "context.tv.surface.1" | "context.tv.surface.2" | "context.tv.surface.3" | "context.tv.text.primary" | "context.tv.text.secondary" | "context.tv.text.tertiary" | "context.tv.glass.1" | "context.tv.glass.2" | "context.tv.glass.3" | "context.tv.glass.border" | "context.tv.glass.borderStrong" | "context.tv.focus.ring" | "context.tv.focus.liftShadow" | "context.tv.channelArt.production.posterBackground" | "context.tv.channelArt.production.splashBackground" | "context.tv.channelArt.development.background" | "context.tv.channelArt.development.accent" | "context.tv.channelArt.development.grid" | "context.tv.channelArt.lab.background" | "context.tv.channelArt.lab.foreground" | "context.tv.channelArt.lab.accent" | "color.brand.yellow" | "color.neutral.light.bg" | "color.neutral.light.bgSecondary" | "color.neutral.light.componentBg" | "color.neutral.light.componentBgHover" | "color.neutral.light.componentBgActive" | "color.neutral.light.line" | "color.neutral.light.border" | "color.neutral.light.borderHover" | "color.neutral.light.solid" | "color.neutral.light.solidHover" | "color.neutral.light.textSecondary" | "color.neutral.light.text" | "color.neutral.dark.bg" | "color.neutral.dark.bgSecondary" | "color.neutral.dark.componentBg" | "color.neutral.dark.componentBgHover" | "color.neutral.dark.componentBgActive" | "color.neutral.dark.line" | "color.neutral.dark.border" | "color.neutral.dark.borderHover" | "color.neutral.dark.solid" | "color.neutral.dark.solidHover" | "color.neutral.dark.textSecondary" | "color.neutral.dark.text" | "color.green.light.bg" | "color.green.light.bgSecondary" | "color.green.light.componentBg" | "color.green.light.componentBgHover" | "color.green.light.componentBgActive" | "color.green.light.line" | "color.green.light.border" | "color.green.light.borderHover" | "color.green.light.solid" | "color.green.light.solidHover" | "color.green.light.textSecondary" | "color.green.light.text" | "color.green.dark.bg" | "color.green.dark.bgSecondary" | "color.green.dark.componentBg" | "color.green.dark.componentBgHover" | "color.green.dark.componentBgActive" | "color.green.dark.line" | "color.green.dark.border" | "color.green.dark.borderHover" | "color.green.dark.solid" | "color.green.dark.solidHover" | "color.green.dark.textSecondary" | "color.green.dark.text" | "color.red.light.bg" | "color.red.light.bgSecondary" | "color.red.light.componentBg" | "color.red.light.componentBgHover" | "color.red.light.componentBgActive" | "color.red.light.line" | "color.red.light.border" | "color.red.light.borderHover" | "color.red.light.solid" | "color.red.light.solidHover" | "color.red.light.textSecondary" | "color.red.light.text" | "color.red.dark.bg" | "color.red.dark.bgSecondary" | "color.red.dark.componentBg" | "color.red.dark.componentBgHover" | "color.red.dark.componentBgActive" | "color.red.dark.line" | "color.red.dark.border" | "color.red.dark.borderHover" | "color.red.dark.solid" | "color.red.dark.solidHover" | "color.red.dark.textSecondary" | "color.red.dark.text" | "color.yellow.light.bg" | "color.yellow.light.bgSecondary" | "color.yellow.light.componentBg" | "color.yellow.light.componentBgHover" | "color.yellow.light.componentBgActive" | "color.yellow.light.line" | "color.yellow.light.border" | "color.yellow.light.borderHover" | "color.yellow.light.solidHover" | "color.yellow.light.textSecondary" | "color.yellow.light.text" | "color.yellow.dark.bg" | "color.yellow.dark.bgSecondary" | "color.yellow.dark.componentBg" | "color.yellow.dark.componentBgHover" | "color.yellow.dark.componentBgActive" | "color.yellow.dark.line" | "color.yellow.dark.border" | "color.yellow.dark.borderHover" | "color.yellow.dark.solidHover" | "color.yellow.dark.textSecondary" | "color.yellow.dark.text" | "color.transfer.light.lime3" | "color.transfer.dark.lime3" | "elevation.shadowColor" | "elevation.color" | "elevation.sm" | "elevation.md" | "elevation.lg" | "elevation.focusColor" | "elevation.focus" | "typography.fontFamily.sans" | "typography.fontFamily.display" | "typography.fontFamily.uiMono" | "typography.fontFamily.mono" | "typography.fontSize.xs" | "typography.fontSize.sm" | "typography.fontSize.base" | "typography.fontSize.md" | "typography.fontSize.lg" | "typography.fontSize.xl" | "typography.fontSize.2xl" | "typography.fontSize.3xl" | "typography.fontSize.4xl" | "typography.fontSize.display" | "typography.lineHeight.tight" | "typography.lineHeight.snug" | "typography.lineHeight.normal" | "typography.lineHeight.loose" | "typography.fontWeight.regular" | "typography.fontWeight.medium" | "typography.fontWeight.bold" | "typography.fontWeight.black" | "typography.letterSpacing.tight" | "typography.letterSpacing.normal" | "typography.letterSpacing.wide" | "typography.letterSpacing.uppercase" | "spacing.0" | "spacing.1" | "spacing.2" | "spacing.3" | "spacing.4" | "spacing.5" | "spacing.6" | "spacing.7" | "spacing.8" | "radius.sm" | "radius.default" | "radius.md" | "radius.lg" | "radius.pill" | "border.width" | "motion.easing.out" | "motion.easing.inOut" | "motion.duration.fast" | "motion.duration.base" | "motion.duration.slow" | "surface.light.htmlBg" | "surface.light.appBg" | "surface.light.navBg" | "surface.light.navItemBg" | "surface.light.navItemBgHover" | "surface.light.navItemBgActive" | "surface.light.listItemBg" | "surface.light.listItemBgHover" | "surface.light.listItemBgActive" | "surface.light.listItemBorder" | "surface.light.segmentedControlBg" | "surface.light.segmentedControlBgActive" | "surface.light.transferListItemCompletingBg" | "surface.light.transferListItemDownloadingBg" | "surface.light.transferListItemFinishedBg" | "surface.light.transferListItemPassiveBg" | "surface.light.hiContrast" | "surface.light.loContrast" | "surface.light.transparent" | "surface.light.overlayInline" | "surface.light.overlayFull" | "surface.dark.htmlBg" | "surface.dark.appBg" | "surface.dark.navBg" | "surface.dark.navItemBg" | "surface.dark.navItemBgHover" | "surface.dark.navItemBgActive" | "surface.dark.listItemBg" | "surface.dark.listItemBgHover" | "surface.dark.listItemBgActive" | "surface.dark.listItemBorder" | "surface.dark.segmentedControlBg" | "surface.dark.segmentedControlBgActive" | "surface.dark.transferListItemCompletingBg" | "surface.dark.transferListItemDownloadingBg" | "surface.dark.transferListItemFinishedBg" | "surface.dark.transferListItemPassiveBg" | "surface.dark.hiContrast" | "surface.dark.loContrast" | "surface.dark.overlayInline" | "surface.dark.overlayFull" | "surface.dark.shadowColor" | "surface.dark.shadow" | "surface.dark.shadowSm" | "surface.dark.shadowMd" | "surface.dark.shadowLg";
|
|
3
|
+
export type PutioTokenName = "component.button.primary.background" | "component.button.primary.backgroundHover" | "component.button.primary.backgroundHoverDark" | "component.button.primary.foreground" | "component.button.primary.radius" | "component.button.secondary.background" | "component.button.secondary.backgroundDark" | "component.button.secondary.foreground" | "component.button.secondary.foregroundDark" | "component.button.success.background" | "component.button.success.backgroundDark" | "component.button.success.backgroundHover" | "component.button.success.backgroundHoverDark" | "component.button.success.foreground" | "component.button.danger.background" | "component.button.danger.backgroundDark" | "component.button.danger.backgroundHover" | "component.button.danger.backgroundHoverDark" | "component.button.danger.foreground" | "component.button.info.background" | "component.button.info.backgroundDark" | "component.button.info.backgroundHover" | "component.button.info.backgroundHoverDark" | "component.button.info.foreground" | "component.button.info.foregroundDark" | "component.button.default.background" | "component.button.default.backgroundDark" | "component.button.default.backgroundHover" | "component.button.default.backgroundHoverDark" | "component.button.default.foreground" | "component.button.default.foregroundDark" | "component.input.background" | "component.input.backgroundDark" | "component.input.border" | "component.input.borderDark" | "component.input.radius" | "component.input.borderHover" | "component.input.borderHoverDark" | "component.input.borderFocus" | "component.input.borderFocusDark" | "component.input.ring" | "component.input.ringDark" | "component.input.text" | "component.input.textDark" | "component.input.placeholder" | "component.input.placeholderDark" | "component.field.background" | "component.field.backgroundDark" | "component.field.backgroundDisabled" | "component.field.backgroundDisabledDark" | "component.field.border" | "component.field.borderDark" | "component.field.borderHover" | "component.field.borderHoverDark" | "component.field.borderFocus" | "component.field.borderFocusDark" | "component.field.text" | "component.field.textDark" | "component.field.placeholder" | "component.field.placeholderDark" | "component.field.radius" | "component.field.ring" | "component.field.ringDark" | "component.panel.background" | "component.panel.backgroundDark" | "component.panel.border" | "component.panel.borderDark" | "component.panel.radius" | "component.panel.shadow" | "component.panel.shadowDark" | "component.alias.background" | "component.alias.backgroundDark" | "component.alias.foreground" | "component.alias.foregroundDark" | "component.alias.foregroundMuted" | "component.alias.foregroundMutedDark" | "component.alias.primary" | "component.alias.primaryForeground" | "component.alias.success" | "component.alias.successDark" | "component.alias.successForeground" | "component.alias.destructive" | "component.alias.destructiveDark" | "component.alias.destructiveForeground" | "component.alias.invertForeground" | "component.alias.invertForegroundDark" | "component.alias.solidForeground" | "component.alias.solidForegroundDark" | "component.alias.muted" | "component.alias.mutedDark" | "component.alias.mutedForeground" | "component.alias.mutedForegroundDark" | "component.alias.accent" | "component.alias.accentDark" | "component.alias.accentForeground" | "component.alias.accentForegroundDark" | "component.alias.card" | "component.alias.cardDark" | "component.alias.cardForeground" | "component.alias.cardForegroundDark" | "component.alias.popover" | "component.alias.popoverDark" | "component.alias.popoverForeground" | "component.alias.popoverForegroundDark" | "component.alias.input" | "component.alias.inputDark" | "component.alias.ring" | "component.fileRow.background" | "component.fileRow.backgroundDark" | "component.fileRow.hoverBackground" | "component.fileRow.hoverBackgroundDark" | "component.fileRow.activeBackground" | "component.fileRow.activeBackgroundDark" | "component.fileRow.border" | "component.fileRow.borderDark" | "component.fileRow.icon" | "component.notification.infoBackground" | "component.notification.infoBackgroundDark" | "component.notification.dangerBackground" | "component.notification.dangerBackgroundDark" | "component.notification.background" | "component.notification.backgroundDark" | "component.notification.border" | "component.notification.borderDark" | "component.notification.foreground" | "component.notification.foregroundDark" | "component.notification.icon" | "component.notification.iconDark" | "component.notification.successBackground" | "component.notification.successBackgroundDark" | "component.notification.successBorder" | "component.notification.successBorderDark" | "component.notification.successForeground" | "component.notification.successForegroundDark" | "component.notification.dangerBorder" | "component.notification.dangerBorderDark" | "component.notification.dangerForeground" | "component.notification.dangerForegroundDark" | "component.menu.background" | "component.menu.backgroundDark" | "component.menu.border" | "component.menu.borderDark" | "component.menu.radius" | "component.menu.shadow" | "component.menu.shadowDark" | "component.menu.itemBackgroundHover" | "component.menu.itemBackgroundHoverDark" | "component.menu.itemText" | "component.menu.itemTextDark" | "component.menu.itemIcon" | "component.menu.itemIconDark" | "component.menu.itemShortcut" | "component.menu.itemShortcutDark" | "component.menu.itemDangerText" | "component.menu.itemDangerTextDark" | "component.menu.itemDangerBackgroundHover" | "component.menu.itemDangerBackgroundHoverDark" | "component.menu.itemHeight" | "component.menu.separator" | "component.menu.separatorDark" | "component.menu.label" | "component.menu.labelDark" | "component.palette.background" | "component.palette.backgroundDark" | "component.palette.border" | "component.palette.borderDark" | "component.palette.shadow" | "component.palette.shadowDark" | "component.palette.scrim" | "component.palette.scrimDark" | "component.palette.width" | "component.palette.inputHeight" | "component.palette.itemHeight" | "component.palette.itemBackgroundActive" | "component.palette.itemBackgroundActiveDark" | "component.palette.groupLabel" | "component.palette.groupLabelDark" | "component.palette.itemMeta" | "component.palette.itemMetaDark" | "component.sheet.background" | "component.sheet.backgroundDark" | "component.sheet.border" | "component.sheet.borderDark" | "component.sheet.shadow" | "component.sheet.shadowDark" | "component.sheet.scrim" | "component.sheet.scrimDark" | "component.sheet.width" | "context.tv.text.primary" | "context.tv.text.secondary" | "context.tv.text.tertiary" | "context.tv.channelArt.production.posterBackground" | "context.tv.channelArt.production.splashBackground" | "context.tv.channelArt.development.background" | "context.tv.channelArt.development.accent" | "context.tv.channelArt.development.grid" | "context.tv.channelArt.lab.background" | "context.tv.channelArt.lab.foreground" | "context.tv.channelArt.lab.accent" | "tv.text.heading" | "tv.text.label" | "tv.text.body" | "tv.text.caption" | "tv.text.smol" | "tv.fontWeight.regular" | "tv.fontWeight.medium" | "tv.space.xxs" | "tv.space.xs" | "tv.space.sm" | "tv.space.md" | "tv.space.lg" | "tv.space.xl" | "tv.space.xxl" | "tv.overscan.x" | "tv.overscan.y" | "tv.radius" | "tv.z.modal" | "tv.z.toast" | "tv.z.overlay" | "color.brand.yellow" | "color.neutral.light.bg" | "color.neutral.light.bgSecondary" | "color.neutral.light.componentBg" | "color.neutral.light.componentBgHover" | "color.neutral.light.componentBgActive" | "color.neutral.light.line" | "color.neutral.light.border" | "color.neutral.light.borderHover" | "color.neutral.light.solid" | "color.neutral.light.solidHover" | "color.neutral.light.textSecondary" | "color.neutral.light.text" | "color.neutral.dark.bg" | "color.neutral.dark.bgSecondary" | "color.neutral.dark.componentBg" | "color.neutral.dark.componentBgHover" | "color.neutral.dark.componentBgActive" | "color.neutral.dark.line" | "color.neutral.dark.border" | "color.neutral.dark.borderHover" | "color.neutral.dark.solid" | "color.neutral.dark.solidHover" | "color.neutral.dark.textSecondary" | "color.neutral.dark.text" | "color.green.light.bg" | "color.green.light.bgSecondary" | "color.green.light.componentBg" | "color.green.light.componentBgHover" | "color.green.light.componentBgActive" | "color.green.light.line" | "color.green.light.border" | "color.green.light.borderHover" | "color.green.light.solid" | "color.green.light.solidHover" | "color.green.light.textSecondary" | "color.green.light.text" | "color.green.dark.bg" | "color.green.dark.bgSecondary" | "color.green.dark.componentBg" | "color.green.dark.componentBgHover" | "color.green.dark.componentBgActive" | "color.green.dark.line" | "color.green.dark.border" | "color.green.dark.borderHover" | "color.green.dark.solid" | "color.green.dark.solidHover" | "color.green.dark.textSecondary" | "color.green.dark.text" | "color.red.light.bg" | "color.red.light.bgSecondary" | "color.red.light.componentBg" | "color.red.light.componentBgHover" | "color.red.light.componentBgActive" | "color.red.light.line" | "color.red.light.border" | "color.red.light.borderHover" | "color.red.light.solid" | "color.red.light.solidHover" | "color.red.light.textSecondary" | "color.red.light.text" | "color.red.dark.bg" | "color.red.dark.bgSecondary" | "color.red.dark.componentBg" | "color.red.dark.componentBgHover" | "color.red.dark.componentBgActive" | "color.red.dark.line" | "color.red.dark.border" | "color.red.dark.borderHover" | "color.red.dark.solid" | "color.red.dark.solidHover" | "color.red.dark.textSecondary" | "color.red.dark.text" | "color.yellow.light.bg" | "color.yellow.light.bgSecondary" | "color.yellow.light.componentBg" | "color.yellow.light.componentBgHover" | "color.yellow.light.componentBgActive" | "color.yellow.light.line" | "color.yellow.light.border" | "color.yellow.light.borderHover" | "color.yellow.light.solidHover" | "color.yellow.light.textSecondary" | "color.yellow.light.text" | "color.yellow.dark.bg" | "color.yellow.dark.bgSecondary" | "color.yellow.dark.componentBg" | "color.yellow.dark.componentBgHover" | "color.yellow.dark.componentBgActive" | "color.yellow.dark.line" | "color.yellow.dark.border" | "color.yellow.dark.borderHover" | "color.yellow.dark.solidHover" | "color.yellow.dark.textSecondary" | "color.yellow.dark.text" | "color.transfer.light.lime3" | "color.transfer.dark.lime3" | "elevation.shadowColor" | "elevation.color" | "elevation.sm" | "elevation.md" | "elevation.lg" | "elevation.focusColor" | "elevation.focus" | "typography.fontFamily.sans" | "typography.fontFamily.display" | "typography.fontFamily.mono" | "typography.fontSize.xs" | "typography.fontSize.sm" | "typography.fontSize.base" | "typography.fontSize.md" | "typography.fontSize.lg" | "typography.fontSize.xl" | "typography.fontSize.2xl" | "typography.fontSize.3xl" | "typography.fontSize.4xl" | "typography.fontSize.display" | "typography.lineHeight.tight" | "typography.lineHeight.snug" | "typography.lineHeight.normal" | "typography.lineHeight.loose" | "typography.fontWeight.regular" | "typography.fontWeight.medium" | "typography.fontWeight.bold" | "typography.fontWeight.black" | "typography.letterSpacing.tight" | "typography.letterSpacing.normal" | "typography.letterSpacing.wide" | "typography.letterSpacing.uppercase" | "spacing.0" | "spacing.1" | "spacing.2" | "spacing.3" | "spacing.4" | "spacing.5" | "spacing.6" | "spacing.7" | "spacing.8" | "radius.sm" | "radius.default" | "radius.md" | "radius.lg" | "radius.pill" | "radius.tv" | "border.width" | "motion.easing.out" | "motion.easing.inOut" | "motion.duration.fast" | "motion.duration.base" | "motion.duration.slow" | "z.dropdown" | "z.sticky" | "z.modal" | "z.notification" | "z.tooltip" | "breakpoint.sm" | "breakpoint.md" | "breakpoint.lg" | "surface.light.htmlBg" | "surface.light.appBg" | "surface.light.navBg" | "surface.light.navItemBg" | "surface.light.navItemBgHover" | "surface.light.navItemBgActive" | "surface.light.listItemBg" | "surface.light.listItemBgHover" | "surface.light.listItemBgActive" | "surface.light.listItemBorder" | "surface.light.segmentedControlBg" | "surface.light.segmentedControlBgActive" | "surface.light.transferListItemCompletingBg" | "surface.light.transferListItemDownloadingBg" | "surface.light.transferListItemFinishedBg" | "surface.light.transferListItemPassiveBg" | "surface.light.hiContrast" | "surface.light.loContrast" | "surface.light.transparent" | "surface.light.overlayInline" | "surface.light.overlayFull" | "surface.dark.htmlBg" | "surface.dark.appBg" | "surface.dark.navBg" | "surface.dark.navItemBg" | "surface.dark.navItemBgHover" | "surface.dark.navItemBgActive" | "surface.dark.listItemBg" | "surface.dark.listItemBgHover" | "surface.dark.listItemBgActive" | "surface.dark.listItemBorder" | "surface.dark.segmentedControlBg" | "surface.dark.segmentedControlBgActive" | "surface.dark.transferListItemCompletingBg" | "surface.dark.transferListItemDownloadingBg" | "surface.dark.transferListItemFinishedBg" | "surface.dark.transferListItemPassiveBg" | "surface.dark.hiContrast" | "surface.dark.loContrast" | "surface.dark.overlayInline" | "surface.dark.overlayFull" | "surface.dark.shadowColor" | "surface.dark.shadow" | "surface.dark.shadowSm" | "surface.dark.shadowMd" | "surface.dark.shadowLg";
|
|
4
4
|
|
|
5
5
|
export type PutioToken = {
|
|
6
6
|
readonly cssName: string;
|
|
@@ -9,6 +9,8 @@ export type PutioToken = {
|
|
|
9
9
|
readonly value: string | number;
|
|
10
10
|
readonly originalValue: string | number;
|
|
11
11
|
readonly description?: string;
|
|
12
|
+
readonly basis?: "viewport-width" | "viewport-height";
|
|
13
|
+
readonly deprecated?: boolean;
|
|
12
14
|
};
|
|
13
15
|
|
|
14
16
|
export declare const tokens: Readonly<Record<PutioTokenName, PutioToken>>;
|