@hanzo/ui 8.1.9 → 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.
- package/dist/backends/gui/accordion.cjs +2 -2
- package/dist/backends/gui/accordion.js +2 -2
- package/dist/backends/gui/accordion.js.map +1 -1
- package/dist/backends/gui/alert-dialog.cjs +1 -1
- package/dist/backends/gui/alert-dialog.js +1 -1
- package/dist/backends/gui/alert-dialog.js.map +1 -1
- package/dist/backends/gui/avatar.cjs +1 -1
- package/dist/backends/gui/avatar.js +1 -1
- package/dist/backends/gui/avatar.js.map +1 -1
- package/dist/backends/gui/badge.cjs +12 -12
- package/dist/backends/gui/badge.js +12 -12
- package/dist/backends/gui/badge.js.map +1 -1
- package/dist/backends/gui/button.cjs +34 -17
- package/dist/backends/gui/button.d.ts.map +1 -1
- package/dist/backends/gui/button.js +34 -17
- package/dist/backends/gui/button.js.map +1 -1
- package/dist/backends/gui/card.cjs +3 -3
- package/dist/backends/gui/card.d.ts.map +1 -1
- package/dist/backends/gui/card.js +3 -3
- package/dist/backends/gui/card.js.map +1 -1
- package/dist/backends/gui/checkbox.cjs +7 -1
- package/dist/backends/gui/checkbox.d.ts.map +1 -1
- package/dist/backends/gui/checkbox.js +7 -1
- package/dist/backends/gui/checkbox.js.map +1 -1
- package/dist/backends/gui/collapsible.cjs +1 -1
- package/dist/backends/gui/collapsible.js +1 -1
- package/dist/backends/gui/collapsible.js.map +1 -1
- package/dist/backends/gui/command.cjs +3 -3
- package/dist/backends/gui/command.js +3 -3
- package/dist/backends/gui/command.js.map +1 -1
- package/dist/backends/gui/context-menu.cjs +7 -7
- package/dist/backends/gui/context-menu.d.ts.map +1 -1
- package/dist/backends/gui/context-menu.js +7 -7
- package/dist/backends/gui/context-menu.js.map +1 -1
- package/dist/backends/gui/dialog.cjs +1 -1
- package/dist/backends/gui/dialog.js +1 -1
- package/dist/backends/gui/dialog.js.map +1 -1
- package/dist/backends/gui/dropdown-menu.cjs +7 -7
- package/dist/backends/gui/dropdown-menu.d.ts.map +1 -1
- package/dist/backends/gui/dropdown-menu.js +7 -7
- package/dist/backends/gui/dropdown-menu.js.map +1 -1
- package/dist/backends/gui/glass.cjs +2 -2
- package/dist/backends/gui/glass.d.ts +2 -2
- package/dist/backends/gui/glass.js +2 -2
- package/dist/backends/gui/hover-card.cjs +1 -1
- package/dist/backends/gui/hover-card.js +1 -1
- package/dist/backends/gui/hover-card.js.map +1 -1
- package/dist/backends/gui/input.cjs +1 -1
- package/dist/backends/gui/input.js +1 -1
- package/dist/backends/gui/input.js.map +1 -1
- package/dist/backends/gui/label.cjs +1 -1
- package/dist/backends/gui/label.js +1 -1
- package/dist/backends/gui/label.js.map +1 -1
- package/dist/backends/gui/popover.cjs +1 -1
- package/dist/backends/gui/popover.js +1 -1
- package/dist/backends/gui/popover.js.map +1 -1
- package/dist/backends/gui/progress.cjs +6 -1
- package/dist/backends/gui/progress.d.ts.map +1 -1
- package/dist/backends/gui/progress.js +6 -1
- package/dist/backends/gui/progress.js.map +1 -1
- package/dist/backends/gui/radio-group.cjs +8 -2
- package/dist/backends/gui/radio-group.d.ts.map +1 -1
- package/dist/backends/gui/radio-group.js +8 -2
- package/dist/backends/gui/radio-group.js.map +1 -1
- package/dist/backends/gui/resizable.cjs +1 -1
- package/dist/backends/gui/resizable.js +1 -1
- package/dist/backends/gui/resizable.js.map +1 -1
- package/dist/backends/gui/select.cjs +3 -3
- package/dist/backends/gui/select.js +3 -3
- package/dist/backends/gui/select.js.map +1 -1
- package/dist/backends/gui/slider.cjs +4 -4
- package/dist/backends/gui/slider.d.ts.map +1 -1
- package/dist/backends/gui/slider.js +4 -4
- package/dist/backends/gui/slider.js.map +1 -1
- package/dist/backends/gui/switch.cjs +8 -0
- package/dist/backends/gui/switch.d.ts +8 -0
- package/dist/backends/gui/switch.d.ts.map +1 -1
- package/dist/backends/gui/switch.js +8 -0
- package/dist/backends/gui/switch.js.map +1 -1
- package/dist/backends/gui/tabs.cjs +2 -2
- package/dist/backends/gui/tabs.js +2 -2
- package/dist/backends/gui/tabs.js.map +1 -1
- package/dist/backends/gui/textarea.cjs +1 -1
- package/dist/backends/gui/textarea.js +1 -1
- package/dist/backends/gui/textarea.js.map +1 -1
- package/dist/backends/gui/toggle-group.cjs +6 -6
- package/dist/backends/gui/toggle-group.js +6 -6
- package/dist/backends/gui/toggle-group.js.map +1 -1
- package/dist/backends/gui/tooltip.cjs +1 -1
- package/dist/backends/gui/tooltip.js +1 -1
- package/dist/backends/gui/tooltip.js.map +1 -1
- package/dist/chat/Code.cjs +1 -1
- package/dist/chat/Code.js +1 -1
- package/dist/chat/Code.js.map +1 -1
- package/dist/chat/Composer.cjs +1 -1
- package/dist/chat/Composer.js +1 -1
- package/dist/chat/Composer.js.map +1 -1
- package/dist/chat/Failure.cjs +1 -1
- package/dist/chat/Failure.js +1 -1
- package/dist/chat/Failure.js.map +1 -1
- package/dist/chat/Header.cjs +2 -2
- package/dist/chat/Header.js +2 -2
- package/dist/chat/Header.js.map +1 -1
- package/dist/chat/Message.cjs +3 -3
- package/dist/chat/Message.js +3 -3
- package/dist/chat/Message.js.map +1 -1
- package/dist/chat/Sidebar.cjs +14 -8
- package/dist/chat/Sidebar.d.ts.map +1 -1
- package/dist/chat/Sidebar.js +14 -8
- package/dist/chat/Sidebar.js.map +1 -1
- package/dist/chat/Sources.cjs +2 -2
- package/dist/chat/Sources.js +2 -2
- package/dist/chat/Sources.js.map +1 -1
- package/dist/chat/Step.cjs +6 -6
- package/dist/chat/Step.js +6 -6
- package/dist/chat/Step.js.map +1 -1
- package/dist/chat/Thread.cjs +8 -1
- package/dist/chat/Thread.d.ts.map +1 -1
- package/dist/chat/Thread.js +8 -1
- package/dist/chat/Thread.js.map +1 -1
- package/dist/gallery.cjs +36 -4
- package/dist/gallery.d.ts.map +1 -1
- package/dist/gallery.html +95 -72
- package/dist/gallery.js +37 -5
- package/dist/gallery.js.map +1 -1
- package/dist/gui-config.cjs +136 -15
- package/dist/gui-config.d.ts +320 -78
- package/dist/gui-config.d.ts.map +1 -1
- package/dist/gui-config.js +136 -15
- package/dist/gui-config.js.map +1 -1
- package/dist/product/AppHeader.cjs +2 -2
- package/dist/product/AppHeader.js +2 -2
- package/dist/product/AppHeader.js.map +1 -1
- package/dist/product/BackendState.cjs +1 -1
- package/dist/product/BackendState.js +1 -1
- package/dist/product/BackendState.js.map +1 -1
- package/dist/product/Charts.cjs +4 -4
- package/dist/product/Charts.js +4 -4
- package/dist/product/Charts.js.map +1 -1
- package/dist/product/ComboBox.cjs +1 -1
- package/dist/product/ComboBox.js +1 -1
- package/dist/product/ComboBox.js.map +1 -1
- package/dist/product/ConfirmDelete.cjs +1 -1
- package/dist/product/ConfirmDelete.js +1 -1
- package/dist/product/ConfirmDelete.js.map +1 -1
- package/dist/product/CopyButton.cjs +2 -2
- package/dist/product/CopyButton.js +2 -2
- package/dist/product/CopyButton.js.map +1 -1
- package/dist/product/DataTable.cjs +6 -6
- package/dist/product/DataTable.js +6 -6
- package/dist/product/DataTable.js.map +1 -1
- package/dist/product/EmptyState.cjs +1 -1
- package/dist/product/EmptyState.js +1 -1
- package/dist/product/EmptyState.js.map +1 -1
- package/dist/product/Field.cjs +2 -2
- package/dist/product/Field.js +2 -2
- package/dist/product/Field.js.map +1 -1
- package/dist/product/Fieldset.cjs +2 -2
- package/dist/product/Fieldset.js +2 -2
- package/dist/product/Fieldset.js.map +1 -1
- package/dist/product/Filters.cjs +3 -3
- package/dist/product/Filters.js +3 -3
- package/dist/product/Filters.js.map +1 -1
- package/dist/product/MenuRow.cjs +2 -2
- package/dist/product/MenuRow.d.ts +1 -1
- package/dist/product/MenuRow.d.ts.map +1 -1
- package/dist/product/MenuRow.js +2 -2
- package/dist/product/MenuRow.js.map +1 -1
- package/dist/product/Metric.cjs +4 -4
- package/dist/product/Metric.js +4 -4
- package/dist/product/Metric.js.map +1 -1
- package/dist/product/OrgMark.cjs +2 -2
- package/dist/product/OrgMark.js +2 -2
- package/dist/product/OrgMark.js.map +1 -1
- package/dist/product/OrgSwitcher.cjs +6 -6
- package/dist/product/OrgSwitcher.js +6 -6
- package/dist/product/OrgSwitcher.js.map +1 -1
- package/dist/product/PageHeader.cjs +1 -1
- package/dist/product/PageHeader.js +1 -1
- package/dist/product/PageHeader.js.map +1 -1
- package/dist/product/Pagination.cjs +1 -1
- package/dist/product/Pagination.js +1 -1
- package/dist/product/Pagination.js.map +1 -1
- package/dist/product/Palette.cjs +2 -2
- package/dist/product/Palette.js +2 -2
- package/dist/product/Palette.js.map +1 -1
- package/dist/product/ProductIcon.cjs +2 -2
- package/dist/product/ProductIcon.js +2 -2
- package/dist/product/ProductIcon.js.map +1 -1
- package/dist/product/ProviderLogo.cjs +4 -4
- package/dist/product/ProviderLogo.js +4 -4
- package/dist/product/ProviderLogo.js.map +1 -1
- package/dist/product/SecretInput.cjs +1 -1
- package/dist/product/SecretInput.js +1 -1
- package/dist/product/SecretInput.js.map +1 -1
- package/dist/product/SelectMenu.cjs +1 -1
- package/dist/product/SelectMenu.js +1 -1
- package/dist/product/SelectMenu.js.map +1 -1
- package/dist/product/SiteFooter.cjs +4 -4
- package/dist/product/SiteFooter.js +4 -4
- package/dist/product/SiteFooter.js.map +1 -1
- package/dist/product/SiteNav.cjs +13 -13
- package/dist/product/SiteNav.js +13 -13
- package/dist/product/SiteNav.js.map +1 -1
- package/dist/product/SlideOver.cjs +2 -2
- package/dist/product/SlideOver.js +2 -2
- package/dist/product/SlideOver.js.map +1 -1
- package/dist/product/Toast.cjs +2 -2
- package/dist/product/Toast.js +2 -2
- package/dist/product/Toast.js.map +1 -1
- package/dist/product/UserMenu.cjs +3 -3
- package/dist/product/UserMenu.js +3 -3
- package/dist/product/UserMenu.js.map +1 -1
- package/dist/product/Workbench.cjs +3 -3
- package/dist/product/Workbench.js +3 -3
- package/dist/product/Workbench.js.map +1 -1
- package/dist/product/color.d.ts +1 -1
- package/dist/product/menu/items.cjs +4 -4
- package/dist/product/menu/items.d.ts +3 -3
- package/dist/product/menu/items.js +4 -4
- package/dist/product/menu/items.js.map +1 -1
- package/dist/product/social/CampaignCard.cjs +1 -1
- package/dist/product/social/CampaignCard.js +1 -1
- package/dist/product/social/CampaignCard.js.map +1 -1
- package/dist/product/social/ChannelBadge.cjs +1 -1
- package/dist/product/social/ChannelBadge.js +1 -1
- package/dist/product/social/ChannelBadge.js.map +1 -1
- package/dist/product/social/PostAgenda.cjs +1 -1
- package/dist/product/social/PostAgenda.js +1 -1
- package/dist/product/social/PostAgenda.js.map +1 -1
- package/dist/product/social/PostCard.cjs +1 -1
- package/dist/product/social/PostCard.js +1 -1
- package/dist/product/social/PostCard.js.map +1 -1
- package/dist/product/social/PostComposer.cjs +1 -1
- package/dist/product/social/PostComposer.js +1 -1
- package/dist/product/social/PostComposer.js.map +1 -1
- package/dist/product/social/ProviderReadinessList.cjs +1 -1
- package/dist/product/social/ProviderReadinessList.js +1 -1
- package/dist/product/social/ProviderReadinessList.js.map +1 -1
- package/dist/product/social/SocialResource.cjs +1 -1
- package/dist/product/social/SocialResource.js +1 -1
- package/dist/product/social/SocialResource.js.map +1 -1
- package/dist/product/social/SocialSummaryBar.cjs +1 -1
- package/dist/product/social/SocialSummaryBar.js +1 -1
- package/dist/product/social/SocialSummaryBar.js.map +1 -1
- package/dist/product/social/ViewToggle.cjs +1 -1
- package/dist/product/social/ViewToggle.js +1 -1
- package/dist/product/social/ViewToggle.js.map +1 -1
- package/dist/product/tone.cjs +4 -4
- package/dist/product/tone.d.ts +9 -9
- package/dist/product/tone.js +4 -4
- package/dist/product/tone.js.map +1 -1
- package/dist/styles.css +85 -62
- package/package.json +2 -1
package/dist/gui-config.d.ts
CHANGED
|
@@ -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
|
-
},
|
|
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
|
-
},
|
|
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;
|
package/dist/gui-config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gui-config.d.ts","sourceRoot":"","sources":["../src/gui-config.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"gui-config.d.ts","sourceRoot":"","sources":["../src/gui-config.ts"],"names":[],"mappings":"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"}
|
package/dist/gui-config.js
CHANGED
|
@@ -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
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
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
|
|
@@ -190,6 +232,21 @@ const STEP = {
|
|
|
190
232
|
* whose whole meaning is "no space" does not need a knob to say so.
|
|
191
233
|
*/
|
|
192
234
|
const step = (px) => (px === 0 ? 0 : `calc(${px}px * var(--density, 1))`);
|
|
235
|
+
/**
|
|
236
|
+
* Radius, on the same terms as spacing — `--radius-scale` retunes every corner
|
|
237
|
+
* at once, so "softer" or "sharper" is one number a person sets rather than a
|
|
238
|
+
* table someone forks.
|
|
239
|
+
*
|
|
240
|
+
* A pill is exempt and that is not an oversight: 9999 is not a measurement, it
|
|
241
|
+
* is the instruction "however round it takes to be a capsule". Scaling it says
|
|
242
|
+
* nothing and a scale below 1 would visibly un-round a pill into a lozenge —
|
|
243
|
+
* the one shape in the set whose meaning is its shape.
|
|
244
|
+
*
|
|
245
|
+
* `@hanzo/appearance` already publishes `--radius-full`, so the knob it was
|
|
246
|
+
* writing for finally has something reading it.
|
|
247
|
+
*/
|
|
248
|
+
const round = (px) => px === 0 || px >= 9999 ? px : `calc(${px}px * var(--radius-scale, 1))`;
|
|
249
|
+
const rounded = Object.fromEntries(Object.entries(RADIUS).map(([k, v]) => [k, round(v)]));
|
|
193
250
|
const space = {};
|
|
194
251
|
for (const [k, v] of Object.entries(STEP)) {
|
|
195
252
|
space[`$${k}`] = step(v);
|
|
@@ -270,6 +327,14 @@ const RING = { dark: 'rgb(255 255 255 / .40)', light: 'rgb(0 0 0 / .5)' };
|
|
|
270
327
|
* the same instruction, so a surface keeps its relationship to whatever is
|
|
271
328
|
* beneath it instead of needing a second table.
|
|
272
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
|
+
];
|
|
273
338
|
const SURFACE = {
|
|
274
339
|
dark: { base: 'rgb(255 255 255 / .03)', hover: 'rgb(255 255 255 / .06)', raised: 'rgb(255 255 255 / .12)' },
|
|
275
340
|
light: { base: 'rgb(0 0 0 / .03)', hover: 'rgb(0 0 0 / .06)', raised: 'rgb(0 0 0 / .12)' },
|
|
@@ -398,11 +463,55 @@ const themes = Object.fromEntries(Object.entries(defaultConfig.themes).map(([nam
|
|
|
398
463
|
color5: `var(--surface-3, ${SURFACE[s].raised})`,
|
|
399
464
|
borderColor: `var(--border, ${EDGE[s]})`,
|
|
400
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]})`,
|
|
401
500
|
background: GROUND[s],
|
|
402
501
|
color: `var(--foreground, ${LABEL[s]})`,
|
|
403
502
|
placeholderColor: `var(--text-tertiary, ${MUTED[s]})`,
|
|
404
|
-
|
|
405
|
-
|
|
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]})`,
|
|
406
515
|
}
|
|
407
516
|
: ringed,
|
|
408
517
|
];
|
|
@@ -473,13 +582,25 @@ const base = {
|
|
|
473
582
|
settings: { ...defaultConfig.settings, shouldAddPrefersColorThemes: false },
|
|
474
583
|
tokens: {
|
|
475
584
|
...defaultConfig.tokens,
|
|
476
|
-
radius:
|
|
585
|
+
radius: rounded,
|
|
477
586
|
space,
|
|
478
587
|
},
|
|
479
588
|
fonts: {
|
|
480
589
|
...defaultConfig.fonts,
|
|
481
|
-
body: {
|
|
482
|
-
|
|
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
|
+
},
|
|
483
604
|
// `$mono` was NOT defined here, and gui emits NO class for a font token it
|
|
484
605
|
// does not know — no warning, no fallback, a green build and text that is
|
|
485
606
|
// simply not monospace. 260 `fontFamily="$mono"` call sites across 74 files
|