@hanzo/ui 8.1.10 → 8.1.16

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 (254) hide show
  1. package/dist/backends/gui/accordion.cjs +2 -2
  2. package/dist/backends/gui/accordion.js +2 -2
  3. package/dist/backends/gui/accordion.js.map +1 -1
  4. package/dist/backends/gui/alert-dialog.cjs +1 -1
  5. package/dist/backends/gui/alert-dialog.js +1 -1
  6. package/dist/backends/gui/alert-dialog.js.map +1 -1
  7. package/dist/backends/gui/avatar.cjs +1 -1
  8. package/dist/backends/gui/avatar.js +1 -1
  9. package/dist/backends/gui/avatar.js.map +1 -1
  10. package/dist/backends/gui/badge.cjs +12 -12
  11. package/dist/backends/gui/badge.js +12 -12
  12. package/dist/backends/gui/badge.js.map +1 -1
  13. package/dist/backends/gui/button.cjs +34 -17
  14. package/dist/backends/gui/button.d.ts.map +1 -1
  15. package/dist/backends/gui/button.js +34 -17
  16. package/dist/backends/gui/button.js.map +1 -1
  17. package/dist/backends/gui/card.cjs +3 -3
  18. package/dist/backends/gui/card.d.ts.map +1 -1
  19. package/dist/backends/gui/card.js +3 -3
  20. package/dist/backends/gui/card.js.map +1 -1
  21. package/dist/backends/gui/checkbox.cjs +7 -1
  22. package/dist/backends/gui/checkbox.d.ts.map +1 -1
  23. package/dist/backends/gui/checkbox.js +7 -1
  24. package/dist/backends/gui/checkbox.js.map +1 -1
  25. package/dist/backends/gui/collapsible.cjs +1 -1
  26. package/dist/backends/gui/collapsible.js +1 -1
  27. package/dist/backends/gui/collapsible.js.map +1 -1
  28. package/dist/backends/gui/command.cjs +3 -3
  29. package/dist/backends/gui/command.js +3 -3
  30. package/dist/backends/gui/command.js.map +1 -1
  31. package/dist/backends/gui/context-menu.cjs +7 -7
  32. package/dist/backends/gui/context-menu.d.ts.map +1 -1
  33. package/dist/backends/gui/context-menu.js +7 -7
  34. package/dist/backends/gui/context-menu.js.map +1 -1
  35. package/dist/backends/gui/dialog.cjs +1 -1
  36. package/dist/backends/gui/dialog.js +1 -1
  37. package/dist/backends/gui/dialog.js.map +1 -1
  38. package/dist/backends/gui/dropdown-menu.cjs +7 -7
  39. package/dist/backends/gui/dropdown-menu.d.ts.map +1 -1
  40. package/dist/backends/gui/dropdown-menu.js +7 -7
  41. package/dist/backends/gui/dropdown-menu.js.map +1 -1
  42. package/dist/backends/gui/glass.cjs +2 -2
  43. package/dist/backends/gui/glass.d.ts +2 -2
  44. package/dist/backends/gui/glass.js +2 -2
  45. package/dist/backends/gui/hover-card.cjs +1 -1
  46. package/dist/backends/gui/hover-card.js +1 -1
  47. package/dist/backends/gui/hover-card.js.map +1 -1
  48. package/dist/backends/gui/input.cjs +1 -1
  49. package/dist/backends/gui/input.js +1 -1
  50. package/dist/backends/gui/input.js.map +1 -1
  51. package/dist/backends/gui/label.cjs +1 -1
  52. package/dist/backends/gui/label.js +1 -1
  53. package/dist/backends/gui/label.js.map +1 -1
  54. package/dist/backends/gui/popover.cjs +1 -1
  55. package/dist/backends/gui/popover.js +1 -1
  56. package/dist/backends/gui/popover.js.map +1 -1
  57. package/dist/backends/gui/progress.cjs +6 -1
  58. package/dist/backends/gui/progress.d.ts.map +1 -1
  59. package/dist/backends/gui/progress.js +6 -1
  60. package/dist/backends/gui/progress.js.map +1 -1
  61. package/dist/backends/gui/radio-group.cjs +8 -2
  62. package/dist/backends/gui/radio-group.d.ts.map +1 -1
  63. package/dist/backends/gui/radio-group.js +8 -2
  64. package/dist/backends/gui/radio-group.js.map +1 -1
  65. package/dist/backends/gui/resizable.cjs +1 -1
  66. package/dist/backends/gui/resizable.js +1 -1
  67. package/dist/backends/gui/resizable.js.map +1 -1
  68. package/dist/backends/gui/select.cjs +3 -3
  69. package/dist/backends/gui/select.js +3 -3
  70. package/dist/backends/gui/select.js.map +1 -1
  71. package/dist/backends/gui/slider.cjs +4 -4
  72. package/dist/backends/gui/slider.d.ts.map +1 -1
  73. package/dist/backends/gui/slider.js +4 -4
  74. package/dist/backends/gui/slider.js.map +1 -1
  75. package/dist/backends/gui/switch.cjs +8 -0
  76. package/dist/backends/gui/switch.d.ts +8 -0
  77. package/dist/backends/gui/switch.d.ts.map +1 -1
  78. package/dist/backends/gui/switch.js +8 -0
  79. package/dist/backends/gui/switch.js.map +1 -1
  80. package/dist/backends/gui/tabs.cjs +2 -2
  81. package/dist/backends/gui/tabs.js +2 -2
  82. package/dist/backends/gui/tabs.js.map +1 -1
  83. package/dist/backends/gui/textarea.cjs +1 -1
  84. package/dist/backends/gui/textarea.js +1 -1
  85. package/dist/backends/gui/textarea.js.map +1 -1
  86. package/dist/backends/gui/toggle-group.cjs +6 -6
  87. package/dist/backends/gui/toggle-group.js +6 -6
  88. package/dist/backends/gui/toggle-group.js.map +1 -1
  89. package/dist/backends/gui/tooltip.cjs +1 -1
  90. package/dist/backends/gui/tooltip.js +1 -1
  91. package/dist/backends/gui/tooltip.js.map +1 -1
  92. package/dist/chat/Code.cjs +1 -1
  93. package/dist/chat/Code.js +1 -1
  94. package/dist/chat/Code.js.map +1 -1
  95. package/dist/chat/Composer.cjs +1 -1
  96. package/dist/chat/Composer.js +1 -1
  97. package/dist/chat/Composer.js.map +1 -1
  98. package/dist/chat/Failure.cjs +1 -1
  99. package/dist/chat/Failure.js +1 -1
  100. package/dist/chat/Failure.js.map +1 -1
  101. package/dist/chat/Header.cjs +2 -2
  102. package/dist/chat/Header.js +2 -2
  103. package/dist/chat/Header.js.map +1 -1
  104. package/dist/chat/Message.cjs +3 -3
  105. package/dist/chat/Message.js +3 -3
  106. package/dist/chat/Message.js.map +1 -1
  107. package/dist/chat/Sidebar.cjs +14 -8
  108. package/dist/chat/Sidebar.d.ts.map +1 -1
  109. package/dist/chat/Sidebar.js +14 -8
  110. package/dist/chat/Sidebar.js.map +1 -1
  111. package/dist/chat/Sources.cjs +2 -2
  112. package/dist/chat/Sources.js +2 -2
  113. package/dist/chat/Sources.js.map +1 -1
  114. package/dist/chat/Step.cjs +6 -6
  115. package/dist/chat/Step.js +6 -6
  116. package/dist/chat/Step.js.map +1 -1
  117. package/dist/chat/Thread.cjs +8 -1
  118. package/dist/chat/Thread.d.ts.map +1 -1
  119. package/dist/chat/Thread.js +8 -1
  120. package/dist/chat/Thread.js.map +1 -1
  121. package/dist/gallery.cjs +36 -4
  122. package/dist/gallery.d.ts.map +1 -1
  123. package/dist/gallery.html +92 -69
  124. package/dist/gallery.js +37 -5
  125. package/dist/gallery.js.map +1 -1
  126. package/dist/gui-config.cjs +120 -14
  127. package/dist/gui-config.d.ts +320 -78
  128. package/dist/gui-config.d.ts.map +1 -1
  129. package/dist/gui-config.js +120 -14
  130. package/dist/gui-config.js.map +1 -1
  131. package/dist/product/AppHeader.cjs +2 -2
  132. package/dist/product/AppHeader.js +2 -2
  133. package/dist/product/AppHeader.js.map +1 -1
  134. package/dist/product/BackendState.cjs +1 -1
  135. package/dist/product/BackendState.js +1 -1
  136. package/dist/product/BackendState.js.map +1 -1
  137. package/dist/product/Charts.cjs +4 -4
  138. package/dist/product/Charts.js +4 -4
  139. package/dist/product/Charts.js.map +1 -1
  140. package/dist/product/ComboBox.cjs +1 -1
  141. package/dist/product/ComboBox.js +1 -1
  142. package/dist/product/ComboBox.js.map +1 -1
  143. package/dist/product/ConfirmDelete.cjs +1 -1
  144. package/dist/product/ConfirmDelete.js +1 -1
  145. package/dist/product/ConfirmDelete.js.map +1 -1
  146. package/dist/product/CopyButton.cjs +2 -2
  147. package/dist/product/CopyButton.js +2 -2
  148. package/dist/product/CopyButton.js.map +1 -1
  149. package/dist/product/DataTable.cjs +6 -6
  150. package/dist/product/DataTable.js +6 -6
  151. package/dist/product/DataTable.js.map +1 -1
  152. package/dist/product/EmptyState.cjs +1 -1
  153. package/dist/product/EmptyState.js +1 -1
  154. package/dist/product/EmptyState.js.map +1 -1
  155. package/dist/product/Field.cjs +2 -2
  156. package/dist/product/Field.js +2 -2
  157. package/dist/product/Field.js.map +1 -1
  158. package/dist/product/Fieldset.cjs +2 -2
  159. package/dist/product/Fieldset.js +2 -2
  160. package/dist/product/Fieldset.js.map +1 -1
  161. package/dist/product/Filters.cjs +3 -3
  162. package/dist/product/Filters.js +3 -3
  163. package/dist/product/Filters.js.map +1 -1
  164. package/dist/product/MenuRow.cjs +2 -2
  165. package/dist/product/MenuRow.d.ts +1 -1
  166. package/dist/product/MenuRow.d.ts.map +1 -1
  167. package/dist/product/MenuRow.js +2 -2
  168. package/dist/product/MenuRow.js.map +1 -1
  169. package/dist/product/Metric.cjs +4 -4
  170. package/dist/product/Metric.js +4 -4
  171. package/dist/product/Metric.js.map +1 -1
  172. package/dist/product/OrgMark.cjs +2 -2
  173. package/dist/product/OrgMark.js +2 -2
  174. package/dist/product/OrgMark.js.map +1 -1
  175. package/dist/product/OrgSwitcher.cjs +6 -6
  176. package/dist/product/OrgSwitcher.js +6 -6
  177. package/dist/product/OrgSwitcher.js.map +1 -1
  178. package/dist/product/PageHeader.cjs +1 -1
  179. package/dist/product/PageHeader.js +1 -1
  180. package/dist/product/PageHeader.js.map +1 -1
  181. package/dist/product/Pagination.cjs +1 -1
  182. package/dist/product/Pagination.js +1 -1
  183. package/dist/product/Pagination.js.map +1 -1
  184. package/dist/product/Palette.cjs +2 -2
  185. package/dist/product/Palette.js +2 -2
  186. package/dist/product/Palette.js.map +1 -1
  187. package/dist/product/ProductIcon.cjs +2 -2
  188. package/dist/product/ProductIcon.js +2 -2
  189. package/dist/product/ProductIcon.js.map +1 -1
  190. package/dist/product/ProviderLogo.cjs +4 -4
  191. package/dist/product/ProviderLogo.js +4 -4
  192. package/dist/product/ProviderLogo.js.map +1 -1
  193. package/dist/product/SecretInput.cjs +1 -1
  194. package/dist/product/SecretInput.js +1 -1
  195. package/dist/product/SecretInput.js.map +1 -1
  196. package/dist/product/SelectMenu.cjs +1 -1
  197. package/dist/product/SelectMenu.js +1 -1
  198. package/dist/product/SelectMenu.js.map +1 -1
  199. package/dist/product/SiteFooter.cjs +4 -4
  200. package/dist/product/SiteFooter.js +4 -4
  201. package/dist/product/SiteFooter.js.map +1 -1
  202. package/dist/product/SiteNav.cjs +13 -13
  203. package/dist/product/SiteNav.js +13 -13
  204. package/dist/product/SiteNav.js.map +1 -1
  205. package/dist/product/SlideOver.cjs +2 -2
  206. package/dist/product/SlideOver.js +2 -2
  207. package/dist/product/SlideOver.js.map +1 -1
  208. package/dist/product/Toast.cjs +2 -2
  209. package/dist/product/Toast.js +2 -2
  210. package/dist/product/Toast.js.map +1 -1
  211. package/dist/product/UserMenu.cjs +3 -3
  212. package/dist/product/UserMenu.js +3 -3
  213. package/dist/product/UserMenu.js.map +1 -1
  214. package/dist/product/Workbench.cjs +3 -3
  215. package/dist/product/Workbench.js +3 -3
  216. package/dist/product/Workbench.js.map +1 -1
  217. package/dist/product/color.d.ts +1 -1
  218. package/dist/product/menu/items.cjs +4 -4
  219. package/dist/product/menu/items.d.ts +3 -3
  220. package/dist/product/menu/items.js +4 -4
  221. package/dist/product/menu/items.js.map +1 -1
  222. package/dist/product/social/CampaignCard.cjs +1 -1
  223. package/dist/product/social/CampaignCard.js +1 -1
  224. package/dist/product/social/CampaignCard.js.map +1 -1
  225. package/dist/product/social/ChannelBadge.cjs +1 -1
  226. package/dist/product/social/ChannelBadge.js +1 -1
  227. package/dist/product/social/ChannelBadge.js.map +1 -1
  228. package/dist/product/social/PostAgenda.cjs +1 -1
  229. package/dist/product/social/PostAgenda.js +1 -1
  230. package/dist/product/social/PostAgenda.js.map +1 -1
  231. package/dist/product/social/PostCard.cjs +1 -1
  232. package/dist/product/social/PostCard.js +1 -1
  233. package/dist/product/social/PostCard.js.map +1 -1
  234. package/dist/product/social/PostComposer.cjs +1 -1
  235. package/dist/product/social/PostComposer.js +1 -1
  236. package/dist/product/social/PostComposer.js.map +1 -1
  237. package/dist/product/social/ProviderReadinessList.cjs +1 -1
  238. package/dist/product/social/ProviderReadinessList.js +1 -1
  239. package/dist/product/social/ProviderReadinessList.js.map +1 -1
  240. package/dist/product/social/SocialResource.cjs +1 -1
  241. package/dist/product/social/SocialResource.js +1 -1
  242. package/dist/product/social/SocialResource.js.map +1 -1
  243. package/dist/product/social/SocialSummaryBar.cjs +1 -1
  244. package/dist/product/social/SocialSummaryBar.js +1 -1
  245. package/dist/product/social/SocialSummaryBar.js.map +1 -1
  246. package/dist/product/social/ViewToggle.cjs +1 -1
  247. package/dist/product/social/ViewToggle.js +1 -1
  248. package/dist/product/social/ViewToggle.js.map +1 -1
  249. package/dist/product/tone.cjs +4 -4
  250. package/dist/product/tone.d.ts +9 -9
  251. package/dist/product/tone.js +4 -4
  252. package/dist/product/tone.js.map +1 -1
  253. package/dist/styles.css +83 -60
  254. package/package.json +2 -1
