@beehexa/design-rules 2611.5.5 → 2611.6.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 (190) hide show
  1. package/README.md +1 -1
  2. package/dist/catalog.json +908 -208
  3. package/dist/docs/public/_redirects +2 -2
  4. package/dist/docs/scripts/color-pairs.mjs +4 -0
  5. package/dist/docs/src/components/ChildPages.astro +8 -1
  6. package/dist/docs/src/components/ColorDemo.astro +12 -9
  7. package/dist/docs/src/components/DocsFooter.astro +1 -1
  8. package/dist/docs/src/components/HelpOptions.astro +8 -6
  9. package/dist/docs/src/components/IconBrowser.astro +2 -2
  10. package/dist/docs/src/components/LayoutDemo.astro +178 -99
  11. package/dist/docs/src/components/NativeControlsDemo.astro +165 -40
  12. package/dist/docs/src/components/NativeFlowDemo.astro +206 -0
  13. package/dist/docs/src/components/PhaseTable.astro +9 -5
  14. package/dist/docs/src/components/RoleGuides.astro +30 -22
  15. package/dist/docs/src/components/RuleDemo.astro +111 -0
  16. package/dist/docs/src/components/ShapeDemo.astro +24 -36
  17. package/dist/docs/src/components/SiteHeader.astro +1 -1
  18. package/dist/docs/src/components/SpacingDemo.astro +2 -0
  19. package/dist/docs/src/components/SwitchToggle.astro +13 -0
  20. package/dist/docs/src/components/SystemAreas.astro +9 -6
  21. package/dist/docs/src/components/TableOfContents.astro +1 -1
  22. package/dist/docs/src/components/TokenSearch.astro +64 -0
  23. package/dist/docs/src/components/TokenTable.astro +14 -9
  24. package/dist/docs/src/components/TypeDemo.astro +1 -1
  25. package/dist/docs/src/components/logos/LogoClearSpace.astro +1 -1
  26. package/dist/docs/src/content/components/button/accessibility.mdx +3 -3
  27. package/dist/docs/src/content/components/button/changelog.mdx +1 -1
  28. package/dist/docs/src/content/components/button/examples.mdx +10 -23
  29. package/dist/docs/src/content/components/button/meta.json +5 -1
  30. package/dist/docs/src/content/components/button/usage.mdx +13 -26
  31. package/dist/docs/src/content/components/resizable-panel/meta.json +5 -1
  32. package/dist/docs/src/content/{foundations/styles/scrollbars.mdx → components/scrollbar/code.mdx} +20 -39
  33. package/dist/docs/src/content/components/scrollbar/meta.json +9 -0
  34. package/dist/docs/src/content/components/scrollbar/usage.mdx +36 -0
  35. package/dist/docs/src/content/components/switch/accessibility.mdx +28 -0
  36. package/dist/docs/src/content/components/switch/examples.mdx +35 -0
  37. package/dist/docs/src/content/components/switch/meta.json +9 -0
  38. package/dist/docs/src/content/components/switch/usage.mdx +44 -0
  39. package/dist/docs/src/content/foundations/guidelines/accessibility/statement.mdx +4 -2
  40. package/dist/docs/src/content/foundations/guidelines/accessibility/testing.mdx +1 -1
  41. package/dist/docs/src/content/foundations/guidelines/accessibility.mdx +1 -1
  42. package/dist/docs/src/content/foundations/guidelines/content/messages.mdx +67 -0
  43. package/dist/docs/src/content/foundations/guidelines/content/numbers-dates-and-currency.mdx +72 -0
  44. package/dist/docs/src/content/foundations/guidelines/content/style-and-grammar.mdx +92 -0
  45. package/dist/docs/src/content/foundations/guidelines/content/terms.mdx +57 -0
  46. package/dist/docs/src/content/foundations/guidelines/content/voice-and-tone.mdx +48 -0
  47. package/dist/docs/src/content/foundations/guidelines/content.mdx +22 -17
  48. package/dist/docs/src/content/foundations/styles/border.mdx +5 -6
  49. package/dist/docs/src/content/foundations/styles/color/accessibility.mdx +31 -7
  50. package/dist/docs/src/content/foundations/styles/color/dark-mode.mdx +66 -6
  51. package/dist/docs/src/content/foundations/styles/color/palette.mdx +2 -2
  52. package/dist/docs/src/content/foundations/styles/color/usage.mdx +5 -5
  53. package/dist/docs/src/content/foundations/styles/data-visualization.mdx +33 -78
  54. package/dist/docs/src/content/foundations/styles/elevation.mdx +2 -2
  55. package/dist/docs/src/content/foundations/styles/icons/accessibility.mdx +1 -1
  56. package/dist/docs/src/content/foundations/styles/icons/code.mdx +1 -1
  57. package/dist/docs/src/content/foundations/styles/icons/library.mdx +2 -2
  58. package/dist/docs/src/content/foundations/styles/icons/usage.mdx +0 -3
  59. package/dist/docs/src/content/foundations/styles/interaction-states.mdx +40 -14
  60. package/dist/docs/src/content/foundations/styles/layout/app-frame.mdx +4 -9
  61. package/dist/docs/src/content/foundations/styles/layout/grid.mdx +1 -1
  62. package/dist/docs/src/content/foundations/styles/layout/overlays.mdx +3 -0
  63. package/dist/docs/src/content/foundations/styles/logos/downloads-and-terms.mdx +3 -3
  64. package/dist/docs/src/content/foundations/styles/logos/using-the-logo.mdx +1 -1
  65. package/dist/docs/src/content/foundations/styles/motion.mdx +2 -0
  66. package/dist/docs/src/content/foundations/styles/radius.mdx +38 -27
  67. package/dist/docs/src/content/foundations/styles/size-and-density.mdx +7 -6
  68. package/dist/docs/src/content/foundations/styles/spacing.mdx +1 -1
  69. package/dist/docs/src/content/foundations/styles/typography/code.mdx +1 -1
  70. package/dist/docs/src/content/foundations/styles/typography/usage.mdx +7 -0
  71. package/dist/docs/src/content/foundations/styles/z-index.mdx +3 -16
  72. package/dist/docs/src/content/foundations/tokens/all-tokens.mdx +51 -2
  73. package/dist/docs/src/content/foundations/tokens/index.mdx +91 -6
  74. package/dist/docs/src/content/get-started/content.mdx +25 -3
  75. package/dist/docs/src/content/get-started/design.mdx +34 -15
  76. package/dist/docs/src/content/get-started/develop.mdx +83 -28
  77. package/dist/docs/src/content/get-started/get-help.mdx +21 -5
  78. package/dist/docs/src/content/get-started/index.mdx +11 -12
  79. package/dist/docs/src/content/tools/ant-design-vue-theme.mdx +176 -48
  80. package/dist/docs/src/content/tools/application-content.mdx +52 -13
  81. package/dist/docs/src/content/tools/editors.mdx +36 -28
  82. package/dist/docs/src/content/tools/mermaid.mdx +42 -9
  83. package/dist/docs/src/content/tools/vueflow.mdx +56 -7
  84. package/dist/docs/src/content-vi/components/button/accessibility.mdx +51 -0
  85. package/dist/docs/src/content-vi/components/button/changelog.mdx +6 -0
  86. package/dist/docs/src/content-vi/components/button/examples.mdx +27 -0
  87. package/dist/docs/src/content-vi/components/button/usage.mdx +31 -0
  88. package/dist/docs/src/content-vi/components/resizable-panel/accessibility.mdx +58 -0
  89. package/dist/docs/src/content-vi/components/resizable-panel/changelog.mdx +20 -0
  90. package/dist/docs/src/content-vi/components/resizable-panel/code.mdx +78 -0
  91. package/dist/docs/src/content-vi/components/resizable-panel/examples.mdx +83 -0
  92. package/dist/docs/src/content-vi/components/resizable-panel/usage.mdx +97 -0
  93. package/dist/docs/src/content-vi/components/scrollbar/code.mdx +71 -0
  94. package/dist/docs/src/content-vi/components/scrollbar/usage.mdx +36 -0
  95. package/dist/docs/src/content-vi/components/switch/accessibility.mdx +28 -0
  96. package/dist/docs/src/content-vi/components/switch/examples.mdx +35 -0
  97. package/dist/docs/src/content-vi/components/switch/usage.mdx +44 -0
  98. package/dist/docs/src/content-vi/foundations/guidelines/accessibility/statement.mdx +4 -2
  99. package/dist/docs/src/content-vi/foundations/guidelines/accessibility/testing.mdx +1 -1
  100. package/dist/docs/src/content-vi/foundations/guidelines/accessibility.mdx +1 -1
  101. package/dist/docs/src/content-vi/foundations/guidelines/content/messages.mdx +67 -0
  102. package/dist/docs/src/content-vi/foundations/guidelines/content/numbers-dates-and-currency.mdx +71 -0
  103. package/dist/docs/src/content-vi/foundations/guidelines/content/style-and-grammar.mdx +91 -0
  104. package/dist/docs/src/content-vi/foundations/guidelines/content/terms.mdx +57 -0
  105. package/dist/docs/src/content-vi/foundations/guidelines/content/voice-and-tone.mdx +48 -0
  106. package/dist/docs/src/content-vi/foundations/guidelines/content.mdx +24 -19
  107. package/dist/docs/src/content-vi/foundations/styles/border.mdx +5 -5
  108. package/dist/docs/src/content-vi/foundations/styles/color/accessibility.mdx +30 -7
  109. package/dist/docs/src/content-vi/foundations/styles/color/dark-mode.mdx +65 -6
  110. package/dist/docs/src/content-vi/foundations/styles/color/palette.mdx +2 -2
  111. package/dist/docs/src/content-vi/foundations/styles/color/usage.mdx +5 -5
  112. package/dist/docs/src/content-vi/foundations/styles/data-visualization.mdx +31 -1
  113. package/dist/docs/src/content-vi/foundations/styles/elevation.mdx +2 -2
  114. package/dist/docs/src/content-vi/foundations/styles/icons/accessibility.mdx +1 -1
  115. package/dist/docs/src/content-vi/foundations/styles/icons/code.mdx +1 -1
  116. package/dist/docs/src/content-vi/foundations/styles/icons/library.mdx +2 -2
  117. package/dist/docs/src/content-vi/foundations/styles/icons/usage.mdx +0 -3
  118. package/dist/docs/src/content-vi/foundations/styles/interaction-states.mdx +54 -12
  119. package/dist/docs/src/content-vi/foundations/styles/layout/app-frame.mdx +4 -9
  120. package/dist/docs/src/content-vi/foundations/styles/layout/grid.mdx +1 -1
  121. package/dist/docs/src/content-vi/foundations/styles/layout/overlays.mdx +3 -0
  122. package/dist/docs/src/content-vi/foundations/styles/logos/downloads-and-terms.mdx +3 -3
  123. package/dist/docs/src/content-vi/foundations/styles/motion.mdx +2 -0
  124. package/dist/docs/src/content-vi/foundations/styles/radius.mdx +38 -27
  125. package/dist/docs/src/content-vi/foundations/styles/size-and-density.mdx +7 -6
  126. package/dist/docs/src/content-vi/foundations/styles/spacing.mdx +1 -1
  127. package/dist/docs/src/content-vi/foundations/styles/typography/code.mdx +1 -1
  128. package/dist/docs/src/content-vi/foundations/styles/typography/usage.mdx +7 -0
  129. package/dist/docs/src/content-vi/foundations/styles/z-index.mdx +3 -16
  130. package/dist/docs/src/content-vi/foundations/tokens/all-tokens.mdx +51 -2
  131. package/dist/docs/src/content-vi/foundations/tokens/index.mdx +90 -5
  132. package/dist/docs/src/content-vi/get-started/content.mdx +36 -0
  133. package/dist/docs/src/content-vi/get-started/design.mdx +49 -0
  134. package/dist/docs/src/content-vi/get-started/develop.mdx +110 -0
  135. package/dist/docs/src/content-vi/get-started/get-help.mdx +35 -0
  136. package/dist/docs/src/content-vi/get-started/index.mdx +49 -0
  137. package/dist/docs/src/content-vi/release-phases/index.mdx +11 -0
  138. package/dist/docs/src/content-vi/tools/ai-agents.mdx +36 -0
  139. package/dist/docs/src/content-vi/tools/ant-design-vue-theme.mdx +676 -0
  140. package/dist/docs/src/content-vi/tools/application-content.mdx +171 -0
  141. package/dist/docs/src/content-vi/tools/editors.mdx +254 -0
  142. package/dist/docs/src/content-vi/tools/eslint.mdx +15 -0
  143. package/dist/docs/src/content-vi/tools/index.mdx +7 -0
  144. package/dist/docs/src/content-vi/tools/mermaid.mdx +179 -0
  145. package/dist/docs/src/content-vi/tools/stylelint.mdx +18 -0
  146. package/dist/docs/src/content-vi/tools/vueflow.mdx +189 -0
  147. package/dist/docs/src/content.config.ts +12 -1
  148. package/dist/docs/src/lib/dates.ts +8 -0
  149. package/dist/docs/src/lib/i18n.ts +1 -0
  150. package/dist/docs/src/lib/navigation.ts +6 -4
  151. package/dist/docs/src/lib/token-descriptions-vi.ts +247 -11
  152. package/dist/docs/src/lib/tokens.ts +3 -0
  153. package/dist/docs/src/styles/chrome.css +8 -8
  154. package/dist/docs/src/styles/color.css +31 -31
  155. package/dist/docs/src/styles/docs.css +55 -40
  156. package/dist/docs/src/styles/elevation.css +1 -1
  157. package/dist/docs/src/styles/global.css +13 -4
  158. package/dist/docs/src/styles/icons.css +16 -16
  159. package/dist/docs/src/styles/kit.css +29 -10
  160. package/dist/docs/src/styles/layout.css +16 -11
  161. package/dist/docs/src/styles/logos.css +24 -24
  162. package/dist/docs/src/styles/opacity.css +3 -3
  163. package/dist/docs/src/styles/rules.css +24 -0
  164. package/dist/docs/src/styles/shapes.css +2 -2
  165. package/dist/docs/src/styles/tokens.css +228 -147
  166. package/dist/docs/src/styles/tokens.js +88 -62
  167. package/dist/docs/src/styles/typography.css +9 -9
  168. package/dist/docs/src/styles/zindex.css +6 -5
  169. package/dist/docs/tokens/color.json +24 -14
  170. package/dist/docs/tokens/components.json +39 -0
  171. package/dist/docs/tokens/content.json +103 -10
  172. package/dist/docs/tokens/diagram.json +490 -49
  173. package/dist/docs/tokens/editor.json +128 -22
  174. package/dist/docs/tokens/flow.json +412 -80
  175. package/dist/docs/tokens/layout.json +13 -4
  176. package/dist/docs/tokens/motion.json +11 -0
  177. package/dist/docs/tokens/radius.json +9 -9
  178. package/dist/docs/tokens/renderer.json +8 -0
  179. package/dist/docs/tokens/resize.json +84 -15
  180. package/dist/docs/tokens/scrollbar.json +42 -7
  181. package/dist/docs/tokens/size.json +6 -6
  182. package/dist/docs/tokens/spacing.json +1 -1
  183. package/dist/docs/tokens/switch.json +314 -59
  184. package/dist/docs/tokens/typography.json +1 -1
  185. package/dist/docs/tokens/visualization.json +465 -53
  186. package/dist/docs/tokens/z-index.json +0 -10
  187. package/dist/index.js +908 -208
  188. package/package.json +1 -1
  189. package/dist/docs/src/brand/structure-proposal.md +0 -227
  190. package/dist/docs/src/content/components/button/code.mdx +0 -34
