@vellira-ui/tokens 2.98.5 → 2.98.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) hide show
  1. package/dist/css/tokens.css +189 -240
  2. package/dist/dark/components/dropdown.d.ts +9 -9
  3. package/dist/dark/components/dropdown.d.ts.map +1 -1
  4. package/dist/dark/components/dropdown.js +4 -3
  5. package/dist/dark/components/input.d.ts +2 -2
  6. package/dist/dark/components/input.js +5 -5
  7. package/dist/dark/components/modal.js +1 -1
  8. package/dist/dark/components/radio.d.ts +1 -2
  9. package/dist/dark/components/radio.d.ts.map +1 -1
  10. package/dist/dark/components/radio.js +2 -2
  11. package/dist/dark/components/select.d.ts +1 -1
  12. package/dist/dark/components/select.js +3 -3
  13. package/dist/dark/semantic/action.d.ts +6 -6
  14. package/dist/dark/semantic/action.js +6 -6
  15. package/dist/dark/semantic/border.d.ts +1 -1
  16. package/dist/dark/semantic/border.js +1 -1
  17. package/dist/dark/semantic/control.d.ts +2 -2
  18. package/dist/dark/semantic/control.js +3 -3
  19. package/dist/dark/semantic/focus.d.ts +1 -1
  20. package/dist/dark/semantic/focus.js +1 -1
  21. package/dist/dark/semantic/icons.d.ts +2 -2
  22. package/dist/dark/semantic/icons.js +2 -2
  23. package/dist/dark/semantic/index.d.ts +0 -1
  24. package/dist/dark/semantic/index.d.ts.map +1 -1
  25. package/dist/dark/semantic/index.js +0 -1
  26. package/dist/dark/semantic/overlay.d.ts +2 -2
  27. package/dist/dark/semantic/overlay.js +2 -2
  28. package/dist/dark/semantic/status.d.ts +6 -6
  29. package/dist/dark/semantic/status.js +6 -6
  30. package/dist/dark/semantic/surface.d.ts +0 -1
  31. package/dist/dark/semantic/surface.d.ts.map +1 -1
  32. package/dist/dark/semantic/surface.js +0 -1
  33. package/dist/dark/semantic/text.d.ts +3 -3
  34. package/dist/dark/semantic/text.js +3 -3
  35. package/dist/factories/componentFocusRing.d.ts +13 -0
  36. package/dist/factories/componentFocusRing.d.ts.map +1 -0
  37. package/dist/factories/componentFocusRing.js +6 -0
  38. package/dist/factories/createContextMenuTokens.d.ts +2 -1
  39. package/dist/factories/createContextMenuTokens.d.ts.map +1 -1
  40. package/dist/factories/createContextMenuTokens.js +3 -2
  41. package/dist/factories/createModalTokens.d.ts +3 -2
  42. package/dist/factories/createModalTokens.d.ts.map +1 -1
  43. package/dist/factories/createModalTokens.js +4 -3
  44. package/dist/factories/createPopoverTokens.d.ts +1 -1
  45. package/dist/factories/createPopoverTokens.d.ts.map +1 -1
  46. package/dist/factories/createPopoverTokens.js +2 -2
  47. package/dist/factories/createRadioPalette.d.ts +1 -2
  48. package/dist/factories/createRadioPalette.d.ts.map +1 -1
  49. package/dist/factories/createRadioPalette.js +1 -2
  50. package/dist/factories/createSwitchTokens.d.ts +1 -1
  51. package/dist/factories/createSwitchTokens.d.ts.map +1 -1
  52. package/dist/factories/createSwitchTokens.js +3 -3
  53. package/dist/generated/token-types.d.ts +5 -5
  54. package/dist/generated/token-types.d.ts.map +1 -1
  55. package/dist/generated/token-types.js +220 -288
  56. package/dist/highContrast/components/dropdown.d.ts +8 -8
  57. package/dist/highContrast/components/dropdown.d.ts.map +1 -1
  58. package/dist/highContrast/components/dropdown.js +4 -3
  59. package/dist/highContrast/components/input.d.ts +5 -5
  60. package/dist/highContrast/components/input.js +5 -5
  61. package/dist/highContrast/components/radio.d.ts +1 -2
  62. package/dist/highContrast/components/radio.d.ts.map +1 -1
  63. package/dist/highContrast/components/radio.js +2 -2
  64. package/dist/highContrast/components/select.d.ts +2 -2
  65. package/dist/highContrast/components/select.js +3 -3
  66. package/dist/highContrast/semantic/action.d.ts +6 -6
  67. package/dist/highContrast/semantic/action.js +6 -6
  68. package/dist/highContrast/semantic/border.d.ts +1 -1
  69. package/dist/highContrast/semantic/border.js +1 -1
  70. package/dist/highContrast/semantic/control.d.ts +2 -2
  71. package/dist/highContrast/semantic/control.js +2 -2
  72. package/dist/highContrast/semantic/focus.d.ts +1 -1
  73. package/dist/highContrast/semantic/focus.js +1 -1
  74. package/dist/highContrast/semantic/icons.d.ts +4 -4
  75. package/dist/highContrast/semantic/icons.js +4 -4
  76. package/dist/highContrast/semantic/index.d.ts +0 -1
  77. package/dist/highContrast/semantic/index.d.ts.map +1 -1
  78. package/dist/highContrast/semantic/index.js +0 -1
  79. package/dist/highContrast/semantic/overlay.d.ts +2 -2
  80. package/dist/highContrast/semantic/overlay.js +2 -2
  81. package/dist/highContrast/semantic/status.d.ts +4 -4
  82. package/dist/highContrast/semantic/status.js +4 -4
  83. package/dist/highContrast/semantic/surface.d.ts +0 -1
  84. package/dist/highContrast/semantic/surface.d.ts.map +1 -1
  85. package/dist/highContrast/semantic/surface.js +0 -1
  86. package/dist/highContrast/semantic/text.d.ts +1 -1
  87. package/dist/highContrast/semantic/text.js +1 -1
  88. package/dist/light/components/dropdown.d.ts +8 -8
  89. package/dist/light/components/dropdown.d.ts.map +1 -1
  90. package/dist/light/components/dropdown.js +4 -3
  91. package/dist/light/components/input.d.ts +1 -1
  92. package/dist/light/components/input.js +5 -5
  93. package/dist/light/components/radio.d.ts +1 -2
  94. package/dist/light/components/radio.d.ts.map +1 -1
  95. package/dist/light/components/radio.js +2 -2
  96. package/dist/light/components/select.d.ts +1 -1
  97. package/dist/light/components/select.js +3 -3
  98. package/dist/light/semantic/action.d.ts +6 -6
  99. package/dist/light/semantic/action.js +6 -6
  100. package/dist/light/semantic/border.d.ts +1 -1
  101. package/dist/light/semantic/border.js +1 -1
  102. package/dist/light/semantic/control.d.ts +2 -2
  103. package/dist/light/semantic/control.js +2 -2
  104. package/dist/light/semantic/focus.d.ts +1 -1
  105. package/dist/light/semantic/focus.js +1 -1
  106. package/dist/light/semantic/icons.d.ts +2 -2
  107. package/dist/light/semantic/icons.js +2 -2
  108. package/dist/light/semantic/index.d.ts +0 -1
  109. package/dist/light/semantic/index.d.ts.map +1 -1
  110. package/dist/light/semantic/index.js +0 -1
  111. package/dist/light/semantic/menu.js +1 -1
  112. package/dist/light/semantic/overlay.d.ts +2 -2
  113. package/dist/light/semantic/overlay.js +2 -2
  114. package/dist/light/semantic/status.d.ts +4 -4
  115. package/dist/light/semantic/status.js +4 -4
  116. package/dist/light/semantic/surface.d.ts +0 -1
  117. package/dist/light/semantic/surface.d.ts.map +1 -1
  118. package/dist/light/semantic/surface.js +0 -1
  119. package/dist/light/semantic/text.d.ts +1 -1
  120. package/dist/light/semantic/text.js +1 -1
  121. package/dist/preservation/token-migrations.d.ts +213 -11
  122. package/dist/preservation/token-migrations.d.ts.map +1 -1
  123. package/dist/preservation/token-migrations.js +385 -19
  124. package/dist/token-architecture.d.ts +119 -5
  125. package/dist/token-architecture.d.ts.map +1 -1
  126. package/dist/token-architecture.js +206 -15
  127. package/package.json +1 -1
  128. package/dist/dark/semantic/navigation.d.ts +0 -34
  129. package/dist/dark/semantic/navigation.d.ts.map +0 -1
  130. package/dist/dark/semantic/navigation.js +0 -37
  131. package/dist/highContrast/semantic/navigation.d.ts +0 -34
  132. package/dist/highContrast/semantic/navigation.d.ts.map +0 -1
  133. package/dist/highContrast/semantic/navigation.js +0 -36
  134. package/dist/light/semantic/navigation.d.ts +0 -34
  135. package/dist/light/semantic/navigation.d.ts.map +0 -1
  136. package/dist/light/semantic/navigation.js +0 -37
