@vllnt/ui-core 0.1.0-canary.100.shabd406b0b1cdb

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/dist/index.js ADDED
@@ -0,0 +1,1973 @@
1
+ import {
2
+ createNativeTheme,
3
+ darkTheme,
4
+ lightTheme,
5
+ nativeTokens
6
+ } from "./chunk-25M4DIJU.js";
7
+
8
+ // src/platform.ts
9
+ var componentPlatforms = ["web", "native"];
10
+ function isComponentPlatform(value) {
11
+ return value === "web" || value === "native";
12
+ }
13
+
14
+ // src/contract.ts
15
+ var contractPropertyTypes = [
16
+ "boolean",
17
+ "enum",
18
+ "node",
19
+ "number",
20
+ "string",
21
+ "style",
22
+ "text"
23
+ ];
24
+ var isShape = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
25
+ var isText = (value) => typeof value === "string" && value.trim().length > 0;
26
+ var knownPropertyTypes = new Set(contractPropertyTypes);
27
+ var isContractValue = (value) => typeof value === "boolean" || typeof value === "number" || typeof value === "string";
28
+ function checkKeys(value, path, keys) {
29
+ const allowed = /* @__PURE__ */ new Set([...keys.required, ...keys.optional ?? []]);
30
+ return [
31
+ ...keys.required.filter((key) => !(key in value)).map((key) => `${path}.${key} is required.`),
32
+ ...Object.keys(value).filter((key) => !allowed.has(key)).map((key) => `${path}.${key} is not a contract field.`)
33
+ ];
34
+ }
35
+ function checkDescribed(value, path, fields = []) {
36
+ if (!isShape(value)) return [`${path} must be an object.`];
37
+ return Object.entries(value).flatMap(([name, entry]) => {
38
+ if (!isShape(entry)) return [`${path}.${name} must be an object.`];
39
+ return [
40
+ ...checkKeys(entry, `${path}.${name}`, {
41
+ required: ["description", ...fields]
42
+ }),
43
+ ...isText(entry.description) ? [] : [`${path}.${name}.description must be non-empty text.`]
44
+ ];
45
+ });
46
+ }
47
+ function checkValues(property, path) {
48
+ const { type, values } = property;
49
+ if (type !== "enum") {
50
+ return "values" in property ? [`${path}.values is only for enum props.`] : [];
51
+ }
52
+ if (!Array.isArray(values) || values.length === 0) {
53
+ return [`${path}.values must list at least one value.`];
54
+ }
55
+ return [
56
+ ...values.every((value) => typeof value === "number" || isText(value)) ? [] : [`${path}.values must hold strings or numbers.`],
57
+ ...new Set(values).size === values.length ? [] : [`${path}.values must be unique.`]
58
+ ];
59
+ }
60
+ function checkDefault(property, path) {
61
+ if (!("default" in property)) return [];
62
+ const { default: value, required, type, values } = property;
63
+ if (!isContractValue(value)) {
64
+ return [`${path}.default must be a boolean, number or string.`];
65
+ }
66
+ if (required === true) {
67
+ return [`${path} cannot be required and have a default.`];
68
+ }
69
+ if (type === "enum" && Array.isArray(values) && !values.includes(value)) {
70
+ return [`${path}.default must be one of its values.`];
71
+ }
72
+ return [];
73
+ }
74
+ function checkProperty(property, path) {
75
+ if (!isShape(property)) return [`${path} must be an object.`];
76
+ return [
77
+ ...checkKeys(property, path, {
78
+ optional: ["default", "required", "values"],
79
+ required: ["description", "type"]
80
+ }),
81
+ ...isText(property.description) ? [] : [`${path}.description must be non-empty text.`],
82
+ ...knownPropertyTypes.has(property.type) ? [] : [`${path}.type must be one of ${contractPropertyTypes.join(", ")}.`],
83
+ ..."required" in property && typeof property.required !== "boolean" ? [`${path}.required must be a boolean.`] : [],
84
+ ...checkValues(property, path),
85
+ ...checkDefault(property, path)
86
+ ];
87
+ }
88
+ function checkProps(props, path) {
89
+ if (!isShape(props)) return [`${path} must be an object.`];
90
+ return Object.entries(props).flatMap(
91
+ ([name, property]) => checkProperty(property, `${path}.${name}`)
92
+ );
93
+ }
94
+ function checkRestated(base, property, path) {
95
+ if (base.type !== property.type)
96
+ return [`${path} must keep the shared type.`];
97
+ const own = Array.isArray(property.values) ? property.values : [];
98
+ const missing = (Array.isArray(base.values) ? base.values : []).filter(
99
+ (value) => !own.includes(value)
100
+ );
101
+ return [
102
+ ...missing.length > 0 ? [
103
+ `${path} must keep every shared value (missing ${missing.join(", ")}).`
104
+ ] : [],
105
+ ...base.default === property.default ? [] : [`${path} must keep the shared default.`]
106
+ ];
107
+ }
108
+ function restatedProps(shared, own, path) {
109
+ return Object.entries(own).flatMap(([name, property]) => {
110
+ const base = shared[name];
111
+ return isShape(property) && isShape(base) ? checkRestated(base, property, `${path}.props.${name}`) : [];
112
+ });
113
+ }
114
+ function checkPlatforms(contract, path) {
115
+ const { platforms, props } = contract;
116
+ if (!isShape(platforms)) return [`${path} must be an object.`];
117
+ if (Object.keys(platforms).length === 0) {
118
+ return [`${path} must list at least one platform.`];
119
+ }
120
+ const shared = isShape(props) ? props : {};
121
+ return Object.entries(platforms).flatMap(([platform, entry]) => {
122
+ const at = `${path}.${platform}`;
123
+ if (!isComponentPlatform(platform)) return [`${at} is not a platform.`];
124
+ if (!isShape(entry)) return [`${at} must be an object.`];
125
+ return [
126
+ ...checkKeys(entry, at, {
127
+ optional: ["inherits", "props"],
128
+ required: []
129
+ }),
130
+ ..."inherits" in entry && !isText(entry.inherits) ? [`${at}.inherits must be non-empty text.`] : [],
131
+ ..."props" in entry ? checkProps(entry.props, `${at}.props`) : [],
132
+ ...isShape(entry.props) ? restatedProps(shared, entry.props, at) : []
133
+ ];
134
+ });
135
+ }
136
+ function checkAccessibility(value, path) {
137
+ if (!isShape(value)) return [`${path} must be an object.`];
138
+ const { labels, role } = value;
139
+ return [
140
+ ...checkKeys(value, path, { optional: ["labels"], required: ["role"] }),
141
+ ...isText(role) ? [] : [`${path}.role must be non-empty text.`],
142
+ ..."labels" in value ? checkDescribed(labels, `${path}.labels`, ["required"]) : [],
143
+ ...Object.entries(isShape(labels) ? labels : {}).filter(
144
+ ([, label]) => isShape(label) && "required" in label && typeof label.required !== "boolean"
145
+ ).map(([name]) => `${path}.labels.${name}.required must be a boolean.`)
146
+ ];
147
+ }
148
+ function checkContract(contract, path) {
149
+ if (!isShape(contract)) return [`${path} must be an object.`];
150
+ return [
151
+ ...checkKeys(contract, path, {
152
+ optional: ["accessibility", "parts", "states"],
153
+ required: ["description", "name", "platforms", "props"]
154
+ }),
155
+ ...isText(contract.name) ? [] : [`${path}.name must be non-empty text.`],
156
+ ...isText(contract.description) ? [] : [`${path}.description must be non-empty text.`],
157
+ ...checkProps(contract.props, `${path}.props`),
158
+ ...checkPlatforms(contract, `${path}.platforms`),
159
+ ..."accessibility" in contract ? checkAccessibility(contract.accessibility, `${path}.accessibility`) : [],
160
+ ..."parts" in contract ? checkDescribed(contract.parts, `${path}.parts`) : [],
161
+ ..."states" in contract ? checkDescribed(contract.states, `${path}.states`) : []
162
+ ];
163
+ }
164
+ function validateComponentContracts(value) {
165
+ if (!isShape(value)) return ["contracts must be an object."];
166
+ const { components, version } = value;
167
+ return [
168
+ ...checkKeys(value, "contracts", {
169
+ optional: ["$schema"],
170
+ required: ["components", "version"]
171
+ }),
172
+ ...typeof version === "string" && /^\d+\.\d+\.\d+$/.test(version) ? [] : ["contracts.version must be a semver version such as 1.0.0."],
173
+ ...isShape(components) ? Object.entries(components).flatMap(([id, contract]) => [
174
+ .../^[a-z][a-z0-9-]*$/.test(id) ? [] : [`components.${id} must be a kebab-case id.`],
175
+ ...checkContract(contract, `components.${id}`)
176
+ ]) : ["contracts.components must be an object."]
177
+ ];
178
+ }
179
+
180
+ // src/generated/design-tokens.ts
181
+ var designTokens = {
182
+ "$schema": "./tokens.schema.json",
183
+ "name": "VLLNT UI",
184
+ "version": "0.4.0",
185
+ "source": {
186
+ "guide": "../../DESIGN.md",
187
+ "theme": "../ui/themes/default.css"
188
+ },
189
+ "color": {
190
+ "format": "oklch-channel",
191
+ "semantic": {
192
+ "background": {
193
+ "cssVariable": "--background",
194
+ "light": "1 0 0",
195
+ "dark": "0 0 0",
196
+ "role": "Page and app surface"
197
+ },
198
+ "foreground": {
199
+ "cssVariable": "--foreground",
200
+ "light": "0 0 0",
201
+ "dark": "1 0 0",
202
+ "role": "Primary text and icon color"
203
+ },
204
+ "card": {
205
+ "cssVariable": "--card",
206
+ "light": "1 0 0",
207
+ "dark": "0 0 0",
208
+ "role": "Card and contained surface"
209
+ },
210
+ "cardForeground": {
211
+ "cssVariable": "--card-foreground",
212
+ "light": "0 0 0",
213
+ "dark": "1 0 0",
214
+ "role": "Text on card surfaces"
215
+ },
216
+ "popover": {
217
+ "cssVariable": "--popover",
218
+ "light": "1 0 0",
219
+ "dark": "0 0 0",
220
+ "role": "Popover, menu, and floating surface"
221
+ },
222
+ "popoverForeground": {
223
+ "cssVariable": "--popover-foreground",
224
+ "light": "0 0 0",
225
+ "dark": "0.9461 0 0",
226
+ "role": "Text on popover surfaces"
227
+ },
228
+ "primary": {
229
+ "cssVariable": "--primary",
230
+ "light": "0 0 0",
231
+ "dark": "1 0 0",
232
+ "role": "Primary action surface"
233
+ },
234
+ "primaryForeground": {
235
+ "cssVariable": "--primary-foreground",
236
+ "light": "1 0 0",
237
+ "dark": "0 0 0",
238
+ "role": "Text on primary action surfaces"
239
+ },
240
+ "secondary": {
241
+ "cssVariable": "--secondary",
242
+ "light": "0.9703 0 0",
243
+ "dark": "0.2686 0 0",
244
+ "role": "Secondary action surface"
245
+ },
246
+ "secondaryForeground": {
247
+ "cssVariable": "--secondary-foreground",
248
+ "light": "0.2044 0 0",
249
+ "dark": "0.9461 0 0",
250
+ "role": "Text on secondary action surfaces"
251
+ },
252
+ "muted": {
253
+ "cssVariable": "--muted",
254
+ "light": "0.9703 0 0",
255
+ "dark": "0 0 0",
256
+ "role": "Subtle surface"
257
+ },
258
+ "mutedForeground": {
259
+ "cssVariable": "--muted-foreground",
260
+ "light": "0.525 0 0",
261
+ "dark": "0.7153 0 0",
262
+ "role": "Secondary text"
263
+ },
264
+ "accent": {
265
+ "cssVariable": "--accent",
266
+ "light": "0.9703 0 0",
267
+ "dark": "0.2686 0 0",
268
+ "role": "Hover and active surface"
269
+ },
270
+ "accentForeground": {
271
+ "cssVariable": "--accent-foreground",
272
+ "light": "0.2044 0 0",
273
+ "dark": "0.9461 0 0",
274
+ "role": "Text on accent surfaces"
275
+ },
276
+ "destructive": {
277
+ "cssVariable": "--destructive",
278
+ "light": "0.55 0.2078 25.326",
279
+ "dark": "0.7 0.18 25.721",
280
+ "role": "Destructive action and error surface"
281
+ },
282
+ "destructiveForeground": {
283
+ "cssVariable": "--destructive-foreground",
284
+ "light": "0.9848 0 0",
285
+ "dark": "0.2044 0 0",
286
+ "role": "Text on destructive surfaces"
287
+ },
288
+ "success": {
289
+ "cssVariable": "--success",
290
+ "light": "0.5 0.11 155",
291
+ "dark": "0.78 0.16 155",
292
+ "role": "Success fill and success text"
293
+ },
294
+ "successForeground": {
295
+ "cssVariable": "--success-foreground",
296
+ "light": "0.9848 0 0",
297
+ "dark": "0.2044 0 0",
298
+ "role": "Text on success surfaces"
299
+ },
300
+ "warning": {
301
+ "cssVariable": "--warning",
302
+ "light": "0.5 0.085 70",
303
+ "dark": "0.82 0.15 85",
304
+ "role": "Warning fill and warning text"
305
+ },
306
+ "warningForeground": {
307
+ "cssVariable": "--warning-foreground",
308
+ "light": "0.9848 0 0",
309
+ "dark": "0.2044 0 0",
310
+ "role": "Text on warning surfaces"
311
+ },
312
+ "info": {
313
+ "cssVariable": "--info",
314
+ "light": "0.5 0.15 255",
315
+ "dark": "0.74 0.12 245",
316
+ "role": "Informational fill and informational text"
317
+ },
318
+ "infoForeground": {
319
+ "cssVariable": "--info-foreground",
320
+ "light": "0.9848 0 0",
321
+ "dark": "0.2044 0 0",
322
+ "role": "Text on info surfaces"
323
+ },
324
+ "diffAdded": {
325
+ "cssVariable": "--diff-added",
326
+ "light": "0.94 0.04 150",
327
+ "dark": "0.26 0.05 150",
328
+ "role": "Added-line surface in diffs (text on it uses foreground)"
329
+ },
330
+ "diffRemoved": {
331
+ "cssVariable": "--diff-removed",
332
+ "light": "0.94 0.03 25",
333
+ "dark": "0.26 0.055 25",
334
+ "role": "Removed-line surface in diffs (text on it uses foreground)"
335
+ },
336
+ "border": {
337
+ "cssVariable": "--border",
338
+ "light": "0.9219 0 0",
339
+ "dark": "0.2686 0 0",
340
+ "role": "Hairline divider"
341
+ },
342
+ "input": {
343
+ "cssVariable": "--input",
344
+ "light": "0.6167 0 0",
345
+ "dark": "0.5208 0 0",
346
+ "role": "Form-control boundary (3:1 against background, card, popover)"
347
+ },
348
+ "ring": {
349
+ "cssVariable": "--ring",
350
+ "light": "0.1445 0 0",
351
+ "dark": "0.8697 0 0",
352
+ "role": "Focus ring"
353
+ },
354
+ "sidebar": {
355
+ "cssVariable": "--sidebar",
356
+ "light": "0.9848 0 0",
357
+ "dark": "0 0 0",
358
+ "role": "Sidebar and rail surface"
359
+ },
360
+ "pill": {
361
+ "cssVariable": "--pill",
362
+ "light": "0.9703 0 0",
363
+ "dark": "0 0 0",
364
+ "role": "Fill of a pill: inline code and small tags"
365
+ },
366
+ "pillBorder": {
367
+ "cssVariable": "--pill-border",
368
+ "light": "0.9219 0 0",
369
+ "dark": "0.2686 0 0",
370
+ "role": "1px border of a pill"
371
+ },
372
+ "composerBorder": {
373
+ "cssVariable": "--composer-border",
374
+ "light": "0.8699 0 0",
375
+ "dark": "0.285 0 0",
376
+ "role": "Border of a composer, the message input box"
377
+ },
378
+ "statusNeedsYou": {
379
+ "cssVariable": "--status-needs-you",
380
+ "light": "0.554 0.135 66.44",
381
+ "dark": "0.795 0.162 86.05",
382
+ "role": "Status mark: waiting for the person (yellow). A mark, not text"
383
+ },
384
+ "statusUnread": {
385
+ "cssVariable": "--status-unread",
386
+ "light": "0.546 0.215 262.88",
387
+ "dark": "0.623 0.188 259.81",
388
+ "role": "Status mark: unread (blue). A mark, not text"
389
+ },
390
+ "statusFailed": {
391
+ "cssVariable": "--status-failed",
392
+ "light": "0.577 0.215 27.33",
393
+ "dark": "0.637 0.208 25.33",
394
+ "role": "Status mark: failed (red). A mark, not text; red text uses destructive"
395
+ },
396
+ "statusDone": {
397
+ "cssVariable": "--status-done",
398
+ "light": "0.527 0.137 150.07",
399
+ "dark": "0.723 0.219 149.58",
400
+ "role": "Status mark: done (green). A mark, not text"
401
+ },
402
+ "statusRing": {
403
+ "cssVariable": "--status-ring",
404
+ "light": "0.556 0 0",
405
+ "dark": "0.715 0 0",
406
+ "role": "Status mark: idle ring (grey). A mark, not text"
407
+ }
408
+ },
409
+ "glass-border": {
410
+ "light": "#00000024",
411
+ "dark": "#FFFFFF2E",
412
+ "role": "Hairline of a glass surface, with alpha. Material token material.glass.hairline points at it"
413
+ },
414
+ "border-strong": {
415
+ "light": "0.9219 0 0",
416
+ "dark": "0.3485 0 0",
417
+ "role": "Brighter hairline of the top depth steps, depth.z-3 (floating) and depth.z-4 (modal). Light equals border; dark is #3a3a3a, one step above border, on the pure black surface"
418
+ },
419
+ "glass-input": {
420
+ "light": "0.464 0 0",
421
+ "dark": "0.7155 0 0",
422
+ "role": "Control boundary inside a glass surface (3:1 against the glass over a white, black or mid backdrop). Replaces input within glass"
423
+ },
424
+ "glass-muted-foreground": {
425
+ "light": "0.3715 0 0",
426
+ "dark": "0.8699 0 0",
427
+ "role": "Secondary text inside a glass surface (4.5:1 against the glass over a white, black or mid backdrop). Replaces muted-foreground within glass"
428
+ },
429
+ "badge-label": {
430
+ "danger": {
431
+ "value": "{color.destructive}",
432
+ "role": "Penpot name for a danger Badge label colour. Web code reads the destructive role directly"
433
+ },
434
+ "info": {
435
+ "value": "{color.info}",
436
+ "role": "Penpot name for an info Badge label colour. Web code reads the info role directly"
437
+ },
438
+ "success": {
439
+ "value": "{color.success}",
440
+ "role": "Penpot name for a success Badge label colour. Web code reads the success role directly"
441
+ },
442
+ "warning": {
443
+ "value": "{color.warning}",
444
+ "role": "Penpot name for a warning Badge label colour. Web code reads the warning role directly"
445
+ }
446
+ }
447
+ },
448
+ "brand": {
449
+ "status": {
450
+ "candidate": {
451
+ "light": {
452
+ "value": "{color.info}",
453
+ "role": "Roadmap status: candidate (light)"
454
+ },
455
+ "dark": {
456
+ "value": "{color.info}",
457
+ "role": "Roadmap status: candidate (dark)"
458
+ }
459
+ },
460
+ "deprecated": {
461
+ "light": {
462
+ "value": "{color.warning}",
463
+ "role": "Roadmap status: deprecated (light)"
464
+ },
465
+ "dark": {
466
+ "value": "{color.warning}",
467
+ "role": "Roadmap status: deprecated (dark)"
468
+ }
469
+ },
470
+ "implemented": {
471
+ "light": {
472
+ "value": "{color.success}",
473
+ "role": "Roadmap status: implemented (light)"
474
+ },
475
+ "dark": {
476
+ "value": "{color.success}",
477
+ "role": "Roadmap status: implemented (dark)"
478
+ }
479
+ },
480
+ "planned": {
481
+ "light": {
482
+ "value": "{color.muted-foreground}",
483
+ "role": "Roadmap status: planned (light)"
484
+ },
485
+ "dark": {
486
+ "value": "{color.muted-foreground}",
487
+ "role": "Roadmap status: planned (dark)"
488
+ }
489
+ },
490
+ "unsupported": {
491
+ "light": {
492
+ "value": "{color.destructive}",
493
+ "role": "Roadmap status: unsupported (light)"
494
+ },
495
+ "dark": {
496
+ "value": "{color.destructive}",
497
+ "role": "Roadmap status: unsupported (dark)"
498
+ }
499
+ }
500
+ }
501
+ },
502
+ "typography": {
503
+ "fontFamily": {
504
+ "sans": {
505
+ "cssVariable": "--font-sans",
506
+ "value": `'JetBrains Mono', ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace`,
507
+ "role": "Body + UI text. A monospace stack; no font file is shipped, so the app loads JetBrains Mono or the system face shows"
508
+ },
509
+ "display": {
510
+ "cssVariable": "--font-display",
511
+ "value": "var(--font-sans)",
512
+ "role": "Heading + Display face \u2014 override per theme for a brand type identity (defaults to sans)"
513
+ },
514
+ "mono": {
515
+ "cssVariable": "--font-mono",
516
+ "value": `'JetBrains Mono', ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace`,
517
+ "role": "Code + tabular"
518
+ }
519
+ },
520
+ "fontWeight": {
521
+ "heading": {
522
+ "cssVariable": "--font-weight-heading",
523
+ "value": 500,
524
+ "role": "Heading primitive weight \u2014 theme-overridable"
525
+ },
526
+ "display": {
527
+ "cssVariable": "--font-weight-display",
528
+ "value": 600,
529
+ "role": "Display primitive weight \u2014 theme-overridable"
530
+ },
531
+ "body": {
532
+ "value": 400
533
+ },
534
+ "caption": {
535
+ "value": 400
536
+ },
537
+ "label": {
538
+ "cssVariable": "--font-weight-label",
539
+ "value": 500,
540
+ "role": "Label weight \u2014 theme-overridable"
541
+ }
542
+ },
543
+ "scale": {
544
+ "display": {
545
+ "cssVariable": "--font-size-display",
546
+ "fontSize": "1.75rem",
547
+ "lineHeight": "1.1",
548
+ "lineHeightCssVariable": "--line-height-display"
549
+ },
550
+ "h1": {
551
+ "cssVariable": "--font-size-h1",
552
+ "fontSize": "1.25rem",
553
+ "lineHeight": "1.3",
554
+ "lineHeightCssVariable": "--line-height-h1"
555
+ },
556
+ "h2": {
557
+ "cssVariable": "--font-size-h2",
558
+ "fontSize": "0.875rem",
559
+ "lineHeight": "1.4",
560
+ "lineHeightCssVariable": "--line-height-h2"
561
+ },
562
+ "h3": {
563
+ "cssVariable": "--font-size-h3",
564
+ "fontSize": "0.8125rem",
565
+ "lineHeight": "1.4",
566
+ "lineHeightCssVariable": "--line-height-h3"
567
+ },
568
+ "h4": {
569
+ "cssVariable": "--font-size-h4",
570
+ "fontSize": "0.8125rem",
571
+ "lineHeight": "1.4",
572
+ "lineHeightCssVariable": "--line-height-h4"
573
+ },
574
+ "h5": {
575
+ "cssVariable": "--font-size-h5",
576
+ "fontSize": "0.8125rem",
577
+ "lineHeight": "1.4",
578
+ "lineHeightCssVariable": "--line-height-h5"
579
+ },
580
+ "h6": {
581
+ "cssVariable": "--font-size-h6",
582
+ "fontSize": "0.8125rem",
583
+ "lineHeight": "1.4",
584
+ "lineHeightCssVariable": "--line-height-h6"
585
+ },
586
+ "bodyLarge": {
587
+ "cssVariable": "--font-size-body-lg",
588
+ "fontSize": "0.9375rem",
589
+ "lineHeight": "1.6",
590
+ "lineHeightCssVariable": "--line-height-body-lg"
591
+ },
592
+ "body": {
593
+ "cssVariable": "--font-size-body",
594
+ "fontSize": "0.875rem",
595
+ "lineHeight": "1.5",
596
+ "lineHeightCssVariable": "--line-height-body"
597
+ },
598
+ "bodySmall": {
599
+ "cssVariable": "--font-size-body-sm",
600
+ "fontSize": "0.8125rem",
601
+ "lineHeight": "1.45",
602
+ "lineHeightCssVariable": "--line-height-body-sm"
603
+ },
604
+ "caption": {
605
+ "cssVariable": "--font-size-caption",
606
+ "fontSize": "0.75rem",
607
+ "lineHeight": "1.4",
608
+ "lineHeightCssVariable": "--line-height-caption"
609
+ },
610
+ "label": {
611
+ "cssVariable": "--font-size-label",
612
+ "fontSize": "0.6875rem",
613
+ "lineHeight": "1.4",
614
+ "lineHeightCssVariable": "--line-height-label"
615
+ }
616
+ }
617
+ },
618
+ "spacing": {
619
+ "unit": "4px",
620
+ "scale": {
621
+ "1": "0.25rem",
622
+ "2": "0.5rem",
623
+ "3": "0.75rem",
624
+ "4": "1rem",
625
+ "5": "1.25rem",
626
+ "6": "1.5rem",
627
+ "8": "2rem",
628
+ "10": "2.5rem",
629
+ "12": "3rem",
630
+ "16": "4rem",
631
+ "24": "6rem"
632
+ },
633
+ "page-gutter": {
634
+ "value": "{spacing.5}",
635
+ "role": "Horizontal page padding below 768 px (20)"
636
+ },
637
+ "page-gutter-tablet": {
638
+ "value": "{spacing.12}",
639
+ "role": "Horizontal page padding from 768 px (48)"
640
+ },
641
+ "page-gutter-desktop": {
642
+ "value": "{spacing.24}",
643
+ "role": "Horizontal page padding from 1200 px (96)"
644
+ }
645
+ },
646
+ "radius": {
647
+ "none": "0",
648
+ "sm": "0.25rem",
649
+ "md": "0.5rem",
650
+ "lg": "0.75rem",
651
+ "xl": "1rem",
652
+ "full": "9999px",
653
+ "control": "0.25rem",
654
+ "surface": "0.375rem"
655
+ },
656
+ "size": {
657
+ "control-xs": {
658
+ "value": "2rem",
659
+ "coarse": "{size.target.min}",
660
+ "role": "Extra-small control height (32). Under a coarse pointer it rises to size.target.min"
661
+ },
662
+ "measure-narrow": {
663
+ "value": "30rem",
664
+ "role": "Narrow text column width (480), for rich text in a tight container"
665
+ },
666
+ "measure-prose": {
667
+ "value": "45rem",
668
+ "role": "Prose text column width (720), for lead copy and descriptions"
669
+ },
670
+ "page-max": {
671
+ "value": "90rem",
672
+ "role": "Maximum width of the page column (1440), centred; the gutters above are its side padding"
673
+ },
674
+ "target": {
675
+ "min": {
676
+ "value": "2.75rem",
677
+ "role": "Minimum touch target (44); equals size.target.touch. Interactive controls reach it under a coarse pointer"
678
+ },
679
+ "pointer": {
680
+ "value": "1.5rem",
681
+ "role": "Minimum pointer target (24), WCAG 2.2 SC 2.5.8. The hit area under a fine pointer"
682
+ },
683
+ "touch": {
684
+ "value": "2.75rem",
685
+ "role": "Touch target (44), Apple HIG and WCAG 2.2 SC 2.5.5. The hit area under a coarse pointer and on native"
686
+ },
687
+ "spatial": {
688
+ "value": "3.75rem",
689
+ "role": 'Spatial target (60), visionOS guidance for gaze targets. Set by hand with data-input="spatial"'
690
+ }
691
+ }
692
+ },
693
+ "opacity": {
694
+ "grain": {
695
+ "value": "1",
696
+ "role": "Opacity of a Surface grain layer when grain is on. Grain is opt-in; 0 hides it"
697
+ },
698
+ "contact": {
699
+ "value": "1",
700
+ "role": "Opacity of a Surface contact-shadow layer. 0 hides it"
701
+ }
702
+ },
703
+ "elevation": {
704
+ "none": "none",
705
+ "sm": "0 1px 2px rgba(0, 0, 0, 0.05)",
706
+ "md": "0 4px 6px -1px rgba(0, 0, 0, 0.1)",
707
+ "lg": "0 10px 15px -3px rgba(0, 0, 0, 0.1)"
708
+ },
709
+ "shadow": {
710
+ "raised": {
711
+ "role": "Shadow of a raised surface, the lowest step. None: depth is a border and a surface step, not a shadow",
712
+ "light": [],
713
+ "dark": []
714
+ },
715
+ "overlay": {
716
+ "role": "Shadow of an overlay: dialog, command palette, popover, tooltip. None: an overlay is a solid surface with a border",
717
+ "light": [],
718
+ "dark": []
719
+ },
720
+ "floating": {
721
+ "role": "Shadow of a floating surface, the highest step. None: a floating surface is a solid surface with a border",
722
+ "light": [],
723
+ "dark": []
724
+ },
725
+ "glass": {
726
+ "role": "Two-layer shadow of a glass part: bars, panels, cards, chips",
727
+ "light": [
728
+ {
729
+ "offsetX": "0",
730
+ "offsetY": "1",
731
+ "blur": "2",
732
+ "spread": "0",
733
+ "color": "#0000000D",
734
+ "inset": false
735
+ },
736
+ {
737
+ "offsetX": "0",
738
+ "offsetY": "4",
739
+ "blur": "14",
740
+ "spread": "0",
741
+ "color": "#0000000F",
742
+ "inset": false
743
+ }
744
+ ],
745
+ "dark": [
746
+ {
747
+ "offsetX": "0",
748
+ "offsetY": "1",
749
+ "blur": "2",
750
+ "spread": "0",
751
+ "color": "#00000066",
752
+ "inset": false
753
+ },
754
+ {
755
+ "offsetX": "0",
756
+ "offsetY": "4",
757
+ "blur": "14",
758
+ "spread": "0",
759
+ "color": "#0000004D",
760
+ "inset": false
761
+ }
762
+ ]
763
+ },
764
+ "glass-floating": {
765
+ "role": "Stronger two-layer shadow of a floating glass part: docks, menus, popovers, dialogs, sheets",
766
+ "light": [
767
+ {
768
+ "offsetX": "0",
769
+ "offsetY": "1",
770
+ "blur": "2",
771
+ "spread": "0",
772
+ "color": "#00000014",
773
+ "inset": false
774
+ },
775
+ {
776
+ "offsetX": "0",
777
+ "offsetY": "10",
778
+ "blur": "28",
779
+ "spread": "0",
780
+ "color": "#0000001F",
781
+ "inset": false
782
+ }
783
+ ],
784
+ "dark": [
785
+ {
786
+ "offsetX": "0",
787
+ "offsetY": "1",
788
+ "blur": "2",
789
+ "spread": "0",
790
+ "color": "#00000080",
791
+ "inset": false
792
+ },
793
+ {
794
+ "offsetX": "0",
795
+ "offsetY": "10",
796
+ "blur": "28",
797
+ "spread": "0",
798
+ "color": "#00000080",
799
+ "inset": false
800
+ }
801
+ ]
802
+ }
803
+ },
804
+ "blur": {
805
+ "glass": {
806
+ "sm": {
807
+ "value": "8px",
808
+ "role": "Backdrop blur radius of a small glass layer: scrims, chips, tracks (8)"
809
+ },
810
+ "md": {
811
+ "value": "12px",
812
+ "role": "Backdrop blur radius of a medium glass layer: cards, overlays on content (12)"
813
+ },
814
+ "lg": {
815
+ "value": "24px",
816
+ "role": "Backdrop blur radius of the budget ceiling (24): no glass layer blurs more"
817
+ },
818
+ "default": {
819
+ "value": "20px",
820
+ "role": "Backdrop blur radius of a glass part: panels, bars, menus, dialogs (20). Mirrors the backgroundBlur 20 of the Penpot Glass board"
821
+ }
822
+ }
823
+ },
824
+ "material": {
825
+ "glass": {
826
+ "opacity": {
827
+ "sm": {
828
+ "value": "0.6",
829
+ "role": "Glass tint opacity, step sm. Not for text-bearing surfaces"
830
+ },
831
+ "md": {
832
+ "value": "0.72",
833
+ "role": "Glass tint opacity, step md"
834
+ },
835
+ "lg": {
836
+ "value": "0.82",
837
+ "role": "Glass tint opacity, step lg. The floor for text on glass over a worst-case backdrop"
838
+ },
839
+ "xl": {
840
+ "value": "0.9",
841
+ "role": "Glass tint opacity, step xl: floating surfaces"
842
+ },
843
+ "default": {
844
+ "value": "{material.glass.opacity.lg}",
845
+ "role": "Glass tint opacity of a surface that does not pick a step"
846
+ }
847
+ },
848
+ "tint": {
849
+ "value": "{color.background}",
850
+ "role": "Glass tint colour: the page background, drawn at a glass opacity"
851
+ },
852
+ "highlight": {
853
+ "value": "{material.highlight.top}",
854
+ "role": "1 px light line along the top edge of a glass surface"
855
+ },
856
+ "hairline": {
857
+ "value": "{color.glass-border}",
858
+ "role": "Border colour of a glass surface"
859
+ },
860
+ "tint-top": {
861
+ "light": "#FFFFFFA3",
862
+ "dark": "#1C1C1CB2",
863
+ "role": "Default glass tint, top stop. Foreground text only: no muted text, placeholder or control border. Dark is #1C1C1CB2, not the first recipe draft's #1C1C1CAF, so foreground text keeps 4.5:1 over a white backdrop (4.51:1, against 4.34:1)"
864
+ },
865
+ "tint-bottom": {
866
+ "light": "#FFFFFF80",
867
+ "dark": "#1414149C",
868
+ "role": "Default glass tint, bottom stop. Dark is #1414149C, not the first recipe draft's #14141499, for the same reason"
869
+ },
870
+ "tint-dense-top": {
871
+ "light": "#FFFFFFE6",
872
+ "dark": "#121212E0",
873
+ "role": "Dense glass tint, top stop: panels with body text, muted text, a placeholder or a control-identifying border"
874
+ },
875
+ "tint-dense-bottom": {
876
+ "light": "#FFFFFFD6",
877
+ "dark": "#121212D1",
878
+ "role": "Dense glass tint, bottom stop"
879
+ },
880
+ "hairline-edge": {
881
+ "light": "#00000014",
882
+ "dark": "#FFFFFF1A",
883
+ "role": "Outer 1 px edge of a glass part, ink 8% on light and white 10% on dark. Decorative only: a control border uses color.glass-input"
884
+ },
885
+ "sheen-opacity": {
886
+ "light": "1",
887
+ "dark": "0.17",
888
+ "role": "Opacity of the white sheen drawn over the tint: the specular gradient and the inner highlight. Dark scales the light values by 0.17"
889
+ }
890
+ },
891
+ "highlight": {
892
+ "top": {
893
+ "light": "#FFFFFFCC",
894
+ "dark": "#FFFFFF2E",
895
+ "role": "Top edge highlight of a glass surface, with alpha"
896
+ }
897
+ },
898
+ "solid": {
899
+ "material.glass.opacity.sm": "1",
900
+ "material.glass.opacity.md": "1",
901
+ "material.glass.opacity.lg": "1",
902
+ "material.glass.opacity.xl": "1",
903
+ "material.glass.tint": "{color.card}",
904
+ "material.glass.highlight": "{color.border}",
905
+ "material.glass.hairline": "{color.border}",
906
+ "material.glass.tint-top": "{color.card}",
907
+ "material.glass.tint-bottom": "{color.card}",
908
+ "material.glass.tint-dense-top": "{color.card}",
909
+ "material.glass.tint-dense-bottom": "{color.card}",
910
+ "material.glass.hairline-edge": "{color.border}",
911
+ "material.glass.sheen-opacity": "0",
912
+ "shadow.glass": "{shadow.raised}",
913
+ "shadow.glass-floating": "{shadow.floating}",
914
+ "blur.glass.sm": "0px",
915
+ "blur.glass.md": "0px",
916
+ "blur.glass.lg": "0px",
917
+ "blur.glass.default": "0px"
918
+ }
919
+ },
920
+ "depth": {
921
+ "z-0": {
922
+ "border": {
923
+ "value": "{color.border}",
924
+ "role": "Depth step 0 (base) border: the hairline of the page and static content"
925
+ },
926
+ "surface": {
927
+ "value": "{color.background}",
928
+ "role": "Depth step 0 (base) surface: the page fill"
929
+ },
930
+ "offset": {
931
+ "value": "0px",
932
+ "role": "Depth step 0 (base) offset: flat, on the page"
933
+ },
934
+ "shadow": {
935
+ "value": "none",
936
+ "role": "Depth step 0 (base) shadow: none"
937
+ },
938
+ "tint": {
939
+ "value": "{material.glass.opacity.default}",
940
+ "role": "Depth step 0 (base) glass tint opacity"
941
+ }
942
+ },
943
+ "z-1": {
944
+ "border": {
945
+ "value": "{color.border}",
946
+ "role": "Depth step 1 (raised) border: the hairline of an interactive control at rest (button, input, chip, a card that acts)"
947
+ },
948
+ "surface": {
949
+ "value": "{color.card}",
950
+ "role": "Depth step 1 (raised) surface: the card fill"
951
+ },
952
+ "offset": {
953
+ "value": "2px",
954
+ "role": "Depth step 1 (raised) offset: raised surface"
955
+ },
956
+ "shadow": {
957
+ "value": "{shadow.raised}",
958
+ "role": "Depth step 1 (raised) shadow"
959
+ },
960
+ "tint": {
961
+ "value": "{material.glass.opacity.default}",
962
+ "role": "Depth step 1 (raised) glass tint opacity"
963
+ }
964
+ },
965
+ "z-2": {
966
+ "border": {
967
+ "value": "{color.border}",
968
+ "role": "Depth step 2 (overlay) border: the hairline of a popover, menu, dropdown, tooltip or dialog"
969
+ },
970
+ "surface": {
971
+ "value": "{color.popover}",
972
+ "role": "Depth step 2 (overlay) surface: the popover fill"
973
+ },
974
+ "offset": {
975
+ "value": "8px",
976
+ "role": "Depth step 2 (overlay) offset: overlay (dialog, popover, menu)"
977
+ },
978
+ "shadow": {
979
+ "value": "{shadow.overlay}",
980
+ "role": "Depth step 2 (overlay) shadow"
981
+ },
982
+ "tint": {
983
+ "value": "{material.glass.opacity.default}",
984
+ "role": "Depth step 2 (overlay) glass tint opacity"
985
+ }
986
+ },
987
+ "z-3": {
988
+ "border": {
989
+ "value": "{color.border-strong}",
990
+ "role": "Depth step 3 (floating) border: the brighter hairline of a sticky toolbar, dock or toast"
991
+ },
992
+ "surface": {
993
+ "value": "{color.popover}",
994
+ "role": "Depth step 3 (floating) surface: the popover fill"
995
+ },
996
+ "offset": {
997
+ "value": "16px",
998
+ "role": "Depth step 3 (floating) offset: floating surface (dock, floating bar)"
999
+ },
1000
+ "shadow": {
1001
+ "value": "{shadow.floating}",
1002
+ "role": "Depth step 3 (floating) shadow"
1003
+ },
1004
+ "tint": {
1005
+ "value": "{material.glass.opacity.xl}",
1006
+ "role": "Depth step 3 (floating) glass tint opacity"
1007
+ }
1008
+ },
1009
+ "z-4": {
1010
+ "border": {
1011
+ "value": "{color.border-strong}",
1012
+ "role": "Depth step 4 (modal) border: the brighter hairline of the topmost surface, above a scrim"
1013
+ },
1014
+ "surface": {
1015
+ "value": "{color.popover}",
1016
+ "role": "Depth step 4 (modal) surface: the popover fill"
1017
+ },
1018
+ "offset": {
1019
+ "value": "32px",
1020
+ "role": "Depth step 4 (modal) offset: topmost surface"
1021
+ },
1022
+ "shadow": {
1023
+ "value": "{shadow.floating}",
1024
+ "role": "Depth step 4 (modal) shadow"
1025
+ },
1026
+ "tint": {
1027
+ "value": "{material.glass.opacity.xl}",
1028
+ "role": "Depth step 4 (modal) glass tint opacity"
1029
+ }
1030
+ }
1031
+ },
1032
+ "motion": {
1033
+ "duration": {
1034
+ "fast": "100ms",
1035
+ "base": "200ms",
1036
+ "slow": "300ms"
1037
+ },
1038
+ "easing": {
1039
+ "enter": "ease-out",
1040
+ "exit": "ease-in",
1041
+ "layout": "ease-in-out"
1042
+ },
1043
+ "press": {
1044
+ "duration": "{motion.duration.fast}",
1045
+ "easing": "{motion.easing.enter}",
1046
+ "role": "Pressed sink: scale 0.98 and down one depth step, ease-out. Under reduced motion the scale drops"
1047
+ },
1048
+ "raise": {
1049
+ "duration": "{motion.duration.base}",
1050
+ "easing": "{motion.easing.enter}",
1051
+ "role": "Hover or gaze raise and overlay entry, ease-out. An exit that plays it in reverse uses a data-[closed]: class"
1052
+ },
1053
+ "reducedMotion": "Collapse durations to 1ms or skip non-essential motion."
1054
+ },
1055
+ "deprecated": {
1056
+ "elevation.none": "Deprecated: no shadow; read depth.z-0.shadow. Stays for every 0.x release",
1057
+ "elevation.sm": "Deprecated: read shadow.raised. Stays for every 0.x release",
1058
+ "elevation.md": "Deprecated: read shadow.overlay. Stays for every 0.x release",
1059
+ "elevation.lg": "Deprecated: read shadow.overlay. Stays for every 0.x release"
1060
+ },
1061
+ "iconography": {
1062
+ "library": "lucide-react",
1063
+ "size": {
1064
+ "default": "1rem",
1065
+ "compact": "0.875rem",
1066
+ "large": "1.25rem"
1067
+ },
1068
+ "strokeWidth": 2,
1069
+ "color": "currentColor"
1070
+ },
1071
+ "themes": {
1072
+ "maia": {
1073
+ "label": "Maia",
1074
+ "description": 'Maia product theme. It equals the core default and overrides nothing: the flat monochrome workbench look is the default. The theme is kept so data-theme="maia" stays valid.'
1075
+ },
1076
+ "paas": {
1077
+ "label": "PaaS",
1078
+ "description": "PaaS product theme: core neutral and status colours with JetBrains Mono for every face. Dark is the design default; light stays supported.",
1079
+ "defaultMode": "dark",
1080
+ "opacity": {
1081
+ "grain": "0",
1082
+ "contact": "0"
1083
+ },
1084
+ "typography": {
1085
+ "fontFamily": {
1086
+ "sans": "'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace",
1087
+ "display": "'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace",
1088
+ "mono": "'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace"
1089
+ }
1090
+ }
1091
+ }
1092
+ }
1093
+ };
1094
+ var componentContracts = {
1095
+ "$schema": "./component-contracts.schema.json",
1096
+ "version": "0.2.0",
1097
+ "components": {
1098
+ "badge": {
1099
+ "name": "Badge",
1100
+ "description": "A short, non-interactive label that tags or counts something, such as a status or a category.",
1101
+ "platforms": {
1102
+ "web": {
1103
+ "inherits": "span element attributes (title, aria-*, and the rest), forwarded to the root span"
1104
+ },
1105
+ "native": {}
1106
+ },
1107
+ "props": {
1108
+ "border": {
1109
+ "type": "enum",
1110
+ "values": [
1111
+ "none",
1112
+ "strong"
1113
+ ],
1114
+ "description": 'Border weight. Leave it out to keep the border the variant draws. "none" removes the border; "strong" draws a full-contrast 1px border.'
1115
+ },
1116
+ "dot": {
1117
+ "type": "boolean",
1118
+ "default": false,
1119
+ "description": "Show a leading status dot. The dot is decorative and hidden from assistive technology, so the label says the status in words. It takes its colour from tone, and follows the label colour without a tone."
1120
+ },
1121
+ "size": {
1122
+ "type": "enum",
1123
+ "values": [
1124
+ "default",
1125
+ "header",
1126
+ "inline",
1127
+ "sm"
1128
+ ],
1129
+ "default": "default",
1130
+ "description": 'Chip size: "header" for page headers, "sm" for dense lists and tables, "inline" to sit in running text.'
1131
+ },
1132
+ "tone": {
1133
+ "type": "enum",
1134
+ "values": [
1135
+ "neutral",
1136
+ "primary",
1137
+ "info",
1138
+ "success",
1139
+ "warning",
1140
+ "danger",
1141
+ "solid",
1142
+ "danger-tint",
1143
+ "danger-solid"
1144
+ ],
1145
+ "description": 'Meaning of the chip. A status tone (neutral to danger) colours the dot and keeps the label and surface neutral; without a variant it uses the "secondary" surface. "solid", "danger-tint" and "danger-solid" set their own surface and replace the variant. Leave it out for the plain variant look.'
1146
+ },
1147
+ "variant": {
1148
+ "type": "enum",
1149
+ "values": [
1150
+ "default",
1151
+ "destructive",
1152
+ "outline",
1153
+ "secondary",
1154
+ "soft"
1155
+ ],
1156
+ "description": 'Surface of the chip. "destructive" still works, but new code uses tone "danger-solid", or tone "danger" with a dot for a calmer chip.'
1157
+ }
1158
+ }
1159
+ },
1160
+ "button": {
1161
+ "name": "Button",
1162
+ "description": "Triggers an action when pressed. Use it for actions, not for navigation between pages (on web, render a link through asChild instead).",
1163
+ "platforms": {
1164
+ "web": {
1165
+ "inherits": "button element attributes (type, onClick, aria-*, and the rest), forwarded to the <button>",
1166
+ "props": {
1167
+ "asChild": {
1168
+ "type": "boolean",
1169
+ "default": false,
1170
+ "description": "Render the single child element (for example a router link) with the Button styles instead of a <button>."
1171
+ },
1172
+ "children": {
1173
+ "type": "node",
1174
+ "description": "The label: text, an icon, or both."
1175
+ },
1176
+ "size": {
1177
+ "type": "enum",
1178
+ "values": [
1179
+ "default",
1180
+ "icon",
1181
+ "icon-lg",
1182
+ "lg",
1183
+ "sm"
1184
+ ],
1185
+ "default": "default",
1186
+ "description": 'Height and padding. "icon" and "icon-lg" are square icon-only buttons; "icon-lg" is the 44 px touch target.'
1187
+ },
1188
+ "variant": {
1189
+ "type": "enum",
1190
+ "values": [
1191
+ "default",
1192
+ "destructive",
1193
+ "ghost",
1194
+ "link",
1195
+ "outline",
1196
+ "secondary",
1197
+ "unstyled"
1198
+ ],
1199
+ "default": "default",
1200
+ "description": 'Visual emphasis. "unstyled" adds no classes: the button draws only its className, and size has no effect.'
1201
+ }
1202
+ }
1203
+ },
1204
+ "native": {
1205
+ "inherits": "Pressable props except children (onPress, accessibilityLabel, style, and the rest)",
1206
+ "props": {
1207
+ "children": {
1208
+ "type": "text",
1209
+ "required": true,
1210
+ "description": "The label text, drawn in the variant's text style."
1211
+ },
1212
+ "textStyle": {
1213
+ "type": "style",
1214
+ "description": "Style for the label text, applied after the variant's text style."
1215
+ }
1216
+ }
1217
+ }
1218
+ },
1219
+ "props": {
1220
+ "disabled": {
1221
+ "type": "boolean",
1222
+ "default": false,
1223
+ "description": "Blocks presses and draws the disabled state."
1224
+ },
1225
+ "size": {
1226
+ "type": "enum",
1227
+ "values": [
1228
+ "default",
1229
+ "icon",
1230
+ "lg",
1231
+ "sm"
1232
+ ],
1233
+ "default": "default",
1234
+ "description": 'Height and padding. "icon" is a square icon-only button.'
1235
+ },
1236
+ "variant": {
1237
+ "type": "enum",
1238
+ "values": [
1239
+ "default",
1240
+ "destructive",
1241
+ "ghost",
1242
+ "link",
1243
+ "outline",
1244
+ "secondary"
1245
+ ],
1246
+ "default": "default",
1247
+ "description": 'Visual emphasis. Use "default" for the main action, "destructive" only for irreversible actions, and "link" only inside text.'
1248
+ }
1249
+ },
1250
+ "states": {
1251
+ "disabled": {
1252
+ "description": "Not pressable; drawn in the disabled style."
1253
+ },
1254
+ "focus": {
1255
+ "description": "Keyboard focus; draws the focus ring."
1256
+ },
1257
+ "hover": {
1258
+ "description": "Pointer over the button; the background or text shifts."
1259
+ },
1260
+ "pressed": {
1261
+ "description": "Being pressed. Native draws it; web keeps the hover style."
1262
+ }
1263
+ },
1264
+ "accessibility": {
1265
+ "role": "button",
1266
+ "labels": {
1267
+ "name": {
1268
+ "required": true,
1269
+ "description": "The accessible name. Visible label text provides it; an icon-only button needs aria-label on web or accessibilityLabel on native."
1270
+ }
1271
+ }
1272
+ }
1273
+ },
1274
+ "card": {
1275
+ "name": "Card",
1276
+ "description": "A surface that groups related content and actions.",
1277
+ "platforms": {
1278
+ "web": {},
1279
+ "native": {}
1280
+ },
1281
+ "props": {},
1282
+ "parts": {
1283
+ "Card": {
1284
+ "description": "The surface that holds the other parts."
1285
+ },
1286
+ "CardHeader": {
1287
+ "description": "The top area, holding the title and description."
1288
+ },
1289
+ "CardTitle": {
1290
+ "description": "The card's heading."
1291
+ },
1292
+ "CardDescription": {
1293
+ "description": "Supporting text under the title."
1294
+ },
1295
+ "CardContent": {
1296
+ "description": "The main body."
1297
+ },
1298
+ "CardFooter": {
1299
+ "description": "The bottom area, usually for actions."
1300
+ }
1301
+ }
1302
+ },
1303
+ "heading": {
1304
+ "name": "Heading",
1305
+ "description": "A section title, ranked h1 to h6.",
1306
+ "platforms": {
1307
+ "web": {},
1308
+ "native": {}
1309
+ },
1310
+ "props": {
1311
+ "level": {
1312
+ "type": "enum",
1313
+ "values": [
1314
+ 1,
1315
+ 2,
1316
+ 3,
1317
+ 4,
1318
+ 5,
1319
+ 6
1320
+ ],
1321
+ "description": "The heading rank, 1 (page title) to 6."
1322
+ }
1323
+ },
1324
+ "accessibility": {
1325
+ "role": "heading"
1326
+ }
1327
+ },
1328
+ "text": {
1329
+ "name": "Text",
1330
+ "description": "Body text whose scale, tone and weight come from the theme tokens.",
1331
+ "platforms": {
1332
+ "web": {},
1333
+ "native": {}
1334
+ },
1335
+ "props": {
1336
+ "size": {
1337
+ "type": "enum",
1338
+ "values": [
1339
+ "base",
1340
+ "caption",
1341
+ "lead",
1342
+ "small"
1343
+ ],
1344
+ "description": "The type scale step."
1345
+ },
1346
+ "tone": {
1347
+ "type": "enum",
1348
+ "values": [
1349
+ "default",
1350
+ "muted"
1351
+ ],
1352
+ "description": 'The text color role. "muted" is for secondary text.'
1353
+ },
1354
+ "weight": {
1355
+ "type": "enum",
1356
+ "values": [
1357
+ "medium",
1358
+ "normal",
1359
+ "semibold"
1360
+ ],
1361
+ "description": "The font weight."
1362
+ }
1363
+ }
1364
+ }
1365
+ }
1366
+ };
1367
+ var productThemes = {
1368
+ "maia": {
1369
+ "colors": {
1370
+ "dark": {
1371
+ "background": "#000000",
1372
+ "foreground": "#ffffff",
1373
+ "card": "#000000",
1374
+ "cardForeground": "#ffffff",
1375
+ "popover": "#000000",
1376
+ "popoverForeground": "#ededed",
1377
+ "primary": "#ffffff",
1378
+ "primaryForeground": "#000000",
1379
+ "secondary": "#262626",
1380
+ "secondaryForeground": "#ededed",
1381
+ "muted": "#000000",
1382
+ "mutedForeground": "#a3a3a3",
1383
+ "accent": "#262626",
1384
+ "accentForeground": "#ededed",
1385
+ "destructive": "#fa6961",
1386
+ "destructiveForeground": "#171717",
1387
+ "success": "#4ed589",
1388
+ "successForeground": "#171717",
1389
+ "warning": "#f0bb3b",
1390
+ "warningForeground": "#171717",
1391
+ "info": "#65b2f1",
1392
+ "infoForeground": "#171717",
1393
+ "diffAdded": "#102b17",
1394
+ "diffRemoved": "#3b1816",
1395
+ "border": "#262626",
1396
+ "input": "#696969",
1397
+ "ring": "#d4d4d4",
1398
+ "sidebar": "#000000",
1399
+ "pill": "#000000",
1400
+ "pillBorder": "#262626",
1401
+ "composerBorder": "#2a2a2a",
1402
+ "statusNeedsYou": "#eab305",
1403
+ "statusUnread": "#3b82f6",
1404
+ "statusFailed": "#ef4444",
1405
+ "statusDone": "#00c950",
1406
+ "statusRing": "#a3a3a3"
1407
+ },
1408
+ "light": {
1409
+ "background": "#ffffff",
1410
+ "foreground": "#000000",
1411
+ "card": "#ffffff",
1412
+ "cardForeground": "#000000",
1413
+ "popover": "#ffffff",
1414
+ "popoverForeground": "#000000",
1415
+ "primary": "#000000",
1416
+ "primaryForeground": "#ffffff",
1417
+ "secondary": "#f5f5f5",
1418
+ "secondaryForeground": "#171717",
1419
+ "muted": "#f5f5f5",
1420
+ "mutedForeground": "#6a6a6a",
1421
+ "accent": "#f5f5f5",
1422
+ "accentForeground": "#171717",
1423
+ "destructive": "#cf1f29",
1424
+ "destructiveForeground": "#fafafa",
1425
+ "success": "#1e7546",
1426
+ "successForeground": "#fafafa",
1427
+ "warning": "#825a27",
1428
+ "warningForeground": "#fafafa",
1429
+ "info": "#1762b6",
1430
+ "infoForeground": "#fafafa",
1431
+ "diffAdded": "#d9f3dd",
1432
+ "diffRemoved": "#ffe4e1",
1433
+ "border": "#e5e5e5",
1434
+ "input": "#858585",
1435
+ "ring": "#0a0a0a",
1436
+ "sidebar": "#fafafa",
1437
+ "pill": "#f5f5f5",
1438
+ "pillBorder": "#e5e5e5",
1439
+ "composerBorder": "#d4d4d4",
1440
+ "statusNeedsYou": "#a65f00",
1441
+ "statusUnread": "#2563eb",
1442
+ "statusFailed": "#dc2626",
1443
+ "statusDone": "#15803d",
1444
+ "statusRing": "#737373"
1445
+ }
1446
+ },
1447
+ "defaultMode": null,
1448
+ "label": "Maia",
1449
+ "radius": {
1450
+ "none": 0,
1451
+ "sm": 4,
1452
+ "md": 8,
1453
+ "lg": 12,
1454
+ "xl": 16,
1455
+ "full": 9999,
1456
+ "control": 4,
1457
+ "surface": 6
1458
+ },
1459
+ "typography": {
1460
+ "fontFamily": {
1461
+ "sans": "JetBrains Mono",
1462
+ "display": "JetBrains Mono",
1463
+ "mono": "JetBrains Mono"
1464
+ },
1465
+ "fontWeight": {
1466
+ "heading": 500,
1467
+ "display": 600,
1468
+ "body": 400,
1469
+ "caption": 400,
1470
+ "label": 500
1471
+ },
1472
+ "scale": {
1473
+ "display": {
1474
+ "fontSize": 28,
1475
+ "lineHeight": 30.8
1476
+ },
1477
+ "h1": {
1478
+ "fontSize": 20,
1479
+ "lineHeight": 26
1480
+ },
1481
+ "h2": {
1482
+ "fontSize": 14,
1483
+ "lineHeight": 19.6
1484
+ },
1485
+ "h3": {
1486
+ "fontSize": 13,
1487
+ "lineHeight": 18.2
1488
+ },
1489
+ "h4": {
1490
+ "fontSize": 13,
1491
+ "lineHeight": 18.2
1492
+ },
1493
+ "h5": {
1494
+ "fontSize": 13,
1495
+ "lineHeight": 18.2
1496
+ },
1497
+ "h6": {
1498
+ "fontSize": 13,
1499
+ "lineHeight": 18.2
1500
+ },
1501
+ "bodyLarge": {
1502
+ "fontSize": 15,
1503
+ "lineHeight": 24
1504
+ },
1505
+ "body": {
1506
+ "fontSize": 14,
1507
+ "lineHeight": 21
1508
+ },
1509
+ "bodySmall": {
1510
+ "fontSize": 13,
1511
+ "lineHeight": 18.85
1512
+ },
1513
+ "caption": {
1514
+ "fontSize": 12,
1515
+ "lineHeight": 16.8
1516
+ },
1517
+ "label": {
1518
+ "fontSize": 11,
1519
+ "lineHeight": 15.4
1520
+ }
1521
+ }
1522
+ }
1523
+ },
1524
+ "paas": {
1525
+ "colors": {
1526
+ "dark": {
1527
+ "background": "#000000",
1528
+ "foreground": "#ffffff",
1529
+ "card": "#000000",
1530
+ "cardForeground": "#ffffff",
1531
+ "popover": "#000000",
1532
+ "popoverForeground": "#ededed",
1533
+ "primary": "#ffffff",
1534
+ "primaryForeground": "#000000",
1535
+ "secondary": "#262626",
1536
+ "secondaryForeground": "#ededed",
1537
+ "muted": "#000000",
1538
+ "mutedForeground": "#a3a3a3",
1539
+ "accent": "#262626",
1540
+ "accentForeground": "#ededed",
1541
+ "destructive": "#fa6961",
1542
+ "destructiveForeground": "#171717",
1543
+ "success": "#4ed589",
1544
+ "successForeground": "#171717",
1545
+ "warning": "#f0bb3b",
1546
+ "warningForeground": "#171717",
1547
+ "info": "#65b2f1",
1548
+ "infoForeground": "#171717",
1549
+ "diffAdded": "#102b17",
1550
+ "diffRemoved": "#3b1816",
1551
+ "border": "#262626",
1552
+ "input": "#696969",
1553
+ "ring": "#d4d4d4",
1554
+ "sidebar": "#000000",
1555
+ "pill": "#000000",
1556
+ "pillBorder": "#262626",
1557
+ "composerBorder": "#2a2a2a",
1558
+ "statusNeedsYou": "#eab305",
1559
+ "statusUnread": "#3b82f6",
1560
+ "statusFailed": "#ef4444",
1561
+ "statusDone": "#00c950",
1562
+ "statusRing": "#a3a3a3"
1563
+ },
1564
+ "light": {
1565
+ "background": "#ffffff",
1566
+ "foreground": "#000000",
1567
+ "card": "#ffffff",
1568
+ "cardForeground": "#000000",
1569
+ "popover": "#ffffff",
1570
+ "popoverForeground": "#000000",
1571
+ "primary": "#000000",
1572
+ "primaryForeground": "#ffffff",
1573
+ "secondary": "#f5f5f5",
1574
+ "secondaryForeground": "#171717",
1575
+ "muted": "#f5f5f5",
1576
+ "mutedForeground": "#6a6a6a",
1577
+ "accent": "#f5f5f5",
1578
+ "accentForeground": "#171717",
1579
+ "destructive": "#cf1f29",
1580
+ "destructiveForeground": "#fafafa",
1581
+ "success": "#1e7546",
1582
+ "successForeground": "#fafafa",
1583
+ "warning": "#825a27",
1584
+ "warningForeground": "#fafafa",
1585
+ "info": "#1762b6",
1586
+ "infoForeground": "#fafafa",
1587
+ "diffAdded": "#d9f3dd",
1588
+ "diffRemoved": "#ffe4e1",
1589
+ "border": "#e5e5e5",
1590
+ "input": "#858585",
1591
+ "ring": "#0a0a0a",
1592
+ "sidebar": "#fafafa",
1593
+ "pill": "#f5f5f5",
1594
+ "pillBorder": "#e5e5e5",
1595
+ "composerBorder": "#d4d4d4",
1596
+ "statusNeedsYou": "#a65f00",
1597
+ "statusUnread": "#2563eb",
1598
+ "statusFailed": "#dc2626",
1599
+ "statusDone": "#15803d",
1600
+ "statusRing": "#737373"
1601
+ }
1602
+ },
1603
+ "defaultMode": "dark",
1604
+ "label": "PaaS",
1605
+ "radius": {
1606
+ "none": 0,
1607
+ "sm": 4,
1608
+ "md": 8,
1609
+ "lg": 12,
1610
+ "xl": 16,
1611
+ "full": 9999,
1612
+ "control": 4,
1613
+ "surface": 6
1614
+ },
1615
+ "typography": {
1616
+ "fontFamily": {
1617
+ "sans": "JetBrains Mono",
1618
+ "display": "JetBrains Mono",
1619
+ "mono": "JetBrains Mono"
1620
+ },
1621
+ "fontWeight": {
1622
+ "heading": 500,
1623
+ "display": 600,
1624
+ "body": 400,
1625
+ "caption": 400,
1626
+ "label": 500
1627
+ },
1628
+ "scale": {
1629
+ "display": {
1630
+ "fontSize": 28,
1631
+ "lineHeight": 30.8
1632
+ },
1633
+ "h1": {
1634
+ "fontSize": 20,
1635
+ "lineHeight": 26
1636
+ },
1637
+ "h2": {
1638
+ "fontSize": 14,
1639
+ "lineHeight": 19.6
1640
+ },
1641
+ "h3": {
1642
+ "fontSize": 13,
1643
+ "lineHeight": 18.2
1644
+ },
1645
+ "h4": {
1646
+ "fontSize": 13,
1647
+ "lineHeight": 18.2
1648
+ },
1649
+ "h5": {
1650
+ "fontSize": 13,
1651
+ "lineHeight": 18.2
1652
+ },
1653
+ "h6": {
1654
+ "fontSize": 13,
1655
+ "lineHeight": 18.2
1656
+ },
1657
+ "bodyLarge": {
1658
+ "fontSize": 15,
1659
+ "lineHeight": 24
1660
+ },
1661
+ "body": {
1662
+ "fontSize": 14,
1663
+ "lineHeight": 21
1664
+ },
1665
+ "bodySmall": {
1666
+ "fontSize": 13,
1667
+ "lineHeight": 18.85
1668
+ },
1669
+ "caption": {
1670
+ "fontSize": 12,
1671
+ "lineHeight": 16.8
1672
+ },
1673
+ "label": {
1674
+ "fontSize": 11,
1675
+ "lineHeight": 15.4
1676
+ }
1677
+ }
1678
+ }
1679
+ }
1680
+ };
1681
+ var tamaguiTokens = {
1682
+ "color": {
1683
+ "backgroundDark": "#050505",
1684
+ "foregroundDark": "#ffffff",
1685
+ "cardDark": "#0a0a0a",
1686
+ "cardForegroundDark": "#ffffff",
1687
+ "popoverDark": "#0a0a0a",
1688
+ "popoverForegroundDark": "#ededed",
1689
+ "primaryDark": "#ffffff",
1690
+ "primaryForegroundDark": "#000000",
1691
+ "secondaryDark": "#262626",
1692
+ "secondaryForegroundDark": "#ededed",
1693
+ "mutedDark": "#262626",
1694
+ "mutedForegroundDark": "#a3a3a3",
1695
+ "accentDark": "#262626",
1696
+ "accentForegroundDark": "#ededed",
1697
+ "destructiveDark": "#fa6961",
1698
+ "destructiveForegroundDark": "#171717",
1699
+ "successDark": "#4ed589",
1700
+ "successForegroundDark": "#171717",
1701
+ "warningDark": "#f0bb3b",
1702
+ "warningForegroundDark": "#171717",
1703
+ "infoDark": "#65b2f1",
1704
+ "infoForegroundDark": "#171717",
1705
+ "diffAddedDark": "#102b17",
1706
+ "diffRemovedDark": "#3b1816",
1707
+ "borderDark": "#262626",
1708
+ "inputDark": "#696969",
1709
+ "ringDark": "#d4d4d4",
1710
+ "sidebarDark": "#000000",
1711
+ "pillDark": "#000000",
1712
+ "pillBorderDark": "#262626",
1713
+ "composerBorderDark": "#2a2a2a",
1714
+ "statusNeedsYouDark": "#eab305",
1715
+ "statusUnreadDark": "#3b82f6",
1716
+ "statusFailedDark": "#ef4444",
1717
+ "statusDoneDark": "#00c950",
1718
+ "statusRingDark": "#a3a3a3",
1719
+ "backgroundLight": "#ffffff",
1720
+ "foregroundLight": "#000000",
1721
+ "cardLight": "#ffffff",
1722
+ "cardForegroundLight": "#000000",
1723
+ "popoverLight": "#ffffff",
1724
+ "popoverForegroundLight": "#000000",
1725
+ "primaryLight": "#000000",
1726
+ "primaryForegroundLight": "#ffffff",
1727
+ "secondaryLight": "#f5f5f5",
1728
+ "secondaryForegroundLight": "#171717",
1729
+ "mutedLight": "#f5f5f5",
1730
+ "mutedForegroundLight": "#6a6a6a",
1731
+ "accentLight": "#f5f5f5",
1732
+ "accentForegroundLight": "#171717",
1733
+ "destructiveLight": "#cf1f29",
1734
+ "destructiveForegroundLight": "#fafafa",
1735
+ "successLight": "#1e7546",
1736
+ "successForegroundLight": "#fafafa",
1737
+ "warningLight": "#825a27",
1738
+ "warningForegroundLight": "#fafafa",
1739
+ "infoLight": "#1762b6",
1740
+ "infoForegroundLight": "#fafafa",
1741
+ "diffAddedLight": "#d9f3dd",
1742
+ "diffRemovedLight": "#ffe4e1",
1743
+ "borderLight": "#e5e5e5",
1744
+ "inputLight": "#858585",
1745
+ "ringLight": "#0a0a0a",
1746
+ "sidebarLight": "#fafafa",
1747
+ "pillLight": "#f5f5f5",
1748
+ "pillBorderLight": "#e5e5e5",
1749
+ "composerBorderLight": "#d4d4d4",
1750
+ "statusNeedsYouLight": "#a65f00",
1751
+ "statusUnreadLight": "#2563eb",
1752
+ "statusFailedLight": "#dc2626",
1753
+ "statusDoneLight": "#15803d",
1754
+ "statusRingLight": "#737373"
1755
+ },
1756
+ "radius": {
1757
+ "none": 0,
1758
+ "sm": 4,
1759
+ "md": 8,
1760
+ "lg": 12,
1761
+ "xl": 16,
1762
+ "full": 9999,
1763
+ "control": 4,
1764
+ "surface": 6
1765
+ },
1766
+ "size": {
1767
+ "1": 4,
1768
+ "2": 8,
1769
+ "3": 12,
1770
+ "4": 16,
1771
+ "5": 20,
1772
+ "6": 24,
1773
+ "8": 32,
1774
+ "10": 40,
1775
+ "12": 48,
1776
+ "16": 64,
1777
+ "24": 96
1778
+ },
1779
+ "space": {
1780
+ "1": 4,
1781
+ "2": 8,
1782
+ "3": 12,
1783
+ "4": 16,
1784
+ "5": 20,
1785
+ "6": 24,
1786
+ "8": 32,
1787
+ "10": 40,
1788
+ "12": 48,
1789
+ "16": 64,
1790
+ "24": 96
1791
+ },
1792
+ "zIndex": {
1793
+ "0": 0,
1794
+ "1": 100,
1795
+ "2": 200,
1796
+ "3": 300,
1797
+ "4": 400,
1798
+ "5": 500
1799
+ }
1800
+ };
1801
+ var tamaguiThemes = {
1802
+ "maia_dark": {
1803
+ "background": "#000000",
1804
+ "color": "#ffffff",
1805
+ "card": "#000000",
1806
+ "cardForeground": "#ffffff",
1807
+ "popover": "#000000",
1808
+ "popoverForeground": "#ededed",
1809
+ "primary": "#ffffff",
1810
+ "primaryForeground": "#000000",
1811
+ "secondary": "#262626",
1812
+ "secondaryForeground": "#ededed",
1813
+ "muted": "#000000",
1814
+ "mutedForeground": "#a3a3a3",
1815
+ "accent": "#262626",
1816
+ "accentForeground": "#ededed",
1817
+ "destructive": "#fa6961",
1818
+ "destructiveForeground": "#171717",
1819
+ "success": "#4ed589",
1820
+ "successForeground": "#171717",
1821
+ "warning": "#f0bb3b",
1822
+ "warningForeground": "#171717",
1823
+ "info": "#65b2f1",
1824
+ "infoForeground": "#171717",
1825
+ "diffAdded": "#102b17",
1826
+ "diffRemoved": "#3b1816",
1827
+ "borderColor": "#262626",
1828
+ "input": "#696969",
1829
+ "ring": "#d4d4d4",
1830
+ "sidebar": "#000000",
1831
+ "pill": "#000000",
1832
+ "pillBorder": "#262626",
1833
+ "composerBorder": "#2a2a2a",
1834
+ "statusNeedsYou": "#eab305",
1835
+ "statusUnread": "#3b82f6",
1836
+ "statusFailed": "#ef4444",
1837
+ "statusDone": "#00c950",
1838
+ "statusRing": "#a3a3a3",
1839
+ "placeholderColor": "#a3a3a3"
1840
+ },
1841
+ "maia_light": {
1842
+ "background": "#ffffff",
1843
+ "color": "#000000",
1844
+ "card": "#ffffff",
1845
+ "cardForeground": "#000000",
1846
+ "popover": "#ffffff",
1847
+ "popoverForeground": "#000000",
1848
+ "primary": "#000000",
1849
+ "primaryForeground": "#ffffff",
1850
+ "secondary": "#f5f5f5",
1851
+ "secondaryForeground": "#171717",
1852
+ "muted": "#f5f5f5",
1853
+ "mutedForeground": "#6a6a6a",
1854
+ "accent": "#f5f5f5",
1855
+ "accentForeground": "#171717",
1856
+ "destructive": "#cf1f29",
1857
+ "destructiveForeground": "#fafafa",
1858
+ "success": "#1e7546",
1859
+ "successForeground": "#fafafa",
1860
+ "warning": "#825a27",
1861
+ "warningForeground": "#fafafa",
1862
+ "info": "#1762b6",
1863
+ "infoForeground": "#fafafa",
1864
+ "diffAdded": "#d9f3dd",
1865
+ "diffRemoved": "#ffe4e1",
1866
+ "borderColor": "#e5e5e5",
1867
+ "input": "#858585",
1868
+ "ring": "#0a0a0a",
1869
+ "sidebar": "#fafafa",
1870
+ "pill": "#f5f5f5",
1871
+ "pillBorder": "#e5e5e5",
1872
+ "composerBorder": "#d4d4d4",
1873
+ "statusNeedsYou": "#a65f00",
1874
+ "statusUnread": "#2563eb",
1875
+ "statusFailed": "#dc2626",
1876
+ "statusDone": "#15803d",
1877
+ "statusRing": "#737373",
1878
+ "placeholderColor": "#6a6a6a"
1879
+ },
1880
+ "paas_dark": {
1881
+ "background": "#000000",
1882
+ "color": "#ffffff",
1883
+ "card": "#000000",
1884
+ "cardForeground": "#ffffff",
1885
+ "popover": "#000000",
1886
+ "popoverForeground": "#ededed",
1887
+ "primary": "#ffffff",
1888
+ "primaryForeground": "#000000",
1889
+ "secondary": "#262626",
1890
+ "secondaryForeground": "#ededed",
1891
+ "muted": "#000000",
1892
+ "mutedForeground": "#a3a3a3",
1893
+ "accent": "#262626",
1894
+ "accentForeground": "#ededed",
1895
+ "destructive": "#fa6961",
1896
+ "destructiveForeground": "#171717",
1897
+ "success": "#4ed589",
1898
+ "successForeground": "#171717",
1899
+ "warning": "#f0bb3b",
1900
+ "warningForeground": "#171717",
1901
+ "info": "#65b2f1",
1902
+ "infoForeground": "#171717",
1903
+ "diffAdded": "#102b17",
1904
+ "diffRemoved": "#3b1816",
1905
+ "borderColor": "#262626",
1906
+ "input": "#696969",
1907
+ "ring": "#d4d4d4",
1908
+ "sidebar": "#000000",
1909
+ "pill": "#000000",
1910
+ "pillBorder": "#262626",
1911
+ "composerBorder": "#2a2a2a",
1912
+ "statusNeedsYou": "#eab305",
1913
+ "statusUnread": "#3b82f6",
1914
+ "statusFailed": "#ef4444",
1915
+ "statusDone": "#00c950",
1916
+ "statusRing": "#a3a3a3",
1917
+ "placeholderColor": "#a3a3a3"
1918
+ },
1919
+ "paas_light": {
1920
+ "background": "#ffffff",
1921
+ "color": "#000000",
1922
+ "card": "#ffffff",
1923
+ "cardForeground": "#000000",
1924
+ "popover": "#ffffff",
1925
+ "popoverForeground": "#000000",
1926
+ "primary": "#000000",
1927
+ "primaryForeground": "#ffffff",
1928
+ "secondary": "#f5f5f5",
1929
+ "secondaryForeground": "#171717",
1930
+ "muted": "#f5f5f5",
1931
+ "mutedForeground": "#6a6a6a",
1932
+ "accent": "#f5f5f5",
1933
+ "accentForeground": "#171717",
1934
+ "destructive": "#cf1f29",
1935
+ "destructiveForeground": "#fafafa",
1936
+ "success": "#1e7546",
1937
+ "successForeground": "#fafafa",
1938
+ "warning": "#825a27",
1939
+ "warningForeground": "#fafafa",
1940
+ "info": "#1762b6",
1941
+ "infoForeground": "#fafafa",
1942
+ "diffAdded": "#d9f3dd",
1943
+ "diffRemoved": "#ffe4e1",
1944
+ "borderColor": "#e5e5e5",
1945
+ "input": "#858585",
1946
+ "ring": "#0a0a0a",
1947
+ "sidebar": "#fafafa",
1948
+ "pill": "#f5f5f5",
1949
+ "pillBorder": "#e5e5e5",
1950
+ "composerBorder": "#d4d4d4",
1951
+ "statusNeedsYou": "#a65f00",
1952
+ "statusUnread": "#2563eb",
1953
+ "statusFailed": "#dc2626",
1954
+ "statusDone": "#15803d",
1955
+ "statusRing": "#737373",
1956
+ "placeholderColor": "#6a6a6a"
1957
+ }
1958
+ };
1959
+ export {
1960
+ componentContracts,
1961
+ componentPlatforms,
1962
+ contractPropertyTypes,
1963
+ createNativeTheme,
1964
+ darkTheme,
1965
+ designTokens,
1966
+ isComponentPlatform,
1967
+ lightTheme,
1968
+ nativeTokens,
1969
+ productThemes,
1970
+ tamaguiThemes,
1971
+ tamaguiTokens,
1972
+ validateComponentContracts
1973
+ };