@@ -1,144 +1,274 @@
1
1
  {
2
2
  "switch": {
3
- "$description": "Paired paint for a real boolean Switch in normal/small native geometry. Checked means ON, not success. Light/dark aliases resolve through approved color roles; locale changes labels, never state colors. Focus adds the source ring; loading preserves checked paint and blocks native changes; disabled uses explicit opaque disabled pairs.",
3
+ "$description": "Paired paint for a real boolean Switch in normal/small native geometry. Checked means ON, not success. Light/dark aliases resolve through approved color roles; locale changes labels, never state colors. Focus adds the source ring; loading preserves checked paint and blocks native changes; disabled keeps distinct readable ON/OFF pairs without opacity.",
4
4
  "focus-ring": {
5
5
  "$type": "color",
6
6
  "$value": "{color.border.focus}",
7
- "$description": "Keyboard-visible ring for either checked state; keep the existing focused border width and focus offset. Does not replace the ON/OFF track, thumb or label."
7
+ "$description": "Keyboard-visible ring for either checked state; keep the existing focused border width and focus offset. Does not replace the ON/OFF track, thumb or label.",
8
+ "$extensions": {
9
+ "design.beehexa": {
10
+ "component": "switch"
11
+ }
12
+ }
8
13
  },
9
14
  "off": {
10
15
  "track": {
11
16
  "$root": {
12
17
  "$type": "color",
13
18
  "$value": "{color.background.neutral}",
14
- "$description": "OFF track, normal. Neutral boolean-state fill, never business-success green."
19
+ "$description": "OFF track, normal. Neutral boolean-state fill, never business-success green.",
20
+ "$extensions": {
21
+ "design.beehexa": {
22
+ "component": "switch"
23
+ }
24
+ }
15
25
  },
16
26
  "hover": {
17
27
  "$type": "color",
18
28
  "$value": "{color.background.neutral.hover}",
19
- "$description": "OFF track, hover. Neutral boolean-state fill, never business-success green."
29
+ "$description": "OFF track, hover. Neutral boolean-state fill, never business-success green.",
30
+ "$extensions": {
31
+ "design.beehexa": {
32
+ "component": "switch"
33
+ }
34
+ }
20
35
  },
21
36
  "pressed": {
22
37
  "$type": "color",
23
38
  "$value": "{color.background.neutral.pressed}",
24
- "$description": "OFF track, pressed. Neutral boolean-state fill, never business-success green."
39
+ "$description": "OFF track, pressed. Neutral boolean-state fill, never business-success green.",
40
+ "$extensions": {
41
+ "design.beehexa": {
42
+ "component": "switch"
43
+ }
44
+ }
25
45
  },
26
46
  "focus": {
27
47
  "$type": "color",
28
48
  "$value": "{switch.off.track}",
29
- "$description": "OFF track, focus. Normal pair under the independent keyboard focus ring; pointer hover/pressed feedback may coexist with the ring."
49
+ "$description": "OFF track, focus. Normal pair under the independent keyboard focus ring; pointer hover/pressed feedback may coexist with the ring.",
50
+ "$extensions": {
51
+ "design.beehexa": {
52
+ "component": "switch"
53
+ }
54
+ }
30
55
  },
31
56
  "loading": {
32
57
  "$type": "color",
33
58
  "$value": "{switch.off.track}",
34
- "$description": "OFF track, loading. Preserve the normal checked-state pair while the native spinner signals pending work; native interaction stays blocked."
59
+ "$description": "OFF track, loading. Preserve the normal checked-state pair while the native spinner signals pending work; native interaction stays blocked.",
60
+ "$extensions": {
61
+ "design.beehexa": {
62
+ "component": "switch"
63
+ }
64
+ }
35
65
  },
36
66
  "disabled": {
37
67
  "$type": "color",
38
68
  "$value": "{color.background.disabled}",
39
- "$description": "OFF track, disabled. Opaque disabled role; checked position and visible labels remain. No opacity dimming."
69
+ "$description": "OFF track, disabled. Opaque disabled role; checked position and visible labels remain. No opacity dimming.",
70
+ "$extensions": {
71
+ "design.beehexa": {
72
+ "component": "switch"
73
+ }
74
+ }
40
75
  }
41
76
  },
42
77
  "thumb": {
43
78
  "$root": {
44
79
  "$type": "color",
45
80
  "$value": "{color.icon}",
46
- "$description": "OFF thumb, normal. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground."
81
+ "$description": "OFF thumb, normal. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground.",
82
+ "$extensions": {
83
+ "design.beehexa": {
84
+ "component": "switch"
85
+ }
86
+ }
47
87
  },
48
88
  "hover": {
49
89
  "$type": "color",
50
90
  "$value": "{color.icon}",
51
- "$description": "OFF thumb, hover. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground."
91
+ "$description": "OFF thumb, hover. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground.",
92
+ "$extensions": {
93
+ "design.beehexa": {
94
+ "component": "switch"
95
+ }
96
+ }
52
97
  },
53
98
  "pressed": {
54
99
  "$type": "color",
55
100
  "$value": "{color.icon}",
56
- "$description": "OFF thumb, pressed. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground."
101
+ "$description": "OFF thumb, pressed. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground.",
102
+ "$extensions": {
103
+ "design.beehexa": {
104
+ "component": "switch"
105
+ }
106
+ }
57
107
  },
58
108
  "focus": {
59
109
  "$type": "color",
60
110
  "$value": "{switch.off.thumb}",
61
- "$description": "OFF thumb, focus. Normal pair under the independent keyboard focus ring; pointer hover/pressed feedback may coexist with the ring."
111
+ "$description": "OFF thumb, focus. Normal pair under the independent keyboard focus ring; pointer hover/pressed feedback may coexist with the ring.",
112
+ "$extensions": {
113
+ "design.beehexa": {
114
+ "component": "switch"
115
+ }
116
+ }
62
117
  },
63
118
  "loading": {
64
119
  "$type": "color",
65
120
  "$value": "{switch.off.thumb}",
66
- "$description": "OFF thumb, loading. Preserve the normal checked-state pair while the native spinner signals pending work; native interaction stays blocked."
121
+ "$description": "OFF thumb, loading. Preserve the normal checked-state pair while the native spinner signals pending work; native interaction stays blocked.",
122
+ "$extensions": {
123
+ "design.beehexa": {
124
+ "component": "switch"
125
+ }
126
+ }
67
127
  },
68
128
  "disabled": {
69
129
  "$type": "color",
70
- "$value": "{color.icon.disabled}",
71
- "$description": "OFF thumb, disabled. Opaque disabled role; checked position and visible labels remain. No opacity dimming."
130
+ "$value": "{color.icon.subtle}",
131
+ "$description": "OFF thumb, disabled. Readable against the quiet OFF track; checked position and native unavailable behavior remain. No opacity dimming.",
132
+ "$extensions": {
133
+ "design.beehexa": {
134
+ "component": "switch"
135
+ }
136
+ }
72
137
  }
73
138
  },
74
139
  "label": {
75
140
  "$root": {
76
141
  "$type": "color",
77
142
  "$value": "{color.text}",
78
- "$description": "OFF label, normal. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground."
143
+ "$description": "OFF label, normal. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground.",
144
+ "$extensions": {
145
+ "design.beehexa": {
146
+ "component": "switch"
147
+ }
148
+ }
79
149
  },
80
150
  "hover": {
81
151
  "$type": "color",
82
152
  "$value": "{color.text}",
83
- "$description": "OFF label, hover. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground."
153
+ "$description": "OFF label, hover. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground.",
154
+ "$extensions": {
155
+ "design.beehexa": {
156
+ "component": "switch"
157
+ }
158
+ }
84
159
  },
85
160
  "pressed": {
86
161
  "$type": "color",
87
162
  "$value": "{color.text}",
88
- "$description": "OFF label, pressed. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground."
163
+ "$description": "OFF label, pressed. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground.",
164
+ "$extensions": {
165
+ "design.beehexa": {
166
+ "component": "switch"
167
+ }
168
+ }
89
169
  },
90
170
  "focus": {
91
171
  "$type": "color",
92
172
  "$value": "{switch.off.label}",
93
- "$description": "OFF label, focus. Normal pair under the independent keyboard focus ring; pointer hover/pressed feedback may coexist with the ring."
173
+ "$description": "OFF label, focus. Normal pair under the independent keyboard focus ring; pointer hover/pressed feedback may coexist with the ring.",
174
+ "$extensions": {
175
+ "design.beehexa": {
176
+ "component": "switch"
177
+ }
178
+ }
94
179
  },
95
180
  "loading": {
96
181
  "$type": "color",
97
182
  "$value": "{switch.off.label}",
98
- "$description": "OFF label, loading. Preserve the normal checked-state pair while the native spinner signals pending work; native interaction stays blocked."
183
+ "$description": "OFF label, loading. Preserve the normal checked-state pair while the native spinner signals pending work; native interaction stays blocked.",
184
+ "$extensions": {
185
+ "design.beehexa": {
186
+ "component": "switch"
187
+ }
188
+ }
99
189
  },
100
190
  "disabled": {
101
191
  "$type": "color",
102
- "$value": "{color.text.disabled}",
103
- "$description": "OFF label, disabled. Opaque disabled role; checked position and visible labels remain. No opacity dimming."
192
+ "$value": "{color.text.subtle}",
193
+ "$description": "OFF label, disabled. Saved boolean values remain readable even when unavailable for editing.",
194
+ "$extensions": {
195
+ "design.beehexa": {
196
+ "component": "switch"
197
+ }
198
+ }
104
199
  }
105
200
  },
106
201
  "border": {
107
202
  "$root": {
108
203
  "$type": "color",
109
204
  "$value": "{color.border.bold}",
110
- "$description": "OFF border, normal. Meaningful boundary without changing native geometry."
205
+ "$description": "OFF border, normal. Meaningful boundary without changing native geometry.",
206
+ "$extensions": {
207
+ "design.beehexa": {
208
+ "component": "switch"
209
+ }
210
+ }
111
211
  },
112
212
  "hover": {
113
213
  "$type": "color",
114
214
  "$value": "{color.border.bold}",
115
- "$description": "OFF border, hover. Meaningful boundary without changing native geometry."
215
+ "$description": "OFF border, hover. Meaningful boundary without changing native geometry.",
216
+ "$extensions": {
217
+ "design.beehexa": {
218
+ "component": "switch"
219
+ }
220
+ }
116
221
  },
117
222
  "pressed": {
118
223
  "$type": "color",
119
224
  "$value": "{color.graphite.10}",
120
- "$description": "OFF border, pressed. Graphite 10 keeps at least 3:1 against the pressed neutral track in both themes without changing native geometry."
225
+ "$description": "OFF border, pressed. Graphite 10 keeps at least 3:1 against the pressed neutral track in both themes without changing native geometry.",
226
+ "$extensions": {
227
+ "design.beehexa": {
228
+ "component": "switch"
229
+ }
230
+ }
121
231
  },
122
232
  "focus": {
123
233
  "$type": "color",
124
234
  "$value": "{switch.off.border}",
125
- "$description": "OFF border, focus. Normal pair under the independent keyboard focus ring; pointer hover/pressed feedback may coexist with the ring."
235
+ "$description": "OFF border, focus. Normal pair under the independent keyboard focus ring; pointer hover/pressed feedback may coexist with the ring.",
236
+ "$extensions": {
237
+ "design.beehexa": {
238
+ "component": "switch"
239
+ }
240
+ }
126
241
  },
127
242
  "loading": {
128
243
  "$type": "color",
129
244
  "$value": "{switch.off.border}",
130
- "$description": "OFF border, loading. Preserve the normal checked-state pair while the native spinner signals pending work; native interaction stays blocked."
245
+ "$description": "OFF border, loading. Preserve the normal checked-state pair while the native spinner signals pending work; native interaction stays blocked.",
246
+ "$extensions": {
247
+ "design.beehexa": {
248
+ "component": "switch"
249
+ }
250
+ }
131
251
  },
132
252
  "disabled": {
133
253
  "$type": "color",
134
- "$value": "{color.border.disabled}",
135
- "$description": "OFF border, disabled. Opaque disabled role; checked position and visible labels remain. No opacity dimming."
254
+ "$value": "{color.border.bold}",
255
+ "$description": "OFF border, disabled. Preserve the meaningful quiet-track boundary without enabling interaction.",
256
+ "$extensions": {
257
+ "design.beehexa": {
258
+ "component": "switch"
259
+ }
260
+ }
136
261
  }
137
262
  },
138
263
  "loading-icon": {
139
264
  "$type": "color",
140
265
  "$value": "{color.icon.inverse}",
141
- "$description": "Spinner foreground inside the OFF thumb, paired with switch.off.thumb.loading. Keep the native spinning indicator and blocked callback behavior."
266
+ "$description": "Spinner foreground inside the OFF thumb, paired with switch.off.thumb.loading. Keep the native spinning indicator and blocked callback behavior.",
267
+ "$extensions": {
268
+ "design.beehexa": {
269
+ "component": "switch"
270
+ }
271
+ }
142
272
  }
143
273
  },
144
274
  "on": {
@@ -146,134 +276,259 @@
146
276
  "$root": {
147
277
  "$type": "color",
148
278
  "$value": "{color.background.neutral.bold}",
149
- "$description": "ON track, normal. Neutral boolean-state fill, never business-success green."
279
+ "$description": "ON track, normal. Neutral boolean-state fill, never business-success green.",
280
+ "$extensions": {
281
+ "design.beehexa": {
282
+ "component": "switch"
283
+ }
284
+ }
150
285
  },
151
286
  "hover": {
152
287
  "$type": "color",
153
288
  "$value": "{color.background.neutral.bold.hover}",
154
- "$description": "ON track, hover. Neutral boolean-state fill, never business-success green."
289
+ "$description": "ON track, hover. Neutral boolean-state fill, never business-success green.",
290
+ "$extensions": {
291
+ "design.beehexa": {
292
+ "component": "switch"
293
+ }
294
+ }
155
295
  },
156
296
  "pressed": {
157
297
  "$type": "color",
158
298
  "$value": "{color.background.neutral.bold.pressed}",
159
- "$description": "ON track, pressed. Neutral boolean-state fill, never business-success green."
299
+ "$description": "ON track, pressed. Neutral boolean-state fill, never business-success green.",
300
+ "$extensions": {
301
+ "design.beehexa": {
302
+ "component": "switch"
303
+ }
304
+ }
160
305
  },
161
306
  "focus": {
162
307
  "$type": "color",
163
308
  "$value": "{switch.on.track}",
164
- "$description": "ON track, focus. Normal pair under the independent keyboard focus ring; pointer hover/pressed feedback may coexist with the ring."
309
+ "$description": "ON track, focus. Normal pair under the independent keyboard focus ring; pointer hover/pressed feedback may coexist with the ring.",
310
+ "$extensions": {
311
+ "design.beehexa": {
312
+ "component": "switch"
313
+ }
314
+ }
165
315
  },
166
316
  "loading": {
167
317
  "$type": "color",
168
318
  "$value": "{switch.on.track}",
169
- "$description": "ON track, loading. Preserve the normal checked-state pair while the native spinner signals pending work; native interaction stays blocked."
319
+ "$description": "ON track, loading. Preserve the normal checked-state pair while the native spinner signals pending work; native interaction stays blocked.",
320
+ "$extensions": {
321
+ "design.beehexa": {
322
+ "component": "switch"
323
+ }
324
+ }
170
325
  },
171
326
  "disabled": {
172
327
  "$type": "color",
173
- "$value": "{color.background.disabled}",
174
- "$description": "ON track, disabled. Opaque disabled role; checked position and visible labels remain. No opacity dimming."
328
+ "$value": "{color.background.neutral.bold.pressed}",
329
+ "$description": "ON track, disabled. A subdued bold track remains distinct from disabled OFF in both themes; native disabled behavior is unchanged.",
330
+ "$extensions": {
331
+ "design.beehexa": {
332
+ "component": "switch"
333
+ }
334
+ }
175
335
  }
176
336
  },
177
337
  "thumb": {
178
338
  "$root": {
179
339
  "$type": "color",
180
340
  "$value": "{color.icon.inverse}",
181
- "$description": "ON thumb, normal. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground."
341
+ "$description": "ON thumb, normal. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground.",
342
+ "$extensions": {
343
+ "design.beehexa": {
344
+ "component": "switch"
345
+ }
346
+ }
182
347
  },
183
348
  "hover": {
184
349
  "$type": "color",
185
350
  "$value": "{color.icon.inverse}",
186
- "$description": "ON thumb, hover. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground."
351
+ "$description": "ON thumb, hover. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground.",
352
+ "$extensions": {
353
+ "design.beehexa": {
354
+ "component": "switch"
355
+ }
356
+ }
187
357
  },
188
358
  "pressed": {
189
359
  "$type": "color",
190
360
  "$value": "{color.icon.inverse}",
191
- "$description": "ON thumb, pressed. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground."
361
+ "$description": "ON thumb, pressed. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground.",
362
+ "$extensions": {
363
+ "design.beehexa": {
364
+ "component": "switch"
365
+ }
366
+ }
192
367
  },
193
368
  "focus": {
194
369
  "$type": "color",
195
370
  "$value": "{switch.on.thumb}",
196
- "$description": "ON thumb, focus. Normal pair under the independent keyboard focus ring; pointer hover/pressed feedback may coexist with the ring."
371
+ "$description": "ON thumb, focus. Normal pair under the independent keyboard focus ring; pointer hover/pressed feedback may coexist with the ring.",
372
+ "$extensions": {
373
+ "design.beehexa": {
374
+ "component": "switch"
375
+ }
376
+ }
197
377
  },
198
378
  "loading": {
199
379
  "$type": "color",
200
380
  "$value": "{switch.on.thumb}",
201
- "$description": "ON thumb, loading. Preserve the normal checked-state pair while the native spinner signals pending work; native interaction stays blocked."
381
+ "$description": "ON thumb, loading. Preserve the normal checked-state pair while the native spinner signals pending work; native interaction stays blocked.",
382
+ "$extensions": {
383
+ "design.beehexa": {
384
+ "component": "switch"
385
+ }
386
+ }
202
387
  },
203
388
  "disabled": {
204
389
  "$type": "color",
205
- "$value": "{color.icon.disabled}",
206
- "$description": "ON thumb, disabled. Opaque disabled role; checked position and visible labels remain. No opacity dimming."
390
+ "$value": "{color.icon.inverse}",
391
+ "$description": "ON thumb, disabled. Inverse foreground paired with the subdued bold ON track; no opacity dimming.",
392
+ "$extensions": {
393
+ "design.beehexa": {
394
+ "component": "switch"
395
+ }
396
+ }
207
397
  }
208
398
  },
209
399
  "label": {
210
400
  "$root": {
211
401
  "$type": "color",
212
402
  "$value": "{color.text.inverse}",
213
- "$description": "ON label, normal. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground."
403
+ "$description": "ON label, normal. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground.",
404
+ "$extensions": {
405
+ "design.beehexa": {
406
+ "component": "switch"
407
+ }
408
+ }
214
409
  },
215
410
  "hover": {
216
411
  "$type": "color",
217
412
  "$value": "{color.text.inverse}",
218
- "$description": "ON label, hover. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground."
413
+ "$description": "ON label, hover. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground.",
414
+ "$extensions": {
415
+ "design.beehexa": {
416
+ "component": "switch"
417
+ }
418
+ }
219
419
  },
220
420
  "pressed": {
221
421
  "$type": "color",
222
422
  "$value": "{color.text.inverse}",
223
- "$description": "ON label, pressed. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground."
423
+ "$description": "ON label, pressed. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground.",
424
+ "$extensions": {
425
+ "design.beehexa": {
426
+ "component": "switch"
427
+ }
428
+ }
224
429
  },
225
430
  "focus": {
226
431
  "$type": "color",
227
432
  "$value": "{switch.on.label}",
228
- "$description": "ON label, focus. Normal pair under the independent keyboard focus ring; pointer hover/pressed feedback may coexist with the ring."
433
+ "$description": "ON label, focus. Normal pair under the independent keyboard focus ring; pointer hover/pressed feedback may coexist with the ring.",
434
+ "$extensions": {
435
+ "design.beehexa": {
436
+ "component": "switch"
437
+ }
438
+ }
229
439
  },
230
440
  "loading": {
231
441
  "$type": "color",
232
442
  "$value": "{switch.on.label}",
233
- "$description": "ON label, loading. Preserve the normal checked-state pair while the native spinner signals pending work; native interaction stays blocked."
443
+ "$description": "ON label, loading. Preserve the normal checked-state pair while the native spinner signals pending work; native interaction stays blocked.",
444
+ "$extensions": {
445
+ "design.beehexa": {
446
+ "component": "switch"
447
+ }
448
+ }
234
449
  },
235
450
  "disabled": {
236
451
  "$type": "color",
237
- "$value": "{color.text.disabled}",
238
- "$description": "ON label, disabled. Opaque disabled role; checked position and visible labels remain. No opacity dimming."
452
+ "$value": "{color.text.inverse}",
453
+ "$description": "ON label, disabled. Readable inverse pair preserves saved boolean meaning independently of edit availability.",
454
+ "$extensions": {
455
+ "design.beehexa": {
456
+ "component": "switch"
457
+ }
458
+ }
239
459
  }
240
460
  },
241
461
  "border": {
242
462
  "$root": {
243
463
  "$type": "color",
244
464
  "$value": "{color.background.neutral.bold}",
245
- "$description": "ON border, normal. Meaningful boundary without changing native geometry."
465
+ "$description": "ON border, normal. Meaningful boundary without changing native geometry.",
466
+ "$extensions": {
467
+ "design.beehexa": {
468
+ "component": "switch"
469
+ }
470
+ }
246
471
  },
247
472
  "hover": {
248
473
  "$type": "color",
249
474
  "$value": "{color.background.neutral.bold.hover}",
250
- "$description": "ON border, hover. Meaningful boundary without changing native geometry."
475
+ "$description": "ON border, hover. Meaningful boundary without changing native geometry.",
476
+ "$extensions": {
477
+ "design.beehexa": {
478
+ "component": "switch"
479
+ }
480
+ }
251
481
  },
252
482
  "pressed": {
253
483
  "$type": "color",
254
484
  "$value": "{color.background.neutral.bold.pressed}",
255
- "$description": "ON border, pressed. Meaningful boundary without changing native geometry."
485
+ "$description": "ON border, pressed. Meaningful boundary without changing native geometry.",
486
+ "$extensions": {
487
+ "design.beehexa": {
488
+ "component": "switch"
489
+ }
490
+ }
256
491
  },
257
492
  "focus": {
258
493
  "$type": "color",
259
494
  "$value": "{switch.on.border}",
260
- "$description": "ON border, focus. Normal pair under the independent keyboard focus ring; pointer hover/pressed feedback may coexist with the ring."
495
+ "$description": "ON border, focus. Normal pair under the independent keyboard focus ring; pointer hover/pressed feedback may coexist with the ring.",
496
+ "$extensions": {
497
+ "design.beehexa": {
498
+ "component": "switch"
499
+ }
500
+ }
261
501
  },
262
502
  "loading": {
263
503
  "$type": "color",
264
504
  "$value": "{switch.on.border}",
265
- "$description": "ON border, loading. Preserve the normal checked-state pair while the native spinner signals pending work; native interaction stays blocked."
505
+ "$description": "ON border, loading. Preserve the normal checked-state pair while the native spinner signals pending work; native interaction stays blocked.",
506
+ "$extensions": {
507
+ "design.beehexa": {
508
+ "component": "switch"
509
+ }
510
+ }
266
511
  },
267
512
  "disabled": {
268
513
  "$type": "color",
269
- "$value": "{color.border.disabled}",
270
- "$description": "ON border, disabled. Opaque disabled role; checked position and visible labels remain. No opacity dimming."
514
+ "$value": "{switch.on.track.disabled}",
515
+ "$description": "ON border, disabled. Match the subdued bold ON track without changing native geometry.",
516
+ "$extensions": {
517
+ "design.beehexa": {
518
+ "component": "switch"
519
+ }
520
+ }
271
521
  }
272
522
  },
273
523
  "loading-icon": {
274
524
  "$type": "color",
275
525
  "$value": "{color.icon}",
276
- "$description": "Spinner foreground inside the ON thumb, paired with switch.on.thumb.loading. Keep the native spinning indicator and blocked callback behavior."
526
+ "$description": "Spinner foreground inside the ON thumb, paired with switch.on.thumb.loading. Keep the native spinning indicator and blocked callback behavior.",
527
+ "$extensions": {
528
+ "design.beehexa": {
529
+ "component": "switch"
530
+ }
531
+ }
277
532
  }
278
533
  }
279
534
  }
@@ -3,7 +3,7 @@
3
3
  "features": {
4
4
  "$type": "string",
5
5
  "$value": "\"cv05\", \"cv08\"",
6
- "$description": "Global Inter character variants distinguish l, I and 1. Applied per element by token CSS because font shorthands reset font-feature-settings; code fonts ignore unsupported variants."
6
+ "$description": "Inter character variants, on everywhere (decided 27/10/2026): cv05 gives lowercase l a tail and cv08 gives uppercase I serifs, so l, I and 1 never look alike in names, IDs and keys. The font shorthand resets font-feature-settings, so the token CSS sets them on every element. JetBrains Mono has no cv05 or cv08, so code is not affected."
7
7
  },
8
8
  "family": {
9
9
  "sans": {