@vellira-ui/tokens 2.25.1 → 2.26.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (250) hide show
  1. package/dist/css/tokens.css +1222 -872
  2. package/dist/dark/components/button.d.ts +54 -54
  3. package/dist/dark/components/button.d.ts.map +1 -1
  4. package/dist/dark/components/button.js +58 -60
  5. package/dist/dark/components/checkbox.d.ts +18 -13
  6. package/dist/dark/components/checkbox.d.ts.map +1 -1
  7. package/dist/dark/components/checkbox.js +19 -9
  8. package/dist/dark/components/contextMenu.d.ts +89 -0
  9. package/dist/dark/components/contextMenu.d.ts.map +1 -0
  10. package/dist/dark/components/contextMenu.js +52 -0
  11. package/dist/dark/components/dropdown.d.ts +33 -13
  12. package/dist/dark/components/dropdown.d.ts.map +1 -1
  13. package/dist/dark/components/dropdown.js +30 -27
  14. package/dist/dark/components/formField.d.ts +2 -2
  15. package/dist/dark/components/formField.js +1 -1
  16. package/dist/dark/components/index.d.ts +1 -1
  17. package/dist/dark/components/index.d.ts.map +1 -1
  18. package/dist/dark/components/index.js +1 -1
  19. package/dist/dark/components/input.d.ts +26 -26
  20. package/dist/dark/components/input.js +11 -11
  21. package/dist/dark/components/modal.d.ts +21 -4
  22. package/dist/dark/components/modal.d.ts.map +1 -1
  23. package/dist/dark/components/modal.js +18 -4
  24. package/dist/dark/components/radio.d.ts +24 -19
  25. package/dist/dark/components/radio.d.ts.map +1 -1
  26. package/dist/dark/components/radio.js +19 -19
  27. package/dist/dark/components/select.d.ts +24 -14
  28. package/dist/dark/components/select.d.ts.map +1 -1
  29. package/dist/dark/components/select.js +31 -24
  30. package/dist/dark/components/tabs.d.ts +17 -12
  31. package/dist/dark/components/tabs.d.ts.map +1 -1
  32. package/dist/dark/components/tabs.js +9 -8
  33. package/dist/dark/components/tooltip.d.ts +2 -1
  34. package/dist/dark/components/tooltip.d.ts.map +1 -1
  35. package/dist/dark/components/tooltip.js +7 -7
  36. package/dist/dark/semantic/action.d.ts +32 -32
  37. package/dist/dark/semantic/action.d.ts.map +1 -1
  38. package/dist/dark/semantic/action.js +44 -44
  39. package/dist/dark/semantic/border.d.ts +5 -5
  40. package/dist/dark/semantic/border.d.ts.map +1 -1
  41. package/dist/dark/semantic/border.js +5 -5
  42. package/dist/dark/semantic/control.d.ts +21 -16
  43. package/dist/dark/semantic/control.d.ts.map +1 -1
  44. package/dist/dark/semantic/control.js +24 -19
  45. package/dist/dark/semantic/divider.d.ts +3 -3
  46. package/dist/dark/semantic/divider.js +3 -3
  47. package/dist/dark/semantic/focus.d.ts +6 -2
  48. package/dist/dark/semantic/focus.d.ts.map +1 -1
  49. package/dist/dark/semantic/focus.js +6 -2
  50. package/dist/dark/semantic/icons.d.ts +10 -11
  51. package/dist/dark/semantic/icons.d.ts.map +1 -1
  52. package/dist/dark/semantic/icons.js +10 -11
  53. package/dist/dark/semantic/index.d.ts +3 -0
  54. package/dist/dark/semantic/index.d.ts.map +1 -1
  55. package/dist/dark/semantic/index.js +3 -0
  56. package/dist/dark/{components → semantic}/menu.d.ts +14 -19
  57. package/dist/dark/semantic/menu.d.ts.map +1 -0
  58. package/dist/dark/semantic/menu.js +47 -0
  59. package/dist/dark/semantic/navigation.d.ts +8 -8
  60. package/dist/dark/semantic/navigation.d.ts.map +1 -1
  61. package/dist/dark/semantic/navigation.js +5 -4
  62. package/dist/dark/semantic/overlay.d.ts +17 -0
  63. package/dist/dark/semantic/overlay.d.ts.map +1 -0
  64. package/dist/dark/semantic/overlay.js +19 -0
  65. package/dist/dark/semantic/shadow.d.ts +8 -0
  66. package/dist/dark/semantic/shadow.d.ts.map +1 -0
  67. package/dist/dark/semantic/shadow.js +7 -0
  68. package/dist/dark/semantic/skeleton.d.ts +2 -2
  69. package/dist/dark/semantic/skeleton.js +2 -2
  70. package/dist/dark/semantic/status.d.ts +12 -8
  71. package/dist/dark/semantic/status.d.ts.map +1 -1
  72. package/dist/dark/semantic/status.js +12 -8
  73. package/dist/dark/semantic/surface.d.ts +4 -4
  74. package/dist/dark/semantic/surface.d.ts.map +1 -1
  75. package/dist/dark/semantic/surface.js +4 -4
  76. package/dist/dark/semantic/text.d.ts +6 -5
  77. package/dist/dark/semantic/text.d.ts.map +1 -1
  78. package/dist/dark/semantic/text.js +6 -5
  79. package/dist/dark/theme.d.ts +1 -1
  80. package/dist/generated/token-types.d.ts +5 -5
  81. package/dist/generated/token-types.d.ts.map +1 -1
  82. package/dist/generated/token-types.js +569 -132
  83. package/dist/highContrast/components/button.d.ts +68 -68
  84. package/dist/highContrast/components/button.d.ts.map +1 -1
  85. package/dist/highContrast/components/button.js +68 -69
  86. package/dist/highContrast/components/checkbox.d.ts +20 -15
  87. package/dist/highContrast/components/checkbox.d.ts.map +1 -1
  88. package/dist/highContrast/components/checkbox.js +26 -13
  89. package/dist/highContrast/components/contextMenu.d.ts +89 -0
  90. package/dist/highContrast/components/contextMenu.d.ts.map +1 -0
  91. package/dist/highContrast/components/contextMenu.js +52 -0
  92. package/dist/highContrast/components/dropdown.d.ts +45 -25
  93. package/dist/highContrast/components/dropdown.d.ts.map +1 -1
  94. package/dist/highContrast/components/dropdown.js +28 -37
  95. package/dist/highContrast/components/formField.d.ts +5 -5
  96. package/dist/highContrast/components/formField.js +2 -2
  97. package/dist/highContrast/components/index.d.ts +1 -1
  98. package/dist/highContrast/components/index.d.ts.map +1 -1
  99. package/dist/highContrast/components/index.js +1 -1
  100. package/dist/highContrast/components/input.d.ts +29 -29
  101. package/dist/highContrast/components/input.d.ts.map +1 -1
  102. package/dist/highContrast/components/input.js +16 -17
  103. package/dist/highContrast/components/modal.d.ts +22 -5
  104. package/dist/highContrast/components/modal.d.ts.map +1 -1
  105. package/dist/highContrast/components/modal.js +19 -6
  106. package/dist/highContrast/components/radio.d.ts +27 -22
  107. package/dist/highContrast/components/radio.d.ts.map +1 -1
  108. package/dist/highContrast/components/radio.js +20 -20
  109. package/dist/highContrast/components/select.d.ts +27 -17
  110. package/dist/highContrast/components/select.d.ts.map +1 -1
  111. package/dist/highContrast/components/select.js +31 -30
  112. package/dist/highContrast/components/tabs.d.ts +21 -16
  113. package/dist/highContrast/components/tabs.d.ts.map +1 -1
  114. package/dist/highContrast/components/tabs.js +18 -15
  115. package/dist/highContrast/components/tooltip.d.ts +3 -2
  116. package/dist/highContrast/components/tooltip.d.ts.map +1 -1
  117. package/dist/highContrast/components/tooltip.js +7 -7
  118. package/dist/highContrast/semantic/action.d.ts +46 -36
  119. package/dist/highContrast/semantic/action.d.ts.map +1 -1
  120. package/dist/highContrast/semantic/action.js +56 -47
  121. package/dist/highContrast/semantic/border.d.ts +4 -4
  122. package/dist/highContrast/semantic/border.d.ts.map +1 -1
  123. package/dist/highContrast/semantic/border.js +4 -4
  124. package/dist/highContrast/semantic/control.d.ts +23 -28
  125. package/dist/highContrast/semantic/control.d.ts.map +1 -1
  126. package/dist/highContrast/semantic/control.js +24 -29
  127. package/dist/highContrast/semantic/divider.d.ts +2 -2
  128. package/dist/highContrast/semantic/divider.js +2 -2
  129. package/dist/highContrast/semantic/focus.d.ts +6 -2
  130. package/dist/highContrast/semantic/focus.d.ts.map +1 -1
  131. package/dist/highContrast/semantic/focus.js +6 -2
  132. package/dist/highContrast/semantic/icons.d.ts +10 -11
  133. package/dist/highContrast/semantic/icons.d.ts.map +1 -1
  134. package/dist/highContrast/semantic/icons.js +11 -12
  135. package/dist/highContrast/semantic/index.d.ts +4 -0
  136. package/dist/highContrast/semantic/index.d.ts.map +1 -1
  137. package/dist/highContrast/semantic/index.js +4 -0
  138. package/dist/highContrast/{components → semantic}/menu.d.ts +20 -25
  139. package/dist/highContrast/semantic/menu.d.ts.map +1 -0
  140. package/dist/highContrast/semantic/menu.js +47 -0
  141. package/dist/highContrast/semantic/navigation.d.ts +14 -25
  142. package/dist/highContrast/semantic/navigation.d.ts.map +1 -1
  143. package/dist/highContrast/semantic/navigation.js +12 -23
  144. package/dist/highContrast/semantic/overlay.d.ts +17 -0
  145. package/dist/highContrast/semantic/overlay.d.ts.map +1 -0
  146. package/dist/highContrast/semantic/overlay.js +19 -0
  147. package/dist/highContrast/semantic/shadow.d.ts +8 -0
  148. package/dist/highContrast/semantic/shadow.d.ts.map +1 -0
  149. package/dist/highContrast/semantic/shadow.js +7 -0
  150. package/dist/highContrast/semantic/skeleton.d.ts +1 -1
  151. package/dist/highContrast/semantic/skeleton.js +1 -1
  152. package/dist/highContrast/semantic/status.d.ts +17 -13
  153. package/dist/highContrast/semantic/status.d.ts.map +1 -1
  154. package/dist/highContrast/semantic/status.js +17 -13
  155. package/dist/highContrast/semantic/surface.d.ts +6 -6
  156. package/dist/highContrast/semantic/surface.d.ts.map +1 -1
  157. package/dist/highContrast/semantic/surface.js +7 -7
  158. package/dist/highContrast/semantic/text.d.ts +7 -6
  159. package/dist/highContrast/semantic/text.d.ts.map +1 -1
  160. package/dist/highContrast/semantic/text.js +7 -6
  161. package/dist/highContrast/theme.d.ts +1 -1
  162. package/dist/light/components/button.d.ts +49 -49
  163. package/dist/light/components/button.d.ts.map +1 -1
  164. package/dist/light/components/button.js +62 -64
  165. package/dist/light/components/checkbox.d.ts +19 -14
  166. package/dist/light/components/checkbox.d.ts.map +1 -1
  167. package/dist/light/components/checkbox.js +20 -13
  168. package/dist/light/components/contextMenu.d.ts +89 -0
  169. package/dist/light/components/contextMenu.d.ts.map +1 -0
  170. package/dist/light/components/contextMenu.js +52 -0
  171. package/dist/light/components/dropdown.d.ts +38 -18
  172. package/dist/light/components/dropdown.d.ts.map +1 -1
  173. package/dist/light/components/dropdown.js +21 -31
  174. package/dist/light/components/formField.d.ts +7 -7
  175. package/dist/light/components/formField.js +1 -1
  176. package/dist/light/components/index.d.ts +1 -1
  177. package/dist/light/components/index.d.ts.map +1 -1
  178. package/dist/light/components/index.js +1 -1
  179. package/dist/light/components/input.d.ts +31 -31
  180. package/dist/light/components/input.d.ts.map +1 -1
  181. package/dist/light/components/input.js +14 -15
  182. package/dist/light/components/modal.d.ts +25 -8
  183. package/dist/light/components/modal.d.ts.map +1 -1
  184. package/dist/light/components/modal.js +19 -6
  185. package/dist/light/components/radio.d.ts +23 -18
  186. package/dist/light/components/radio.d.ts.map +1 -1
  187. package/dist/light/components/radio.js +21 -21
  188. package/dist/light/components/select.d.ts +28 -18
  189. package/dist/light/components/select.d.ts.map +1 -1
  190. package/dist/light/components/select.js +31 -26
  191. package/dist/light/components/tabs.d.ts +20 -15
  192. package/dist/light/components/tabs.d.ts.map +1 -1
  193. package/dist/light/components/tabs.js +14 -13
  194. package/dist/light/components/tooltip.d.ts +3 -2
  195. package/dist/light/components/tooltip.d.ts.map +1 -1
  196. package/dist/light/components/tooltip.js +7 -7
  197. package/dist/light/semantic/action.d.ts +30 -28
  198. package/dist/light/semantic/action.d.ts.map +1 -1
  199. package/dist/light/semantic/action.js +38 -36
  200. package/dist/light/semantic/border.d.ts +4 -4
  201. package/dist/light/semantic/border.d.ts.map +1 -1
  202. package/dist/light/semantic/border.js +4 -4
  203. package/dist/light/semantic/control.d.ts +18 -13
  204. package/dist/light/semantic/control.d.ts.map +1 -1
  205. package/dist/light/semantic/control.js +18 -13
  206. package/dist/light/semantic/divider.d.ts +3 -3
  207. package/dist/light/semantic/divider.js +3 -3
  208. package/dist/light/semantic/focus.d.ts +6 -2
  209. package/dist/light/semantic/focus.d.ts.map +1 -1
  210. package/dist/light/semantic/focus.js +6 -2
  211. package/dist/light/semantic/icons.d.ts +10 -11
  212. package/dist/light/semantic/icons.d.ts.map +1 -1
  213. package/dist/light/semantic/icons.js +10 -11
  214. package/dist/light/semantic/index.d.ts +3 -0
  215. package/dist/light/semantic/index.d.ts.map +1 -1
  216. package/dist/light/semantic/index.js +3 -0
  217. package/dist/light/{components → semantic}/menu.d.ts +17 -22
  218. package/dist/light/semantic/menu.d.ts.map +1 -0
  219. package/dist/light/semantic/menu.js +47 -0
  220. package/dist/light/semantic/navigation.d.ts +13 -9
  221. package/dist/light/semantic/navigation.d.ts.map +1 -1
  222. package/dist/light/semantic/navigation.js +15 -9
  223. package/dist/light/semantic/overlay.d.ts +17 -0
  224. package/dist/light/semantic/overlay.d.ts.map +1 -0
  225. package/dist/light/semantic/overlay.js +19 -0
  226. package/dist/light/semantic/shadow.d.ts +8 -0
  227. package/dist/light/semantic/shadow.d.ts.map +1 -0
  228. package/dist/light/semantic/shadow.js +7 -0
  229. package/dist/light/semantic/skeleton.d.ts +2 -2
  230. package/dist/light/semantic/skeleton.js +2 -2
  231. package/dist/light/semantic/status.d.ts +14 -10
  232. package/dist/light/semantic/status.d.ts.map +1 -1
  233. package/dist/light/semantic/status.js +14 -10
  234. package/dist/light/semantic/surface.d.ts +6 -6
  235. package/dist/light/semantic/surface.d.ts.map +1 -1
  236. package/dist/light/semantic/surface.js +7 -7
  237. package/dist/light/semantic/text.d.ts +7 -5
  238. package/dist/light/semantic/text.d.ts.map +1 -1
  239. package/dist/light/semantic/text.js +7 -5
  240. package/dist/light/theme.d.ts +1 -1
  241. package/dist/primitives/colors.d.ts +4 -6
  242. package/dist/primitives/colors.d.ts.map +1 -1
  243. package/dist/primitives/colors.js +4 -6
  244. package/package.json +1 -1
  245. package/dist/dark/components/menu.d.ts.map +0 -1
  246. package/dist/dark/components/menu.js +0 -47
  247. package/dist/highContrast/components/menu.d.ts.map +0 -1
  248. package/dist/highContrast/components/menu.js +0 -48
  249. package/dist/light/components/menu.d.ts.map +0 -1
  250. package/dist/light/components/menu.js +0 -48