@@ -1,3 +1,35 @@
1
+ /**
2
+ * THE SURFACE LADDER — three more rungs read the token instead of shadowing it,
3
+ * for the reason the edge already does.
4
+ *
5
+ * The argument three rungs above is not about borders. A solid hex stops being a
6
+ * lighter line and becomes an unrelated grey the moment it lands on a lifted
7
+ * surface — and a FILL is the larger case, since it covers the area rather than
8
+ * outlining it. The ramp's surfaces are solid, so a Card inside a Dialog inside a
9
+ * themed section reads as three unrelated greys where design intends three lifts.
10
+ *
11
+ * design already publishes the ladder and had no consumer: `--surface-1/2/3`
12
+ * resolve to `--card`, `--muted` and `--secondary`, `--surface-card` is
13
+ * translucent at `rgb(38 38 38 / .5)`, and there is a whole glass family. Two
14
+ * files in this package name a `--surface-*` and ONE of the two is a test; none
15
+ * names `--glass`. So this is not a new ladder, it is the existing one reaching
16
+ * the components that were drawing their own.
17
+ *
18
+ * The literals behind each `var()` are what the products converged on
19
+ * independently, which is the evidence the ladder is right: hanzo.app draws
20
+ * `rgba(255,255,255,.02)` on 43 elements — its commonest surface by a wide
21
+ * margin — over `#0a0a0a`, with `rgba(255,255,255,.10)` edges on 56, and
22
+ * hanzo.chat lifts with translucent oklab over pure black. Alpha is also what
23
+ * lets ONE ladder serve both schemes: white-over-dark and black-over-light are
24
+ * the same instruction, so a surface keeps its relationship to whatever is
25
+ * beneath it instead of needing a second table.
26
+ */
27
+ /**
28
+ * The names the ramp answers to. One list, so the VALUES below and the TYPE the
29
+ * config is cast to cannot disagree — they are generated from this.
30
+ */
31
+ declare const ALIASES: readonly ["sunken", "panel", "hover", "edge", "raised", "rim", "bound", "dim", "faint", "soft", "quiet", "ink"];
32
+ type Alias = Record<(typeof ALIASES)[number], string>;
1
33
  export declare const config: import("@hanzogui/web").GuiInternalConfig<{
2
34
  radius: {
3
35
  readonly 0: 0;
@@ -55,7 +87,112 @@ export declare const config: import("@hanzogui/web").GuiInternalConfig<{
55
87
  $19: number;
56
88
  $20: number;
57
89
  };
58
- }, import("@hanzogui/config/v5").V5Themes, {
90
+ }, {
91
+ light: import("@hanzogui/config/v5").V5Theme & Alias;
92
+ dark: import("@hanzogui/config/v5").V5Theme & Alias;
93
+ light_accent: import("@hanzogui/config/v5").V5Theme & Alias;
94
+ dark_accent: import("@hanzogui/config/v5").V5Theme & Alias;
95
+ light_black: import("@hanzogui/config/v5").V5Theme & Alias;
96
+ light_white: import("@hanzogui/config/v5").V5Theme & Alias;
97
+ light_gray: import("@hanzogui/config/v5").V5Theme & Alias;
98
+ light_blue: import("@hanzogui/config/v5").V5Theme & Alias;
99
+ light_red: import("@hanzogui/config/v5").V5Theme & Alias;
100
+ light_yellow: import("@hanzogui/config/v5").V5Theme & Alias;
101
+ light_green: import("@hanzogui/config/v5").V5Theme & Alias;
102
+ light_orange: import("@hanzogui/config/v5").V5Theme & Alias;
103
+ light_pink: import("@hanzogui/config/v5").V5Theme & Alias;
104
+ light_purple: import("@hanzogui/config/v5").V5Theme & Alias;
105
+ light_teal: import("@hanzogui/config/v5").V5Theme & Alias;
106
+ light_neutral: import("@hanzogui/config/v5").V5Theme & Alias;
107
+ dark_black: import("@hanzogui/config/v5").V5Theme & Alias;
108
+ dark_white: import("@hanzogui/config/v5").V5Theme & Alias;
109
+ dark_gray: import("@hanzogui/config/v5").V5Theme & Alias;
110
+ dark_blue: import("@hanzogui/config/v5").V5Theme & Alias;
111
+ dark_red: import("@hanzogui/config/v5").V5Theme & Alias;
112
+ dark_yellow: import("@hanzogui/config/v5").V5Theme & Alias;
113
+ dark_green: import("@hanzogui/config/v5").V5Theme & Alias;
114
+ dark_orange: import("@hanzogui/config/v5").V5Theme & Alias;
115
+ dark_pink: import("@hanzogui/config/v5").V5Theme & Alias;
116
+ dark_purple: import("@hanzogui/config/v5").V5Theme & Alias;
117
+ dark_teal: import("@hanzogui/config/v5").V5Theme & Alias;
118
+ dark_neutral: import("@hanzogui/config/v5").V5Theme & Alias;
119
+ light_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
120
+ light_white_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
121
+ light_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
122
+ light_white_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
123
+ dark_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
124
+ dark_black_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
125
+ dark_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
126
+ dark_black_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
127
+ light_black_accent: import("@hanzogui/config/v5").V5Theme & Alias;
128
+ light_black_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
129
+ light_black_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
130
+ light_white_accent: import("@hanzogui/config/v5").V5Theme & Alias;
131
+ light_gray_accent: import("@hanzogui/config/v5").V5Theme & Alias;
132
+ light_gray_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
133
+ light_gray_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
134
+ light_blue_accent: import("@hanzogui/config/v5").V5Theme & Alias;
135
+ light_blue_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
136
+ light_blue_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
137
+ light_red_accent: import("@hanzogui/config/v5").V5Theme & Alias;
138
+ light_red_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
139
+ light_red_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
140
+ light_yellow_accent: import("@hanzogui/config/v5").V5Theme & Alias;
141
+ light_yellow_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
142
+ light_yellow_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
143
+ light_green_accent: import("@hanzogui/config/v5").V5Theme & Alias;
144
+ light_green_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
145
+ light_green_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
146
+ light_orange_accent: import("@hanzogui/config/v5").V5Theme & Alias;
147
+ light_orange_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
148
+ light_orange_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
149
+ light_pink_accent: import("@hanzogui/config/v5").V5Theme & Alias;
150
+ light_pink_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
151
+ light_pink_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
152
+ light_purple_accent: import("@hanzogui/config/v5").V5Theme & Alias;
153
+ light_purple_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
154
+ light_purple_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
155
+ light_teal_accent: import("@hanzogui/config/v5").V5Theme & Alias;
156
+ light_teal_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
157
+ light_teal_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
158
+ light_neutral_accent: import("@hanzogui/config/v5").V5Theme & Alias;
159
+ light_neutral_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
160
+ light_neutral_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
161
+ dark_black_accent: import("@hanzogui/config/v5").V5Theme & Alias;
162
+ dark_white_accent: import("@hanzogui/config/v5").V5Theme & Alias;
163
+ dark_white_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
164
+ dark_white_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
165
+ dark_gray_accent: import("@hanzogui/config/v5").V5Theme & Alias;
166
+ dark_gray_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
167
+ dark_gray_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
168
+ dark_blue_accent: import("@hanzogui/config/v5").V5Theme & Alias;
169
+ dark_blue_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
170
+ dark_blue_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
171
+ dark_red_accent: import("@hanzogui/config/v5").V5Theme & Alias;
172
+ dark_red_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
173
+ dark_red_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
174
+ dark_yellow_accent: import("@hanzogui/config/v5").V5Theme & Alias;
175
+ dark_yellow_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
176
+ dark_yellow_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
177
+ dark_green_accent: import("@hanzogui/config/v5").V5Theme & Alias;
178
+ dark_green_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
179
+ dark_green_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
180
+ dark_orange_accent: import("@hanzogui/config/v5").V5Theme & Alias;
181
+ dark_orange_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
182
+ dark_orange_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
183
+ dark_pink_accent: import("@hanzogui/config/v5").V5Theme & Alias;
184
+ dark_pink_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
185
+ dark_pink_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
186
+ dark_purple_accent: import("@hanzogui/config/v5").V5Theme & Alias;
187
+ dark_purple_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
188
+ dark_purple_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
189
+ dark_teal_accent: import("@hanzogui/config/v5").V5Theme & Alias;
190
+ dark_teal_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
191
+ dark_teal_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
192
+ dark_neutral_accent: import("@hanzogui/config/v5").V5Theme & Alias;
193
+ dark_neutral_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
194
+ dark_neutral_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
195
+ }, {
59
196
  text: "textAlign";
60
197
  b: "bottom";
61
198
  bg: "backgroundColor";
@@ -224,26 +361,26 @@ export declare const config: import("@hanzogui/web").GuiInternalConfig<{
224
361
  15: number | import("@hanzogui/web").Variable<any>;
225
362
  true: number | import("@hanzogui/web").Variable<any>;
226
363
  };
227
- weight: {
228
- 1: any;
229
- 2: any;
230
- 4: any;
231
- 6: any;
232
- 8: any;
233
- 10: any;
234
- 12: any;
235
- 14: any;
236
- 16: any;
237
- 3: any;
238
- 5: any;
239
- 7: any;
240
- 9: any;
241
- 11: any;
242
- 13: any;
243
- 15: any;
244
- true: any;
245
- };
246
364
  letterSpacing: {
365
+ 1: number | import("@hanzogui/web").Variable<any>;
366
+ 2: number | import("@hanzogui/web").Variable<any>;
367
+ 4: number | import("@hanzogui/web").Variable<any>;
368
+ 6: number | import("@hanzogui/web").Variable<any>;
369
+ 8: number | import("@hanzogui/web").Variable<any>;
370
+ 10: number | import("@hanzogui/web").Variable<any>;
371
+ 12: number | import("@hanzogui/web").Variable<any>;
372
+ 14: number | import("@hanzogui/web").Variable<any>;
373
+ 16: number | import("@hanzogui/web").Variable<any>;
374
+ 3: number | import("@hanzogui/web").Variable<any>;
375
+ 5: number | import("@hanzogui/web").Variable<any>;
376
+ 7: number | import("@hanzogui/web").Variable<any>;
377
+ 9: number | import("@hanzogui/web").Variable<any>;
378
+ 11: number | import("@hanzogui/web").Variable<any>;
379
+ 13: number | import("@hanzogui/web").Variable<any>;
380
+ 15: number | import("@hanzogui/web").Variable<any>;
381
+ true: number | import("@hanzogui/web").Variable<any>;
382
+ };
383
+ weight: {
247
384
  1: any;
248
385
  2: any;
249
386
  4: any;
@@ -406,26 +543,26 @@ export declare const config: import("@hanzogui/web").GuiInternalConfig<{
406
543
  15: number | import("@hanzogui/web").Variable<any>;
407
544
  true: number | import("@hanzogui/web").Variable<any>;
408
545
  };
409
- weight: {
410
- 1: any;
411
- 2: any;
412
- 4: any;
413
- 6: any;
414
- 8: any;
415
- 10: any;
416
- 12: any;
417
- 14: any;
418
- 16: any;
419
- 3: any;
420
- 5: any;
421
- 7: any;
422
- 9: any;
423
- 11: any;
424
- 13: any;
425
- 15: any;
426
- true: any;
427
- };
428
546
  letterSpacing: {
547
+ 1: number | import("@hanzogui/web").Variable<any>;
548
+ 2: number | import("@hanzogui/web").Variable<any>;
549
+ 4: number | import("@hanzogui/web").Variable<any>;
550
+ 6: number | import("@hanzogui/web").Variable<any>;
551
+ 8: number | import("@hanzogui/web").Variable<any>;
552
+ 10: number | import("@hanzogui/web").Variable<any>;
553
+ 12: number | import("@hanzogui/web").Variable<any>;
554
+ 14: number | import("@hanzogui/web").Variable<any>;
555
+ 16: number | import("@hanzogui/web").Variable<any>;
556
+ 3: number | import("@hanzogui/web").Variable<any>;
557
+ 5: number | import("@hanzogui/web").Variable<any>;
558
+ 7: number | import("@hanzogui/web").Variable<any>;
559
+ 9: number | import("@hanzogui/web").Variable<any>;
560
+ 11: number | import("@hanzogui/web").Variable<any>;
561
+ 13: number | import("@hanzogui/web").Variable<any>;
562
+ 15: number | import("@hanzogui/web").Variable<any>;
563
+ true: number | import("@hanzogui/web").Variable<any>;
564
+ };
565
+ weight: {
429
566
  1: any;
430
567
  2: any;
431
568
  4: any;
@@ -872,7 +1009,112 @@ export declare const monochrome: import("@hanzogui/web").GuiInternalConfig<{
872
1009
  $19: number;
873
1010
  $20: number;
874
1011
  };
875
- }, import("@hanzogui/config/v5").V5Themes, {
1012
+ }, {
1013
+ light: import("@hanzogui/config/v5").V5Theme & Alias;
1014
+ dark: import("@hanzogui/config/v5").V5Theme & Alias;
1015
+ light_accent: import("@hanzogui/config/v5").V5Theme & Alias;
1016
+ dark_accent: import("@hanzogui/config/v5").V5Theme & Alias;
1017
+ light_black: import("@hanzogui/config/v5").V5Theme & Alias;
1018
+ light_white: import("@hanzogui/config/v5").V5Theme & Alias;
1019
+ light_gray: import("@hanzogui/config/v5").V5Theme & Alias;
1020
+ light_blue: import("@hanzogui/config/v5").V5Theme & Alias;
1021
+ light_red: import("@hanzogui/config/v5").V5Theme & Alias;
1022
+ light_yellow: import("@hanzogui/config/v5").V5Theme & Alias;
1023
+ light_green: import("@hanzogui/config/v5").V5Theme & Alias;
1024
+ light_orange: import("@hanzogui/config/v5").V5Theme & Alias;
1025
+ light_pink: import("@hanzogui/config/v5").V5Theme & Alias;
1026
+ light_purple: import("@hanzogui/config/v5").V5Theme & Alias;
1027
+ light_teal: import("@hanzogui/config/v5").V5Theme & Alias;
1028
+ light_neutral: import("@hanzogui/config/v5").V5Theme & Alias;
1029
+ dark_black: import("@hanzogui/config/v5").V5Theme & Alias;
1030
+ dark_white: import("@hanzogui/config/v5").V5Theme & Alias;
1031
+ dark_gray: import("@hanzogui/config/v5").V5Theme & Alias;
1032
+ dark_blue: import("@hanzogui/config/v5").V5Theme & Alias;
1033
+ dark_red: import("@hanzogui/config/v5").V5Theme & Alias;
1034
+ dark_yellow: import("@hanzogui/config/v5").V5Theme & Alias;
1035
+ dark_green: import("@hanzogui/config/v5").V5Theme & Alias;
1036
+ dark_orange: import("@hanzogui/config/v5").V5Theme & Alias;
1037
+ dark_pink: import("@hanzogui/config/v5").V5Theme & Alias;
1038
+ dark_purple: import("@hanzogui/config/v5").V5Theme & Alias;
1039
+ dark_teal: import("@hanzogui/config/v5").V5Theme & Alias;
1040
+ dark_neutral: import("@hanzogui/config/v5").V5Theme & Alias;
1041
+ light_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
1042
+ light_white_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
1043
+ light_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
1044
+ light_white_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
1045
+ dark_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
1046
+ dark_black_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
1047
+ dark_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
1048
+ dark_black_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
1049
+ light_black_accent: import("@hanzogui/config/v5").V5Theme & Alias;
1050
+ light_black_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
1051
+ light_black_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
1052
+ light_white_accent: import("@hanzogui/config/v5").V5Theme & Alias;
1053
+ light_gray_accent: import("@hanzogui/config/v5").V5Theme & Alias;
1054
+ light_gray_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
1055
+ light_gray_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
1056
+ light_blue_accent: import("@hanzogui/config/v5").V5Theme & Alias;
1057
+ light_blue_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
1058
+ light_blue_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
1059
+ light_red_accent: import("@hanzogui/config/v5").V5Theme & Alias;
1060
+ light_red_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
1061
+ light_red_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
1062
+ light_yellow_accent: import("@hanzogui/config/v5").V5Theme & Alias;
1063
+ light_yellow_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
1064
+ light_yellow_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
1065
+ light_green_accent: import("@hanzogui/config/v5").V5Theme & Alias;
1066
+ light_green_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
1067
+ light_green_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
1068
+ light_orange_accent: import("@hanzogui/config/v5").V5Theme & Alias;
1069
+ light_orange_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
1070
+ light_orange_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
1071
+ light_pink_accent: import("@hanzogui/config/v5").V5Theme & Alias;
1072
+ light_pink_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
1073
+ light_pink_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
1074
+ light_purple_accent: import("@hanzogui/config/v5").V5Theme & Alias;
1075
+ light_purple_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
1076
+ light_purple_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
1077
+ light_teal_accent: import("@hanzogui/config/v5").V5Theme & Alias;
1078
+ light_teal_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
1079
+ light_teal_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
1080
+ light_neutral_accent: import("@hanzogui/config/v5").V5Theme & Alias;
1081
+ light_neutral_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
1082
+ light_neutral_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
1083
+ dark_black_accent: import("@hanzogui/config/v5").V5Theme & Alias;
1084
+ dark_white_accent: import("@hanzogui/config/v5").V5Theme & Alias;
1085
+ dark_white_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
1086
+ dark_white_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
1087
+ dark_gray_accent: import("@hanzogui/config/v5").V5Theme & Alias;
1088
+ dark_gray_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
1089
+ dark_gray_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
1090
+ dark_blue_accent: import("@hanzogui/config/v5").V5Theme & Alias;
1091
+ dark_blue_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
1092
+ dark_blue_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
1093
+ dark_red_accent: import("@hanzogui/config/v5").V5Theme & Alias;
1094
+ dark_red_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
1095
+ dark_red_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
1096
+ dark_yellow_accent: import("@hanzogui/config/v5").V5Theme & Alias;
1097
+ dark_yellow_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
1098
+ dark_yellow_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
1099
+ dark_green_accent: import("@hanzogui/config/v5").V5Theme & Alias;
1100
+ dark_green_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
1101
+ dark_green_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
1102
+ dark_orange_accent: import("@hanzogui/config/v5").V5Theme & Alias;
1103
+ dark_orange_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
1104
+ dark_orange_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
1105
+ dark_pink_accent: import("@hanzogui/config/v5").V5Theme & Alias;
1106
+ dark_pink_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
1107
+ dark_pink_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
1108
+ dark_purple_accent: import("@hanzogui/config/v5").V5Theme & Alias;
1109
+ dark_purple_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
1110
+ dark_purple_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
1111
+ dark_teal_accent: import("@hanzogui/config/v5").V5Theme & Alias;
1112
+ dark_teal_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
1113
+ dark_teal_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
1114
+ dark_neutral_accent: import("@hanzogui/config/v5").V5Theme & Alias;
1115
+ dark_neutral_surface1: import("@hanzogui/config/v5").V5Theme & Alias;
1116
+ dark_neutral_surface2: import("@hanzogui/config/v5").V5Theme & Alias;
1117
+ }, {
876
1118
  text: "textAlign";
877
1119
  b: "bottom";
878
1120
  bg: "backgroundColor";
@@ -1041,26 +1283,26 @@ export declare const monochrome: import("@hanzogui/web").GuiInternalConfig<{
1041
1283
  15: number | import("@hanzogui/web").Variable<any>;
1042
1284
  true: number | import("@hanzogui/web").Variable<any>;
1043
1285
  };
1044
- weight: {
1045
- 1: any;
1046
- 2: any;
1047
- 4: any;
1048
- 6: any;
1049
- 8: any;
1050
- 10: any;
1051
- 12: any;
1052
- 14: any;
1053
- 16: any;
1054
- 3: any;
1055
- 5: any;
1056
- 7: any;
1057
- 9: any;
1058
- 11: any;
1059
- 13: any;
1060
- 15: any;
1061
- true: any;
1062
- };
1063
1286
  letterSpacing: {
1287
+ 1: number | import("@hanzogui/web").Variable<any>;
1288
+ 2: number | import("@hanzogui/web").Variable<any>;
1289
+ 4: number | import("@hanzogui/web").Variable<any>;
1290
+ 6: number | import("@hanzogui/web").Variable<any>;
1291
+ 8: number | import("@hanzogui/web").Variable<any>;
1292
+ 10: number | import("@hanzogui/web").Variable<any>;
1293
+ 12: number | import("@hanzogui/web").Variable<any>;
1294
+ 14: number | import("@hanzogui/web").Variable<any>;
1295
+ 16: number | import("@hanzogui/web").Variable<any>;
1296
+ 3: number | import("@hanzogui/web").Variable<any>;
1297
+ 5: number | import("@hanzogui/web").Variable<any>;
1298
+ 7: number | import("@hanzogui/web").Variable<any>;
1299
+ 9: number | import("@hanzogui/web").Variable<any>;
1300
+ 11: number | import("@hanzogui/web").Variable<any>;
1301
+ 13: number | import("@hanzogui/web").Variable<any>;
1302
+ 15: number | import("@hanzogui/web").Variable<any>;
1303
+ true: number | import("@hanzogui/web").Variable<any>;
1304
+ };
1305
+ weight: {
1064
1306
  1: any;
1065
1307
  2: any;
1066
1308
  4: any;
@@ -1223,26 +1465,26 @@ export declare const monochrome: import("@hanzogui/web").GuiInternalConfig<{
1223
1465
  15: number | import("@hanzogui/web").Variable<any>;
1224
1466
  true: number | import("@hanzogui/web").Variable<any>;
1225
1467
  };
1226
- weight: {
1227
- 1: any;
1228
- 2: any;
1229
- 4: any;
1230
- 6: any;
1231
- 8: any;
1232
- 10: any;
1233
- 12: any;
1234
- 14: any;
1235
- 16: any;
1236
- 3: any;
1237
- 5: any;
1238
- 7: any;
1239
- 9: any;
1240
- 11: any;
1241
- 13: any;
1242
- 15: any;
1243
- true: any;
1244
- };
1245
1468
  letterSpacing: {
1469
+ 1: number | import("@hanzogui/web").Variable<any>;
1470
+ 2: number | import("@hanzogui/web").Variable<any>;
1471
+ 4: number | import("@hanzogui/web").Variable<any>;
1472
+ 6: number | import("@hanzogui/web").Variable<any>;
1473
+ 8: number | import("@hanzogui/web").Variable<any>;
1474
+ 10: number | import("@hanzogui/web").Variable<any>;
1475
+ 12: number | import("@hanzogui/web").Variable<any>;
1476
+ 14: number | import("@hanzogui/web").Variable<any>;
1477
+ 16: number | import("@hanzogui/web").Variable<any>;
1478
+ 3: number | import("@hanzogui/web").Variable<any>;
1479
+ 5: number | import("@hanzogui/web").Variable<any>;
1480
+ 7: number | import("@hanzogui/web").Variable<any>;
1481
+ 9: number | import("@hanzogui/web").Variable<any>;
1482
+ 11: number | import("@hanzogui/web").Variable<any>;
1483
+ 13: number | import("@hanzogui/web").Variable<any>;
1484
+ 15: number | import("@hanzogui/web").Variable<any>;
1485
+ true: number | import("@hanzogui/web").Variable<any>;
1486
+ };
1487
+ weight: {
1246
1488
  1: any;
1247
1489
  2: any;
1248
1490
  4: any;
@@ -1 +1 @@
1
- {"version":3,"file":"gui-config.d.ts","sourceRoot":"","sources":["../src/gui-config.ts"],"names":[],"mappings":"AAshBA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAKrB,CAAA;AAEF,MAAM,MAAM,IAAI,GAAG,OAAO,MAAM,CAAA"}
@@ -104,18 +104,60 @@ const LINE_HEIGHT = {
104
104
  4: `calc(22px * var(--type-scale, 1))`,
105
105
  5: `calc(22px * var(--type-scale, 1))`,
106
106
  6: `calc(24px * var(--type-scale, 1))`,
107
- 7: `calc(28px * var(--type-scale, 1))`,
108
- 8: `calc(32px * var(--type-scale, 1))`,
109
- 9: `calc(32px * var(--type-scale, 1))`,
110
- 10: `calc(38px * var(--type-scale, 1))`,
111
- 11: `calc(46px * var(--type-scale, 1))`,
112
- 12: `calc(54px * var(--type-scale, 1))`,
113
- 13: `calc(62px * var(--type-scale, 1))`,
114
- 14: `calc(70px * var(--type-scale, 1))`,
115
- 15: `calc(86px * var(--type-scale, 1))`,
116
- 16: `calc(102px * var(--type-scale, 1))`,
107
+ // Display leading TIGHTENS as size grows, which is the whole difference
108
+ // between type that is set and type that is merely large. Measured on
109
+ // hanzo.ai, whose typography this scale is meant to express: 40px sits on 40px
110
+ // (1.00) and 21px on 20px (0.95), while this table asked for 46px and 28px —
111
+ // 1.15 and 1.33. Leading a headline like body copy is what made every large
112
+ // rung read airy beside the marketing site.
113
+ //
114
+ // The body rungs above are NOT touched: 17px/24px is 1.41 here and 1.40 there,
115
+ // so reading sizes were already right and only the display end had drifted.
116
+ 7: `calc(22px * var(--type-scale, 1))`,
117
+ 8: `calc(28px * var(--type-scale, 1))`,
118
+ 9: `calc(28px * var(--type-scale, 1))`,
119
+ 10: `calc(34px * var(--type-scale, 1))`,
120
+ 11: `calc(42px * var(--type-scale, 1))`,
121
+ 12: `calc(50px * var(--type-scale, 1))`,
122
+ 13: `calc(58px * var(--type-scale, 1))`,
123
+ 14: `calc(66px * var(--type-scale, 1))`,
124
+ 15: `calc(82px * var(--type-scale, 1))`,
125
+ 16: `calc(98px * var(--type-scale, 1))`,
117
126
  true: `calc(20px * var(--type-scale, 1))`,
118
127
  };
128
+ /**
129
+ * Optical tracking — the other half of what makes hanzo.ai's headlines read as
130
+ * set rather than scaled.
131
+ *
132
+ * Measured there: −1px on 40px and −0.525px on 21px, both exactly −0.025em, and
133
+ * nothing at all below 21px. That is the classic optical rule — a face drawn for
134
+ * text has too much sidebearing when it is enlarged, and none to spare when it
135
+ * is small — and this package expressed none of it: `letterSpacing` appeared
136
+ * ZERO times in this config, so every rung shipped at the face's natural fit.
137
+ *
138
+ * Stated in `em` so one value serves the whole rung whatever `--type-scale` does
139
+ * to it; a px tracking would silently stop matching the moment a person changed
140
+ * the scale.
141
+ */
142
+ const TRACKING = {
143
+ 1: 0,
144
+ 2: 0,
145
+ 3: 0,
146
+ 4: 0,
147
+ 5: 0,
148
+ 6: 0,
149
+ 7: '-0.025em',
150
+ 8: '-0.025em',
151
+ 9: '-0.025em',
152
+ 10: '-0.025em',
153
+ 11: '-0.025em',
154
+ 12: '-0.025em',
155
+ 13: '-0.025em',
156
+ 14: '-0.025em',
157
+ 15: '-0.025em',
158
+ 16: '-0.025em',
159
+ true: 0,
160
+ };
119
161
  /** Radius — FOUR values, no more. 6 control · 8 input/row · 12 panel · pill.
120
162
  * The inherited ladder had thirteen spellings rendering ten values, including
121
163
  * three different spellings of "pill" (`{999}`, `{99}`, `$10`). `$10`+ IS the
@@ -285,6 +327,14 @@ const RING = { dark: 'rgb(255 255 255 / .40)', light: 'rgb(0 0 0 / .5)' };
285
327
  * the same instruction, so a surface keeps its relationship to whatever is
286
328
  * beneath it instead of needing a second table.
287
329
  */
330
+ /**
331
+ * The names the ramp answers to. One list, so the VALUES below and the TYPE the
332
+ * config is cast to cannot disagree — they are generated from this.
333
+ */
334
+ const ALIASES = [
335
+ 'sunken', 'panel', 'hover', 'edge', 'raised', 'rim',
336
+ 'bound', 'dim', 'faint', 'soft', 'quiet', 'ink',
337
+ ];
288
338
  const SURFACE = {
289
339
  dark: { base: 'rgb(255 255 255 / .03)', hover: 'rgb(255 255 255 / .06)', raised: 'rgb(255 255 255 / .12)' },
290
340
  light: { base: 'rgb(0 0 0 / .03)', hover: 'rgb(0 0 0 / .06)', raised: 'rgb(0 0 0 / .12)' },
@@ -413,11 +463,55 @@ const themes = Object.fromEntries(Object.entries(defaultConfig.themes).map(([nam
413
463
  color5: `var(--surface-3, ${SURFACE[s].raised})`,
414
464
  borderColor: `var(--border, ${EDGE[s]})`,
415
465
  color12: `var(--foreground, ${LABEL[s]})`,
466
+ // NAMES FOR THE RAMP, so a component can say what it means.
467
+ //
468
+ // `$color1..$color12` is a monotonic scale inherited from upstream.
469
+ // It says how light a value is and nothing about what it is FOR, so
470
+ // every component encoded its intent in a number and the intent was
471
+ // unreadable: `$color12` on a slider fill was the foreground rung
472
+ // doing a fill's job, and nobody could see that from the call site.
473
+ // Each name below resolves to exactly the rung it replaces, so
474
+ // adopting one changes no pixels — the value is identical, only the
475
+ // reason is now legible.
476
+ //
477
+ // The names avoid every custom property @hanzo/design publishes (300
478
+ // of them, checked). That is not tidiness: gui emits each THEME key
479
+ // as a bare `--<key>` at `:root.t_dark`, so a key called `muted`
480
+ // would shadow design's `--muted`, and pointing a key at the name it
481
+ // shadows is the self-reference that computes EMPTY — the defect
482
+ // that left `--border` blank and put a white hairline on every
483
+ // pricing card. A name is a namespace decision here, not a label.
484
+ //
485
+ // Verified: a key defined on the two ROOT themes resolves inside all
486
+ // 390 sub-themes (`dark_Button` reads it), so nothing nested needs a
487
+ // second declaration.
488
+ sunken: String(theme.color1),
489
+ panel: `var(--surface-1, ${SURFACE[s].base})`,
490
+ hover: `var(--surface-2, ${SURFACE[s].hover})`,
491
+ edge: `var(--border, ${EDGE[s]})`,
492
+ raised: `var(--surface-3, ${SURFACE[s].raised})`,
493
+ rim: String(theme.color6),
494
+ bound: String(theme.color7),
495
+ dim: String(theme.color8),
496
+ faint: String(theme.color9),
497
+ soft: String(theme.color10),
498
+ quiet: String(theme.color11),
499
+ ink: `var(--foreground, ${LABEL[s]})`,
416
500
  background: GROUND[s],
417
501
  color: `var(--foreground, ${LABEL[s]})`,
418
502
  placeholderColor: `var(--text-tertiary, ${MUTED[s]})`,
419
- accentBackground: `var(--primary, ${LOUD[s]})`,
420
- accentColor: `var(--primary-foreground, ${LOUD_LABEL[s]})`,
503
+ // The pair reads design's ACCENT, not its primary — the names match
504
+ // 1:1 and, decisively, so do the values: design publishes
505
+ // `--accent: #262626`, which is what Button's loud control already
506
+ // renders, while `--primary: #fafafa` is the white slab that control
507
+ // deliberately stopped being. Pointing at primary connects the knob
508
+ // and silently turns every accented control back into a glare;
509
+ // pointing at accent connects it and changes nothing until asked.
510
+ //
511
+ // It was pointed at primary before, and NOTHING read the pair, so
512
+ // the mismatch never showed: setting either name moved zero pixels.
513
+ accentBackground: `var(--accent, ${SURFACE[s].raised})`,
514
+ accentColor: `var(--accent-foreground, ${LABEL[s]})`,
421
515
  }
422
516
  : ringed,
423
517
  ];
@@ -493,8 +587,20 @@ const base = {
493
587
  },
494
588
  fonts: {
495
589
  ...defaultConfig.fonts,
496
- body: { ...defaultConfig.fonts.body, family: GEIST, size: asSizes(FONT_SIZE), lineHeight: asSizes(LINE_HEIGHT) },
497
- heading: { ...defaultConfig.fonts.heading, family: GEIST, size: asSizes(FONT_SIZE), lineHeight: asSizes(LINE_HEIGHT) },
590
+ body: {
591
+ ...defaultConfig.fonts.body,
592
+ family: GEIST,
593
+ size: asSizes(FONT_SIZE),
594
+ lineHeight: asSizes(LINE_HEIGHT),
595
+ letterSpacing: asSizes(TRACKING),
596
+ },
597
+ heading: {
598
+ ...defaultConfig.fonts.heading,
599
+ family: GEIST,
600
+ size: asSizes(FONT_SIZE),
601
+ lineHeight: asSizes(LINE_HEIGHT),
602
+ letterSpacing: asSizes(TRACKING),
603
+ },
498
604
  // `$mono` was NOT defined here, and gui emits NO class for a font token it
499
605
  // does not know — no warning, no fallback, a green build and text that is
500
606
  // simply not monospace. 260 `fontFamily="$mono"` call sites across 74 files