@@ -219,6 +219,178 @@ export function requireTokenValueKind(tokenPath, value) {
219
219
  return kind;
220
220
  throw new Error(`Unknown numeric token value kind for "${tokenPath}". Add a canonical namespace or role rule before serializing this token.`);
221
221
  }
222
+ export const canonicalInteractionStates = [
223
+ 'default',
224
+ 'hover',
225
+ 'pressed',
226
+ 'active',
227
+ 'selected',
228
+ 'disabled',
229
+ 'focus',
230
+ ];
231
+ /**
232
+ * Interaction-state semantics consumed by token audits, Generator V2, and agents.
233
+ * State names describe meaning, never a visual intensity level.
234
+ */
235
+ export const interactionStateVocabularyV1 = {
236
+ default: {
237
+ temporality: 'resting',
238
+ meaning: 'Resting enabled state before interaction or persistent selection.',
239
+ },
240
+ hover: {
241
+ temporality: 'transient',
242
+ meaning: 'Pointer hover only; optional when the input platform has no hover capability.',
243
+ },
244
+ pressed: {
245
+ temporality: 'transient',
246
+ meaning: 'Physical pointer or key activation while the interaction is held.',
247
+ },
248
+ active: {
249
+ temporality: 'persistent-or-current',
250
+ meaning: 'Current or persistently active domain state; never an alias for physical press.',
251
+ },
252
+ selected: {
253
+ temporality: 'persistent',
254
+ meaning: 'Chosen, checked, or selected domain state.',
255
+ },
256
+ disabled: {
257
+ temporality: 'persistent',
258
+ meaning: 'Unavailable interaction state that cannot be activated.',
259
+ },
260
+ focus: {
261
+ temporality: 'transient-or-current',
262
+ meaning: 'Current input focus indication, independent from hover, press, or selection.',
263
+ },
264
+ };
265
+ /**
266
+ * Domains where active is intentionally distinct from physical press.
267
+ * Patterns are architecture metadata for #890; they are not runtime selectors.
268
+ */
269
+ export const legitimatePersistentActiveStateDomainsV1 = [
270
+ {
271
+ pattern: 'semantic.surface.active',
272
+ meaning: 'Generic current/active surface role distinct from surface.pressed.',
273
+ },
274
+ {
275
+ pattern: 'semantic.menu.item.active',
276
+ meaning: 'Current/highlighted menu item independent from physical press.',
277
+ },
278
+ {
279
+ pattern: 'semantic.menu.item.danger.active',
280
+ meaning: 'Current/highlighted danger menu item.',
281
+ },
282
+ {
283
+ pattern: 'components.contextMenu.item.active',
284
+ meaning: 'Current/highlighted context-menu item.',
285
+ },
286
+ {
287
+ pattern: 'components.dropdown.*.item.active',
288
+ meaning: 'Current/highlighted dropdown item independent from :active press.',
289
+ },
290
+ {
291
+ pattern: 'components.select.*.option.active',
292
+ meaning: 'Current/highlighted Select option independent from aria-selected and press.',
293
+ },
294
+ {
295
+ pattern: 'components.tabs.*.*.active',
296
+ meaning: 'Current active tab presentation; physical press is a separate interaction.',
297
+ },
298
+ ];
299
+ export const semanticVocabularyV1 = {
300
+ surface: {
301
+ purpose: 'Layer and interaction backgrounds.',
302
+ roles: [
303
+ 'canvas',
304
+ 'default',
305
+ 'subtle',
306
+ 'muted',
307
+ 'elevated',
308
+ 'hover',
309
+ 'active',
310
+ 'pressed',
311
+ 'disabled',
312
+ 'danger',
313
+ 'inverse',
314
+ ],
315
+ },
316
+ text: {
317
+ purpose: 'Text foreground hierarchy and text interaction roles.',
318
+ roles: [
319
+ 'primary',
320
+ 'secondary',
321
+ 'muted',
322
+ 'subtle',
323
+ 'disabled',
324
+ 'brand',
325
+ 'interactive',
326
+ 'interactiveHover',
327
+ 'interactivePressed',
328
+ 'inverse',
329
+ ],
330
+ },
331
+ icons: {
332
+ purpose: 'Icon foreground hierarchy; interactive roles are distinct from brand identity.',
333
+ roles: [
334
+ 'default',
335
+ 'secondary',
336
+ 'muted',
337
+ 'subtle',
338
+ 'disabled',
339
+ 'interactive',
340
+ 'brand',
341
+ 'interactiveHover',
342
+ 'success',
343
+ 'danger',
344
+ 'inverse',
345
+ ],
346
+ },
347
+ border: {
348
+ purpose: 'Structural border strength plus generic interactive border emphasis.',
349
+ roles: [
350
+ 'subtle',
351
+ 'muted',
352
+ 'default',
353
+ 'strong',
354
+ 'elevated',
355
+ 'disabled',
356
+ 'interactive',
357
+ ],
358
+ },
359
+ divider: {
360
+ purpose: 'Non-interactive separators.',
361
+ roles: ['muted', 'default', 'strong'],
362
+ },
363
+ focus: {
364
+ purpose: 'Input-focus indication only; independent from hover and pressed states.',
365
+ roles: ['ring.color', 'ring.width', 'ring.shadow', 'ring.offsetColor'],
366
+ },
367
+ status: {
368
+ purpose: 'Status intent paint using explicit consumption roles.',
369
+ intents: ['success', 'error', 'warning', 'info'],
370
+ roles: ['fg', 'bg', 'border', 'ring', 'emphasisFg'],
371
+ },
372
+ action: {
373
+ purpose: 'Action intent palettes; accent is the cyan secondary-brand hue, neutral is non-brand action chrome.',
374
+ roles: ['primary', 'accent', 'neutral', 'danger'],
375
+ states: ['default', 'hover', 'pressed', 'muted', 'subtle'],
376
+ },
377
+ control: {
378
+ purpose: 'Generic form-control state paint; pressed is physical press and selected is persistent choice.',
379
+ roles: ['default', 'hover', 'pressed', 'selected', 'disabled', 'focus'],
380
+ },
381
+ menu: {
382
+ purpose: 'Menu-item roles where active/current is a legitimate domain state.',
383
+ roles: ['item', 'item.danger'],
384
+ },
385
+ overlay: {
386
+ purpose: 'Reusable overlay surfaces named by presentation purpose, not component history.',
387
+ roles: ['backdrop', 'tooltip', 'floating', 'dialog'],
388
+ },
389
+ shadow: {
390
+ purpose: 'Semantic elevation references; renderer ownership is normalized separately.',
391
+ roles: ['sm', 'md', 'lg', 'xl'],
392
+ },
393
+ };
222
394
  export const canonicalTokenVocabulary = {
223
395
  surface: [
224
396
  'canvas',
@@ -236,8 +408,8 @@ export const canonicalTokenVocabulary = {
236
408
  state: [
237
409
  'default',
238
410
  'hover',
239
- 'active',
240
411
  'pressed',
412
+ 'active',
241
413
  'selected',
242
414
  'disabled',
243
415
  'focus',
@@ -251,11 +423,19 @@ export const canonicalTokenVocabulary = {
251
423
  'brand',
252
424
  'interactive',
253
425
  'interactiveHover',
254
- 'interactiveActive',
426
+ 'interactivePressed',
255
427
  'inverse',
256
428
  ],
257
- border: ['subtle', 'muted', 'default', 'strong', 'elevated', 'disabled'],
258
- intent: ['primary', 'neutral', 'success', 'warning', 'danger'],
429
+ border: [
430
+ 'subtle',
431
+ 'muted',
432
+ 'default',
433
+ 'strong',
434
+ 'elevated',
435
+ 'disabled',
436
+ 'interactive',
437
+ ],
438
+ intent: ['primary', 'accent', 'neutral', 'success', 'warning', 'danger'],
259
439
  status: ['success', 'error', 'warning', 'info'],
260
440
  };
261
441
  export const canonicalSemanticRolePaths = [
@@ -278,50 +458,61 @@ export const canonicalSemanticRolePaths = [
278
458
  'text.brand',
279
459
  'text.interactive',
280
460
  'text.interactiveHover',
281
- 'text.interactiveActive',
461
+ 'text.interactivePressed',
282
462
  'text.inverse',
463
+ 'icons.default',
464
+ 'icons.secondary',
465
+ 'icons.muted',
466
+ 'icons.subtle',
467
+ 'icons.disabled',
468
+ 'icons.interactive',
469
+ 'icons.brand',
470
+ 'icons.interactiveHover',
471
+ 'icons.success',
472
+ 'icons.danger',
473
+ 'icons.inverse',
283
474
  'border.subtle',
284
475
  'border.muted',
285
476
  'border.default',
286
477
  'border.strong',
287
478
  'border.elevated',
288
479
  'border.disabled',
289
- 'border.focus',
480
+ 'border.interactive',
290
481
  'divider.muted',
291
482
  'divider.default',
292
483
  'divider.strong',
293
484
  'focus.ring.color',
294
485
  'focus.ring.width',
295
486
  'focus.ring.shadow',
296
- 'focus.ring.offset',
487
+ 'focus.ring.offsetColor',
297
488
  'status.success.fg',
298
489
  'status.success.bg',
299
490
  'status.success.border',
300
491
  'status.success.ring',
301
- 'status.success.strong',
492
+ 'status.success.emphasisFg',
302
493
  'status.error.fg',
303
494
  'status.error.bg',
304
495
  'status.error.border',
305
496
  'status.error.ring',
306
- 'status.error.strong',
497
+ 'status.error.emphasisFg',
307
498
  'status.warning.fg',
308
499
  'status.warning.bg',
309
500
  'status.warning.border',
310
501
  'status.warning.ring',
311
- 'status.warning.strong',
502
+ 'status.warning.emphasisFg',
312
503
  'status.info.fg',
313
504
  'status.info.bg',
314
505
  'status.info.border',
315
506
  'status.info.ring',
316
- 'status.info.strong',
507
+ 'status.info.emphasisFg',
317
508
  'overlay.backdrop',
318
509
  'overlay.tooltip.bg',
319
510
  'overlay.tooltip.fg',
320
511
  'overlay.tooltip.border',
321
- 'overlay.popover.bg',
322
- 'overlay.popover.border',
323
- 'overlay.modal.bg',
324
- 'overlay.modal.border',
512
+ 'overlay.floating.bg',
513
+ 'overlay.floating.border',
514
+ 'overlay.dialog.bg',
515
+ 'overlay.dialog.border',
325
516
  ];
326
517
  export const componentTokenFactoryModel = {
327
518
  canonicalName: 'create<Component>Tokens',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellira-ui/tokens",
3
- "version": "2.98.5",
3
+ "version": "2.98.7",
4
4
  "description": "Design tokens for Vellira Design System",
5
5
  "keywords": [
6
6
  "vellira",
@@ -1,34 +0,0 @@
1
- export declare const navigation: {
2
- readonly hover: {
3
- readonly bg: "#2F2A42";
4
- readonly fg: "#F4F1FB";
5
- };
6
- readonly active: {
7
- readonly bg: "#3D3754";
8
- readonly fg: "#F4F1FB";
9
- };
10
- readonly brandHover: {
11
- readonly bg: "#2F2A42";
12
- readonly fg: "#D4CCFF";
13
- };
14
- readonly tabHover: {
15
- readonly fg: "#D4CCFF";
16
- };
17
- readonly tabFocus: {
18
- readonly ring: "#F59E0B";
19
- };
20
- readonly optionHover: {
21
- readonly bg: "#2F2A42";
22
- readonly fg: "#F4F1FB";
23
- };
24
- readonly optionActive: {
25
- readonly bg: "#3D3754";
26
- readonly fg: "#F4F1FB";
27
- };
28
- readonly triggerHover: {
29
- readonly bg: "#2F2A42";
30
- readonly fg: "#F4F1FB";
31
- };
32
- readonly border: "#3D3754";
33
- };
34
- //# sourceMappingURL=navigation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../../src/dark/semantic/navigation.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCb,CAAC"}
@@ -1,37 +0,0 @@
1
- import { colors } from '../../primitives/colors.js';
2
- import { border } from './border.js';
3
- import { surface } from './surface.js';
4
- import { text } from './text.js';
5
- export const navigation = {
6
- hover: {
7
- bg: surface.hover,
8
- fg: text.primary,
9
- },
10
- active: {
11
- bg: surface.active,
12
- fg: text.primary,
13
- },
14
- brandHover: {
15
- bg: surface.hover,
16
- fg: colors.primary[200],
17
- },
18
- tabHover: {
19
- fg: colors.primary[200],
20
- },
21
- tabFocus: {
22
- ring: colors.warning[500],
23
- },
24
- optionHover: {
25
- bg: surface.hover,
26
- fg: text.primary,
27
- },
28
- optionActive: {
29
- bg: surface.active,
30
- fg: text.primary,
31
- },
32
- triggerHover: {
33
- bg: surface.hover,
34
- fg: text.primary,
35
- },
36
- border: border.muted,
37
- };
@@ -1,34 +0,0 @@
1
- export declare const navigation: {
2
- readonly hover: {
3
- readonly bg: "#374151";
4
- readonly fg: "#FFFFFF";
5
- };
6
- readonly active: {
7
- readonly bg: "#374151";
8
- readonly fg: "#FFFFFF";
9
- };
10
- readonly brandHover: {
11
- readonly bg: "#374151";
12
- readonly fg: "#FCD34D";
13
- };
14
- readonly tabHover: {
15
- readonly fg: "#FCD34D";
16
- };
17
- readonly tabFocus: {
18
- readonly ring: "#FBBF24";
19
- };
20
- readonly optionHover: {
21
- readonly bg: "#374151";
22
- readonly fg: "#FFFFFF";
23
- };
24
- readonly optionActive: {
25
- readonly bg: "#374151";
26
- readonly fg: "#FFFFFF";
27
- };
28
- readonly triggerHover: {
29
- readonly bg: "#374151";
30
- readonly fg: "#FCD34D";
31
- };
32
- readonly border: "#9CA3AF";
33
- };
34
- //# sourceMappingURL=navigation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../../src/highContrast/semantic/navigation.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwCb,CAAC"}
@@ -1,36 +0,0 @@
1
- import { border } from './border.js';
2
- import { surface } from './surface.js';
3
- import { text } from './text.js';
4
- export const navigation = {
5
- hover: {
6
- bg: surface.hover,
7
- fg: text.primary,
8
- },
9
- active: {
10
- bg: surface.active,
11
- fg: text.primary,
12
- },
13
- brandHover: {
14
- bg: surface.hover,
15
- fg: text.interactiveHover,
16
- },
17
- tabHover: {
18
- fg: text.interactiveHover,
19
- },
20
- tabFocus: {
21
- ring: text.interactive,
22
- },
23
- optionHover: {
24
- bg: surface.hover,
25
- fg: text.primary,
26
- },
27
- optionActive: {
28
- bg: surface.active,
29
- fg: text.primary,
30
- },
31
- triggerHover: {
32
- bg: surface.hover,
33
- fg: text.interactiveHover,
34
- },
35
- border: border.default,
36
- };
@@ -1,34 +0,0 @@
1
- export declare const navigation: {
2
- readonly hover: {
3
- readonly bg: "#F4F1FB";
4
- readonly fg: "#3D3754";
5
- };
6
- readonly active: {
7
- readonly bg: "#EEE8FA";
8
- readonly fg: "#3D3754";
9
- };
10
- readonly brandHover: {
11
- readonly bg: "#F4F1FB";
12
- readonly fg: "#402C9F";
13
- };
14
- readonly tabHover: {
15
- readonly fg: "#402C9F";
16
- };
17
- readonly tabFocus: {
18
- readonly ring: "#5037C8";
19
- };
20
- readonly optionHover: {
21
- readonly bg: "#F4F1FB";
22
- readonly fg: "#3D3754";
23
- };
24
- readonly optionActive: {
25
- readonly bg: "#EEE8FA";
26
- readonly fg: "#3D3754";
27
- };
28
- readonly triggerHover: {
29
- readonly bg: "#F4F1FB";
30
- readonly fg: "#402C9F";
31
- };
32
- readonly border: "#E4DDF4";
33
- };
34
- //# sourceMappingURL=navigation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../../src/light/semantic/navigation.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwCb,CAAC"}
@@ -1,37 +0,0 @@
1
- import { colors } from '../../primitives/colors.js';
2
- import { border } from './border.js';
3
- import { surface } from './surface.js';
4
- import { text } from './text.js';
5
- export const navigation = {
6
- hover: {
7
- bg: surface.hover,
8
- fg: text.primary,
9
- },
10
- active: {
11
- bg: surface.active,
12
- fg: text.primary,
13
- },
14
- brandHover: {
15
- bg: surface.hover,
16
- fg: text.interactiveHover,
17
- },
18
- tabHover: {
19
- fg: text.interactiveHover,
20
- },
21
- tabFocus: {
22
- ring: colors.primary[700],
23
- },
24
- optionHover: {
25
- bg: surface.hover,
26
- fg: text.primary,
27
- },
28
- optionActive: {
29
- bg: surface.active,
30
- fg: text.primary,
31
- },
32
- triggerHover: {
33
- bg: surface.hover,
34
- fg: text.interactiveHover,
35
- },
36
- border: border.muted,
37
- };