@@ -1,3 +1,4 @@
1
+ import { colors } from '../../primitives/colors.js';
1
2
  import { border } from '../semantic/border.js';
2
3
  import { control } from '../semantic/control.js';
3
4
  import { focus } from '../semantic/focus.js';
@@ -5,44 +6,43 @@ import { status } from '../semantic/status.js';
5
6
  import { surface } from '../semantic/surface.js';
6
7
  import { text } from '../semantic/text.js';
7
8
  export const radio = {
8
- default: {
9
- bg: surface.elevated,
10
- fg: text.primary,
11
- border: border.default,
12
- },
9
+ default: control.default,
13
10
  hover: control.hover,
14
11
  pressed: control.active,
15
12
  checked: {
16
13
  default: {
17
- ...control.selected.default,
18
- fg: text.brand,
14
+ bg: surface.default,
15
+ fg: colors.primary[300],
16
+ border: colors.primary[500],
17
+ labelFg: text.brand,
19
18
  },
20
19
  hover: {
21
- ...control.selected.hover,
22
- fg: text.brand,
20
+ bg: surface.hover,
21
+ fg: colors.primary[200],
22
+ border: colors.primary[400],
23
+ labelFg: text.interactiveHover,
23
24
  },
24
25
  pressed: {
25
- ...control.selected.active,
26
- fg: text.brand,
26
+ bg: surface.active,
27
+ fg: colors.primary[400],
28
+ border: colors.primary[600],
29
+ labelFg: text.brand,
27
30
  },
28
31
  disabled: {
29
32
  bg: surface.disabled,
30
33
  fg: text.disabled,
31
34
  border: border.disabled,
35
+ labelFg: text.disabled,
32
36
  },
33
37
  },
34
38
  focus: {
35
- ring: focus.ring,
39
+ ring: focus.ring.color,
36
40
  border: border.focus,
37
41
  },
38
42
  invalid: {
39
- bg: surface.default,
40
- fg: text.inverse,
43
+ ...control.default,
41
44
  border: status.error.border,
45
+ ring: status.error.ring,
42
46
  },
43
- disabled: {
44
- bg: surface.disabled,
45
- fg: text.disabled,
46
- border: border.disabled,
47
- },
47
+ disabled: control.disabled,
48
48
  };
@@ -2,16 +2,16 @@ export declare const select: {
2
2
  readonly trigger: {
3
3
  readonly default: {
4
4
  readonly bg: "transparent";
5
- readonly fg: "#FFFFFF";
6
- readonly border: "#958CB0";
5
+ readonly fg: "#F4F1FB";
6
+ readonly border: "#4F4867";
7
7
  };
8
8
  readonly hover: {
9
- readonly bg: "#3D3754";
9
+ readonly bg: "#2F2A42";
10
10
  readonly fg: "#B8A8FF";
11
11
  readonly border: "#B8A8FF";
12
12
  };
13
13
  readonly focus: {
14
- readonly bg: "#181521";
14
+ readonly bg: "transparent";
15
15
  readonly fg: "#F4F1FB";
16
16
  readonly border: "#B8A8FF";
17
17
  readonly ring: "#B8A8FF";
@@ -19,44 +19,54 @@ export declare const select: {
19
19
  readonly disabled: {
20
20
  readonly bg: "#2F2A42";
21
21
  readonly fg: "#6B6386";
22
- readonly border: "#4F4867";
22
+ readonly border: "#3D3754";
23
23
  };
24
24
  readonly placeholder: {
25
25
  readonly fg: "#BBB2D2";
26
26
  };
27
27
  readonly error: {
28
28
  readonly border: "#FB7185";
29
- readonly ring: "rgba(251, 113, 133, 0.16)";
29
+ readonly ring: "#FB7185";
30
30
  };
31
31
  };
32
32
  readonly dropdown: {
33
- readonly bg: "#3D3754";
33
+ readonly bg: "#2F2A42";
34
34
  readonly fg: "#F4F1FB";
35
- readonly border: "#3D3754";
35
+ readonly border: "#4F4867";
36
+ readonly shadow: "0 12px 40px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.25)";
36
37
  };
37
38
  readonly option: {
38
39
  readonly default: {
39
40
  readonly bg: "transparent";
40
41
  readonly fg: "#F4F1FB";
41
- readonly border: "#958CB0";
42
+ readonly border: "transparent";
42
43
  };
43
44
  readonly hover: {
44
- readonly bg: "#6B6386";
45
+ readonly bg: "#3D3754";
45
46
  readonly fg: "#F4F1FB";
47
+ readonly border: "transparent";
46
48
  };
47
49
  readonly active: {
48
- readonly bg: "#6B6386";
50
+ readonly bg: "#3D3754";
49
51
  readonly fg: "#F4F1FB";
52
+ readonly border: "transparent";
50
53
  readonly ring: "transparent";
51
54
  };
55
+ readonly pressed: {
56
+ readonly bg: "#4F4867";
57
+ readonly fg: "#F4F1FB";
58
+ readonly border: "transparent";
59
+ };
52
60
  readonly selected: {
53
- readonly bg: "#5037C8";
54
- readonly fg: "#FFFFFF";
61
+ readonly bg: "#402C9F";
62
+ readonly fg: "#E9E6FF";
63
+ readonly border: "#6346E8";
64
+ readonly shadow: "inset 0 1px 0 rgba(255, 255, 255, 0.06)";
55
65
  };
56
66
  readonly disabled: {
57
67
  readonly bg: "transparent";
58
68
  readonly fg: "#6B6386";
59
- readonly border: "#958CB0";
69
+ readonly border: "transparent";
60
70
  };
61
71
  };
62
72
  };
@@ -1 +1 @@
1
- {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/dark/components/select.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoET,CAAC"}
1
+ {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/dark/components/select.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2ET,CAAC"}
@@ -1,64 +1,71 @@
1
1
  import { border } from '../semantic/border.js';
2
2
  import { control } from '../semantic/control.js';
3
3
  import { focus } from '../semantic/focus.js';
4
+ import { menu } from '../semantic/menu.js';
5
+ import { shadow } from '../semantic/shadow.js';
4
6
  import { status } from '../semantic/status.js';
5
- import { surface } from '../semantic/surface.js';
6
7
  import { text } from '../semantic/text.js';
7
8
  export const select = {
8
9
  trigger: {
9
10
  default: {
10
11
  bg: 'transparent',
11
- fg: text.subtle,
12
+ fg: text.primary,
12
13
  border: border.default,
13
14
  },
14
15
  hover: control.hover,
15
16
  focus: {
16
- bg: surface.default,
17
+ bg: 'transparent',
17
18
  fg: text.primary,
18
19
  border: border.focus,
19
- ring: focus.ring,
20
- },
21
- disabled: {
22
- bg: surface.disabled,
23
- fg: text.disabled,
24
- border: border.disabled,
20
+ ring: focus.ring.color,
25
21
  },
22
+ disabled: control.disabled,
26
23
  placeholder: {
27
24
  fg: text.secondary,
28
25
  },
29
26
  error: {
30
- border: status.error.fg,
31
- ring: status.error.bg,
27
+ border: status.error.border,
28
+ ring: status.error.ring,
32
29
  },
33
30
  },
34
31
  dropdown: {
35
- bg: surface.elevated,
36
- fg: text.primary,
37
- border: border.muted,
32
+ bg: menu.background,
33
+ fg: menu.item.default.fg,
34
+ border: menu.border,
35
+ shadow: shadow.lg,
38
36
  },
39
37
  option: {
40
38
  default: {
41
- bg: 'transparent',
42
- fg: text.primary,
43
- border: border.default,
39
+ bg: menu.item.default.bg,
40
+ fg: menu.item.default.fg,
41
+ border: 'transparent',
44
42
  },
45
43
  hover: {
46
- bg: surface.active,
47
- fg: text.primary,
44
+ bg: menu.item.hover.bg,
45
+ fg: menu.item.hover.fg,
46
+ border: 'transparent',
48
47
  },
49
48
  active: {
50
- bg: surface.active,
51
- fg: text.primary,
49
+ bg: menu.item.active.bg,
50
+ fg: menu.item.active.fg,
51
+ border: 'transparent',
52
52
  ring: 'transparent',
53
53
  },
54
+ pressed: {
55
+ bg: menu.item.pressed.bg,
56
+ fg: menu.item.pressed.fg,
57
+ border: 'transparent',
58
+ },
54
59
  selected: {
55
60
  bg: control.selected.muted.bg,
56
61
  fg: control.selected.muted.fg,
62
+ border: control.selected.muted.border,
63
+ shadow: shadow.inset,
57
64
  },
58
65
  disabled: {
59
- bg: 'transparent',
60
- fg: text.disabled,
61
- border: border.default,
66
+ bg: menu.item.disabled.bg,
67
+ fg: menu.item.disabled.fg,
68
+ border: 'transparent',
62
69
  },
63
70
  },
64
71
  };
@@ -1,17 +1,17 @@
1
1
  export declare const tabs: {
2
2
  readonly list: {
3
- readonly border: "#958CB0";
3
+ readonly border: "#3D3754";
4
4
  };
5
5
  readonly trigger: {
6
6
  readonly default: {
7
7
  readonly bg: "transparent";
8
- readonly fg: "#F4F1FB";
8
+ readonly fg: "#BBB2D2";
9
9
  readonly border: "transparent";
10
10
  };
11
11
  readonly hover: {
12
12
  readonly bg: "transparent";
13
- readonly fg: "#6B6386";
14
- readonly border: "#6B6386";
13
+ readonly fg: "#D4CCFF";
14
+ readonly border: "transparent";
15
15
  };
16
16
  readonly active: {
17
17
  readonly bg: "transparent";
@@ -19,7 +19,12 @@ export declare const tabs: {
19
19
  readonly border: "#6346E8";
20
20
  };
21
21
  readonly focus: {
22
- readonly ring: "#6B6386";
22
+ readonly ring: {
23
+ readonly color: "#B8A8FF";
24
+ readonly width: "2px";
25
+ readonly shadow: "0 0 8px rgba(184, 168, 255, 0.14)";
26
+ readonly offset: "#181521";
27
+ };
23
28
  };
24
29
  readonly disabled: {
25
30
  readonly bg: "transparent";
@@ -30,18 +35,18 @@ export declare const tabs: {
30
35
  readonly pills: {
31
36
  readonly default: {
32
37
  readonly bg: "transparent";
33
- readonly fg: "#F4F1FB";
38
+ readonly fg: "#BBB2D2";
34
39
  readonly border: "transparent";
35
40
  };
36
41
  readonly hover: {
37
- readonly bg: "#3D3754";
42
+ readonly bg: "#2F2A42";
38
43
  readonly fg: "#F4F1FB";
39
44
  readonly border: "transparent";
40
45
  };
41
46
  readonly active: {
42
- readonly bg: "#5037C8";
43
- readonly fg: "#FFFFFF";
44
- readonly border: "#7C5CFF";
47
+ readonly bg: "#402C9F";
48
+ readonly fg: "#E9E6FF";
49
+ readonly border: "#6346E8";
45
50
  };
46
51
  readonly disabled: {
47
52
  readonly bg: "transparent";
@@ -54,10 +59,10 @@ export declare const tabs: {
54
59
  readonly bg: "#B8A8FF";
55
60
  };
56
61
  readonly hover: {
57
- readonly bg: "#5037C8";
62
+ readonly bg: "#7352F8";
58
63
  };
59
64
  readonly active: {
60
- readonly bg: "#B8A8FF";
65
+ readonly bg: "#6346E8";
61
66
  };
62
67
  };
63
68
  readonly panel: {
@@ -1 +1 @@
1
- {"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../src/dark/components/tabs.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8EP,CAAC"}
1
+ {"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../src/dark/components/tabs.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8EP,CAAC"}
@@ -1,23 +1,24 @@
1
1
  import { action } from '../semantic/action.js';
2
2
  import { border } from '../semantic/border.js';
3
3
  import { control } from '../semantic/control.js';
4
+ import { focus } from '../semantic/focus.js';
4
5
  import { navigation } from '../semantic/navigation.js';
5
6
  import { surface } from '../semantic/surface.js';
6
7
  import { text } from '../semantic/text.js';
7
8
  export const tabs = {
8
9
  list: {
9
- border: border.default,
10
+ border: border.muted,
10
11
  },
11
12
  trigger: {
12
13
  default: {
13
14
  bg: 'transparent',
14
- fg: text.primary,
15
+ fg: text.secondary,
15
16
  border: 'transparent',
16
17
  },
17
18
  hover: {
18
19
  bg: 'transparent',
19
- fg: navigation.hover.bg,
20
- border: navigation.hover.bg,
20
+ fg: navigation.tabHover.fg,
21
+ border: 'transparent',
21
22
  },
22
23
  active: {
23
24
  bg: 'transparent',
@@ -25,7 +26,7 @@ export const tabs = {
25
26
  border: action.primary.default.border,
26
27
  },
27
28
  focus: {
28
- ring: navigation.hover.bg,
29
+ ring: focus.ring,
29
30
  },
30
31
  disabled: {
31
32
  bg: 'transparent',
@@ -36,7 +37,7 @@ export const tabs = {
36
37
  pills: {
37
38
  default: {
38
39
  bg: 'transparent',
39
- fg: text.primary,
40
+ fg: text.secondary,
40
41
  border: 'transparent',
41
42
  },
42
43
  hover: {
@@ -60,10 +61,10 @@ export const tabs = {
60
61
  bg: text.brand,
61
62
  },
62
63
  hover: {
63
- bg: control.selected.muted.bg,
64
+ bg: action.primary.hover.bg,
64
65
  },
65
66
  active: {
66
- bg: text.brand,
67
+ bg: action.primary.default.bg,
67
68
  },
68
69
  },
69
70
  panel: {
@@ -2,7 +2,8 @@ export declare const tooltip: {
2
2
  readonly content: {
3
3
  readonly bg: "#FFFFFF";
4
4
  readonly fg: "#000000";
5
- readonly border: "#958CB0";
5
+ readonly border: "#2F2A42";
6
+ readonly shadow: "0 4px 12px rgba(0, 0, 0, 0.22)";
6
7
  };
7
8
  readonly arrow: {
8
9
  readonly bg: "#FFFFFF";
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/dark/components/tooltip.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,OAAO;;;;;;;;;CAUV,CAAC"}
1
+ {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/dark/components/tooltip.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO;;;;;;;;;;CAWV,CAAC"}
@@ -1,13 +1,13 @@
1
- import { border } from '../semantic/border.js';
2
- import { surface } from '../semantic/surface.js';
3
- import { text } from '../semantic/text.js';
1
+ import { overlay } from '../semantic/overlay.js';
2
+ import { shadow } from '../semantic/shadow.js';
4
3
  export const tooltip = {
5
4
  content: {
6
- bg: surface.inverse,
7
- fg: text.onInverse,
8
- border: border.default,
5
+ bg: overlay.tooltip.bg,
6
+ fg: overlay.tooltip.fg,
7
+ border: overlay.tooltip.border,
8
+ shadow: shadow.md,
9
9
  },
10
10
  arrow: {
11
- bg: surface.inverse,
11
+ bg: overlay.tooltip.bg,
12
12
  },
13
13
  };
@@ -6,24 +6,24 @@ export declare const action: {
6
6
  readonly border: "#6346E8";
7
7
  };
8
8
  readonly hover: {
9
- readonly bg: "#7C5CFF";
9
+ readonly bg: "#7352F8";
10
10
  readonly fg: "#FFFFFF";
11
- readonly border: "#7C5CFF";
11
+ readonly border: "#7352F8";
12
12
  };
13
13
  readonly active: {
14
- readonly bg: "#9B7CFF";
14
+ readonly bg: "#5037C8";
15
15
  readonly fg: "#FFFFFF";
16
- readonly border: "#9B7CFF";
16
+ readonly border: "#5037C8";
17
17
  };
18
18
  readonly muted: {
19
- readonly bg: "#B8A8FF";
19
+ readonly bg: "#342580";
20
20
  readonly fg: "#FFFFFF";
21
- readonly border: "#B8A8FF";
21
+ readonly border: "#5037C8";
22
22
  };
23
23
  readonly subtle: {
24
24
  readonly bg: "#D4CCFF";
25
- readonly fg: "#B8A8FF";
26
- readonly border: "#D4CCFF";
25
+ readonly fg: "#402C9F";
26
+ readonly border: "transparent";
27
27
  };
28
28
  };
29
29
  readonly secondary: {
@@ -38,19 +38,19 @@ export declare const action: {
38
38
  readonly border: "#3ED5EE";
39
39
  };
40
40
  readonly active: {
41
- readonly bg: "#79E8F8";
41
+ readonly bg: "#0F9BB8";
42
42
  readonly fg: "#000000";
43
- readonly border: "#79E8F8";
43
+ readonly border: "#0F9BB8";
44
44
  };
45
45
  readonly muted: {
46
- readonly bg: "#79E8F8";
46
+ readonly bg: "#094C5E";
47
47
  readonly fg: "#FFFFFF";
48
- readonly border: "#79E8F8";
48
+ readonly border: "#0B7D95";
49
49
  };
50
50
  readonly subtle: {
51
51
  readonly bg: "#B4F4FD";
52
- readonly fg: "#B8A8FF";
53
- readonly border: "#B4F4FD";
52
+ readonly fg: "#0A6175";
53
+ readonly border: "transparent";
54
54
  };
55
55
  };
56
56
  readonly close: {
@@ -60,24 +60,24 @@ export declare const action: {
60
60
  readonly border: "#BBB2D2";
61
61
  };
62
62
  readonly hover: {
63
- readonly bg: "#D4CEE8";
64
- readonly fg: "#000000";
65
- readonly border: "#D4CEE8";
66
- };
67
- readonly active: {
68
63
  readonly bg: "#E4DDF4";
69
64
  readonly fg: "#000000";
70
65
  readonly border: "#E4DDF4";
71
66
  };
67
+ readonly active: {
68
+ readonly bg: "#6B6386";
69
+ readonly fg: "#FFFFFF";
70
+ readonly border: "#6B6386";
71
+ };
72
72
  readonly muted: {
73
- readonly bg: "#958CB0";
73
+ readonly bg: "#231F31";
74
74
  readonly fg: "#FFFFFF";
75
- readonly border: "#958CB0";
75
+ readonly border: "#3D3754";
76
76
  };
77
77
  readonly subtle: {
78
- readonly bg: "#E4DDF4";
79
- readonly fg: "#B8A8FF";
80
- readonly border: "#E4DDF4";
78
+ readonly bg: "#EEE8FA";
79
+ readonly fg: "#BBB2D2";
80
+ readonly border: "transparent";
81
81
  };
82
82
  };
83
83
  readonly danger: {
@@ -92,19 +92,19 @@ export declare const action: {
92
92
  readonly border: "#F43F5E";
93
93
  };
94
94
  readonly active: {
95
- readonly bg: "#FB7185";
95
+ readonly bg: "#BE123C";
96
96
  readonly fg: "#FFFFFF";
97
- readonly border: "#FB7185";
97
+ readonly border: "#BE123C";
98
98
  };
99
99
  readonly muted: {
100
- readonly bg: "#FB7185";
101
- readonly fg: "#FB7185";
102
- readonly border: "#FB7185";
100
+ readonly bg: "#881337";
101
+ readonly fg: "#FECDD3";
102
+ readonly border: "#BE123C";
103
103
  };
104
104
  readonly subtle: {
105
- readonly bg: "#F43F5E";
106
- readonly fg: "#F43F5E";
107
- readonly border: "#F43F5E";
105
+ readonly bg: "rgba(251, 113, 133, 0.16)";
106
+ readonly fg: "#FDA4AF";
107
+ readonly border: "transparent";
108
108
  };
109
109
  };
110
110
  };
@@ -1 +1 @@
1
- {"version":3,"file":"action.d.ts","sourceRoot":"","sources":["../../../src/dark/semantic/action.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgHT,CAAC"}
1
+ {"version":3,"file":"action.d.ts","sourceRoot":"","sources":["../../../src/dark/semantic/action.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoHT,CAAC"}