@voidable/theme 0.8.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/base.css +20 -0
- package/dist/base.min.css +1 -0
- package/dist/component-tokens.json +1015 -0
- package/dist/components/accordion.css +149 -0
- package/dist/components/accordion.min.css +1 -0
- package/dist/components/action-input.css +416 -0
- package/dist/components/action-input.min.css +1 -0
- package/dist/components/alert.css +151 -0
- package/dist/components/alert.min.css +1 -0
- package/dist/components/avatar.css +73 -0
- package/dist/components/avatar.min.css +1 -0
- package/dist/components/badge.css +108 -0
- package/dist/components/badge.min.css +1 -0
- package/dist/components/banner.css +149 -0
- package/dist/components/banner.min.css +1 -0
- package/dist/components/bar-chart.css +101 -0
- package/dist/components/bar-chart.min.css +1 -0
- package/dist/components/breadcrumbs.css +82 -0
- package/dist/components/breadcrumbs.min.css +1 -0
- package/dist/components/button.css +237 -0
- package/dist/components/button.min.css +1 -0
- package/dist/components/calendar.css +669 -0
- package/dist/components/calendar.min.css +1 -0
- package/dist/components/card.css +161 -0
- package/dist/components/card.min.css +1 -0
- package/dist/components/carousel.css +223 -0
- package/dist/components/carousel.min.css +1 -0
- package/dist/components/checkbox-group.css +68 -0
- package/dist/components/checkbox-group.min.css +1 -0
- package/dist/components/checkbox.css +169 -0
- package/dist/components/checkbox.min.css +1 -0
- package/dist/components/collapsible.css +152 -0
- package/dist/components/collapsible.min.css +1 -0
- package/dist/components/color-picker.css +364 -0
- package/dist/components/color-picker.min.css +1 -0
- package/dist/components/combobox.css +548 -0
- package/dist/components/combobox.min.css +1 -0
- package/dist/components/compose-input.css +117 -0
- package/dist/components/compose-input.min.css +1 -0
- package/dist/components/dialog.css +175 -0
- package/dist/components/dialog.min.css +1 -0
- package/dist/components/divider.css +84 -0
- package/dist/components/divider.min.css +1 -0
- package/dist/components/donut-chart.css +122 -0
- package/dist/components/donut-chart.min.css +1 -0
- package/dist/components/drawer.css +230 -0
- package/dist/components/drawer.min.css +1 -0
- package/dist/components/dropdown-menu.css +274 -0
- package/dist/components/dropdown-menu.min.css +1 -0
- package/dist/components/editable.css +141 -0
- package/dist/components/editable.min.css +1 -0
- package/dist/components/error-fallback.css +129 -0
- package/dist/components/error-fallback.min.css +1 -0
- package/dist/components/field.css +103 -0
- package/dist/components/field.min.css +1 -0
- package/dist/components/file-upload.css +156 -0
- package/dist/components/file-upload.min.css +1 -0
- package/dist/components/gauge.css +186 -0
- package/dist/components/gauge.min.css +1 -0
- package/dist/components/hamburger.css +114 -0
- package/dist/components/hamburger.min.css +1 -0
- package/dist/components/hover-card.css +220 -0
- package/dist/components/hover-card.min.css +1 -0
- package/dist/components/indicator.css +159 -0
- package/dist/components/indicator.min.css +1 -0
- package/dist/components/input.css +134 -0
- package/dist/components/input.min.css +1 -0
- package/dist/components/line-chart.css +157 -0
- package/dist/components/line-chart.min.css +1 -0
- package/dist/components/list.css +90 -0
- package/dist/components/list.min.css +1 -0
- package/dist/components/menu.css +208 -0
- package/dist/components/menu.min.css +1 -0
- package/dist/components/multiselect.css +397 -0
- package/dist/components/multiselect.min.css +1 -0
- package/dist/components/nav-bar.css +75 -0
- package/dist/components/nav-bar.min.css +1 -0
- package/dist/components/nav-menu.css +173 -0
- package/dist/components/nav-menu.min.css +1 -0
- package/dist/components/number-input.css +272 -0
- package/dist/components/number-input.min.css +1 -0
- package/dist/components/pagination.css +128 -0
- package/dist/components/pagination.min.css +1 -0
- package/dist/components/panel.css +96 -0
- package/dist/components/panel.min.css +1 -0
- package/dist/components/pin-input.css +185 -0
- package/dist/components/pin-input.min.css +1 -0
- package/dist/components/popover.css +227 -0
- package/dist/components/popover.min.css +1 -0
- package/dist/components/progress.css +148 -0
- package/dist/components/progress.min.css +1 -0
- package/dist/components/radio-group.css +64 -0
- package/dist/components/radio-group.min.css +1 -0
- package/dist/components/radio.css +174 -0
- package/dist/components/radio.min.css +1 -0
- package/dist/components/scroll-area.css +83 -0
- package/dist/components/scroll-area.min.css +1 -0
- package/dist/components/segmented-control.css +158 -0
- package/dist/components/segmented-control.min.css +1 -0
- package/dist/components/select.css +207 -0
- package/dist/components/select.min.css +1 -0
- package/dist/components/sidebar.css +62 -0
- package/dist/components/sidebar.min.css +1 -0
- package/dist/components/skeleton.css +85 -0
- package/dist/components/skeleton.min.css +1 -0
- package/dist/components/slider.css +193 -0
- package/dist/components/slider.min.css +1 -0
- package/dist/components/spinner.css +100 -0
- package/dist/components/spinner.min.css +1 -0
- package/dist/components/stat.css +177 -0
- package/dist/components/stat.min.css +1 -0
- package/dist/components/status-dot.css +60 -0
- package/dist/components/status-dot.min.css +1 -0
- package/dist/components/stepper.css +114 -0
- package/dist/components/stepper.min.css +1 -0
- package/dist/components/switch.css +175 -0
- package/dist/components/switch.min.css +1 -0
- package/dist/components/table.css +416 -0
- package/dist/components/table.min.css +1 -0
- package/dist/components/tabs.css +185 -0
- package/dist/components/tabs.min.css +1 -0
- package/dist/components/tag.css +134 -0
- package/dist/components/tag.min.css +1 -0
- package/dist/components/tags-input.css +267 -0
- package/dist/components/tags-input.min.css +1 -0
- package/dist/components/textarea.css +127 -0
- package/dist/components/textarea.min.css +1 -0
- package/dist/components/toast.css +200 -0
- package/dist/components/toast.min.css +1 -0
- package/dist/components/toggle-group.css +59 -0
- package/dist/components/toggle-group.min.css +1 -0
- package/dist/components/toggle.css +139 -0
- package/dist/components/toggle.min.css +1 -0
- package/dist/components/tooltip.css +221 -0
- package/dist/components/tooltip.min.css +1 -0
- package/dist/core.css +9657 -0
- package/dist/core.min.css +1 -0
- package/dist/dtcg/aurora.dark.tokens.json +4723 -0
- package/dist/dtcg/aurora.light.tokens.json +4723 -0
- package/dist/dtcg/capsule.dark.tokens.json +4723 -0
- package/dist/dtcg/capsule.light.tokens.json +4723 -0
- package/dist/dtcg/console.dark.tokens.json +4723 -0
- package/dist/dtcg/console.light.tokens.json +4723 -0
- package/dist/dtcg/dune.dark.tokens.json +4723 -0
- package/dist/dtcg/dune.light.tokens.json +4723 -0
- package/dist/dtcg/iris.dark.tokens.json +4723 -0
- package/dist/dtcg/iris.light.tokens.json +4723 -0
- package/dist/dtcg/loft.dark.tokens.json +5203 -0
- package/dist/dtcg/loft.light.tokens.json +5203 -0
- package/dist/dtcg/orbit.dark.tokens.json +4723 -0
- package/dist/dtcg/orbit.light.tokens.json +4723 -0
- package/dist/dtcg/paper.dark.tokens.json +4723 -0
- package/dist/dtcg/paper.light.tokens.json +4723 -0
- package/dist/dtcg/slab.dark.tokens.json +4969 -0
- package/dist/dtcg/slab.light.tokens.json +4969 -0
- package/dist/dtcg/void.dark.tokens.json +4723 -0
- package/dist/dtcg/void.light.tokens.json +4723 -0
- package/dist/dtcg/voidable.resolver.json +117 -0
- package/dist/exports.json +708 -0
- package/dist/json/aurora.dark.json +394 -0
- package/dist/json/aurora.light.json +394 -0
- package/dist/json/capsule.dark.json +394 -0
- package/dist/json/capsule.light.json +394 -0
- package/dist/json/console.dark.json +394 -0
- package/dist/json/console.light.json +394 -0
- package/dist/json/dune.dark.json +394 -0
- package/dist/json/dune.light.json +394 -0
- package/dist/json/iris.dark.json +394 -0
- package/dist/json/iris.light.json +394 -0
- package/dist/json/loft.dark.json +423 -0
- package/dist/json/loft.light.json +423 -0
- package/dist/json/orbit.dark.json +394 -0
- package/dist/json/orbit.light.json +394 -0
- package/dist/json/paper.dark.json +394 -0
- package/dist/json/paper.light.json +394 -0
- package/dist/json/slab.dark.json +412 -0
- package/dist/json/slab.light.json +412 -0
- package/dist/json/void.dark.json +394 -0
- package/dist/json/void.light.json +394 -0
- package/dist/knobs.css +21 -0
- package/dist/knobs.json +362 -0
- package/dist/knobs.min.css +1 -0
- package/dist/layers.css +2 -0
- package/dist/layers.min.css +1 -0
- package/dist/names.d.ts +519 -0
- package/dist/names.js +719 -0
- package/dist/patterns/app-shell.css +136 -0
- package/dist/patterns/app-shell.min.css +1 -0
- package/dist/patterns/data.css +430 -0
- package/dist/patterns/data.min.css +1 -0
- package/dist/patterns/media.css +288 -0
- package/dist/patterns/media.min.css +1 -0
- package/dist/patterns/page.css +323 -0
- package/dist/patterns/page.min.css +1 -0
- package/dist/patterns/shell.css +328 -0
- package/dist/patterns/shell.min.css +1 -0
- package/dist/primitives.css +175 -0
- package/dist/primitives.min.css +1 -0
- package/dist/reset.css +44 -0
- package/dist/reset.min.css +1 -0
- package/dist/skin.d.ts +14 -0
- package/dist/skin.js +158 -0
- package/dist/skins/loft.css +94 -0
- package/dist/skins/loft.min.css +1 -0
- package/dist/skins/slab.css +99 -0
- package/dist/skins/slab.min.css +1 -0
- package/dist/themes/aurora.css +18 -0
- package/dist/themes/aurora.min.css +1 -0
- package/dist/themes/capsule.css +18 -0
- package/dist/themes/capsule.min.css +1 -0
- package/dist/themes/console.css +18 -0
- package/dist/themes/console.min.css +1 -0
- package/dist/themes/dune.css +18 -0
- package/dist/themes/dune.min.css +1 -0
- package/dist/themes/iris.css +18 -0
- package/dist/themes/iris.min.css +1 -0
- package/dist/themes/orbit.css +18 -0
- package/dist/themes/orbit.min.css +1 -0
- package/dist/themes/paper.css +19 -0
- package/dist/themes/paper.min.css +1 -0
- package/dist/themes/void.css +18 -0
- package/dist/themes/void.min.css +1 -0
- package/dist/tokens.css +695 -0
- package/dist/tokens.min.css +1 -0
- package/dist/type.css +99 -0
- package/dist/type.min.css +1 -0
- package/dist/void.css +9673 -0
- package/dist/void.min.css +1 -0
- package/package.json +1 -1
package/dist/names.js
ADDED
|
@@ -0,0 +1,719 @@
|
|
|
1
|
+
// Generated by scripts/export-tokens.mjs from the theme's CSS. Do not edit.
|
|
2
|
+
|
|
3
|
+
/** Every custom property the theme defines. */
|
|
4
|
+
export const tokenNames = [
|
|
5
|
+
'--void-stone-50',
|
|
6
|
+
'--void-stone-100',
|
|
7
|
+
'--void-stone-200',
|
|
8
|
+
'--void-stone-300',
|
|
9
|
+
'--void-stone-400',
|
|
10
|
+
'--void-stone-450',
|
|
11
|
+
'--void-stone-500',
|
|
12
|
+
'--void-stone-550',
|
|
13
|
+
'--void-stone-600',
|
|
14
|
+
'--void-stone-700',
|
|
15
|
+
'--void-stone-800',
|
|
16
|
+
'--void-stone-900',
|
|
17
|
+
'--void-stone-950',
|
|
18
|
+
'--void-red-50',
|
|
19
|
+
'--void-red-100',
|
|
20
|
+
'--void-red-200',
|
|
21
|
+
'--void-red-300',
|
|
22
|
+
'--void-red-400',
|
|
23
|
+
'--void-red-500',
|
|
24
|
+
'--void-red-600',
|
|
25
|
+
'--void-red-700',
|
|
26
|
+
'--void-red-800',
|
|
27
|
+
'--void-red-900',
|
|
28
|
+
'--void-red-950',
|
|
29
|
+
'--void-amber-50',
|
|
30
|
+
'--void-amber-100',
|
|
31
|
+
'--void-amber-200',
|
|
32
|
+
'--void-amber-300',
|
|
33
|
+
'--void-amber-400',
|
|
34
|
+
'--void-amber-500',
|
|
35
|
+
'--void-amber-600',
|
|
36
|
+
'--void-amber-700',
|
|
37
|
+
'--void-amber-800',
|
|
38
|
+
'--void-amber-900',
|
|
39
|
+
'--void-amber-950',
|
|
40
|
+
'--void-orange-50',
|
|
41
|
+
'--void-orange-100',
|
|
42
|
+
'--void-orange-200',
|
|
43
|
+
'--void-orange-300',
|
|
44
|
+
'--void-orange-400',
|
|
45
|
+
'--void-orange-500',
|
|
46
|
+
'--void-orange-600',
|
|
47
|
+
'--void-orange-700',
|
|
48
|
+
'--void-orange-800',
|
|
49
|
+
'--void-orange-900',
|
|
50
|
+
'--void-orange-950',
|
|
51
|
+
'--void-green-50',
|
|
52
|
+
'--void-green-100',
|
|
53
|
+
'--void-green-200',
|
|
54
|
+
'--void-green-300',
|
|
55
|
+
'--void-green-400',
|
|
56
|
+
'--void-green-500',
|
|
57
|
+
'--void-green-600',
|
|
58
|
+
'--void-green-700',
|
|
59
|
+
'--void-green-800',
|
|
60
|
+
'--void-green-900',
|
|
61
|
+
'--void-green-950',
|
|
62
|
+
'--void-blue-50',
|
|
63
|
+
'--void-blue-100',
|
|
64
|
+
'--void-blue-200',
|
|
65
|
+
'--void-blue-300',
|
|
66
|
+
'--void-blue-400',
|
|
67
|
+
'--void-blue-500',
|
|
68
|
+
'--void-blue-600',
|
|
69
|
+
'--void-blue-700',
|
|
70
|
+
'--void-blue-800',
|
|
71
|
+
'--void-blue-900',
|
|
72
|
+
'--void-blue-950',
|
|
73
|
+
'--void-purple-50',
|
|
74
|
+
'--void-purple-100',
|
|
75
|
+
'--void-purple-200',
|
|
76
|
+
'--void-purple-300',
|
|
77
|
+
'--void-purple-400',
|
|
78
|
+
'--void-purple-500',
|
|
79
|
+
'--void-purple-600',
|
|
80
|
+
'--void-purple-700',
|
|
81
|
+
'--void-purple-800',
|
|
82
|
+
'--void-purple-900',
|
|
83
|
+
'--void-purple-950',
|
|
84
|
+
'--void-pink-50',
|
|
85
|
+
'--void-pink-100',
|
|
86
|
+
'--void-pink-200',
|
|
87
|
+
'--void-pink-300',
|
|
88
|
+
'--void-pink-400',
|
|
89
|
+
'--void-pink-500',
|
|
90
|
+
'--void-pink-600',
|
|
91
|
+
'--void-pink-700',
|
|
92
|
+
'--void-pink-800',
|
|
93
|
+
'--void-pink-900',
|
|
94
|
+
'--void-pink-950',
|
|
95
|
+
'--void-black',
|
|
96
|
+
'--void-white',
|
|
97
|
+
'--void-dark-1',
|
|
98
|
+
'--void-dark-2',
|
|
99
|
+
'--void-dark-3',
|
|
100
|
+
'--void-dark-4',
|
|
101
|
+
'--void-weight-normal',
|
|
102
|
+
'--void-weight-medium',
|
|
103
|
+
'--void-weight-semibold',
|
|
104
|
+
'--void-weight-bold',
|
|
105
|
+
'--void-leading-display',
|
|
106
|
+
'--void-leading-none',
|
|
107
|
+
'--void-leading-snug',
|
|
108
|
+
'--void-leading-tight',
|
|
109
|
+
'--void-leading-normal',
|
|
110
|
+
'--void-leading-relaxed',
|
|
111
|
+
'--void-leading-loose',
|
|
112
|
+
'--void-tracking-tightest',
|
|
113
|
+
'--void-tracking-tighter',
|
|
114
|
+
'--void-tracking-tight',
|
|
115
|
+
'--void-tracking-snug',
|
|
116
|
+
'--void-tracking-normal',
|
|
117
|
+
'--void-tracking-wide',
|
|
118
|
+
'--void-tracking-wider',
|
|
119
|
+
'--void-tracking-widest',
|
|
120
|
+
'--void-radius-none',
|
|
121
|
+
'--void-duration-chart-enter',
|
|
122
|
+
'--void-stagger-chart-bars',
|
|
123
|
+
'--void-chart-stroke-none',
|
|
124
|
+
'--void-chart-stroke-hairline',
|
|
125
|
+
'--void-chart-stroke-thin',
|
|
126
|
+
'--void-chart-stroke-medium',
|
|
127
|
+
'--void-chart-stroke-thick',
|
|
128
|
+
'--void-ease-in',
|
|
129
|
+
'--void-ease-out',
|
|
130
|
+
'--void-ease-in-out',
|
|
131
|
+
'--void-z-dropdown',
|
|
132
|
+
'--void-z-sticky',
|
|
133
|
+
'--void-z-modal',
|
|
134
|
+
'--void-z-toast',
|
|
135
|
+
'--void-z-tooltip',
|
|
136
|
+
'--void-icon-stroke-width',
|
|
137
|
+
'--void-sidebar-width',
|
|
138
|
+
'--void-sidebar-collapsed-width',
|
|
139
|
+
'--void-accent-hue',
|
|
140
|
+
'--void-accent-chroma',
|
|
141
|
+
'--void-neutral-hue',
|
|
142
|
+
'--void-neutral-chroma',
|
|
143
|
+
'--void-page-tint',
|
|
144
|
+
'--void-contrast',
|
|
145
|
+
'--void-chrome',
|
|
146
|
+
'--void-radius',
|
|
147
|
+
'--void-density',
|
|
148
|
+
'--void-rhythm',
|
|
149
|
+
'--void-font-size',
|
|
150
|
+
'--void-font-sans',
|
|
151
|
+
'--void-font-mono',
|
|
152
|
+
'--void-anim-scale',
|
|
153
|
+
'--void-contrast-boost',
|
|
154
|
+
'--void-scrim-strength',
|
|
155
|
+
'--void-scrim-fade',
|
|
156
|
+
'--void-glass-blur',
|
|
157
|
+
'--void-glass-solid',
|
|
158
|
+
'--void-media-focal',
|
|
159
|
+
'--void-shape',
|
|
160
|
+
'--void-scheme-explicit',
|
|
161
|
+
'--void-color-scheme-explicit',
|
|
162
|
+
'--void-page-scheme-dark',
|
|
163
|
+
'--void-scheme-dark',
|
|
164
|
+
'--void-color-scheme',
|
|
165
|
+
'--void-contrast-level',
|
|
166
|
+
'--void-chrome-level',
|
|
167
|
+
'--void-page-level',
|
|
168
|
+
'--void-neutral-c',
|
|
169
|
+
'--void-fg',
|
|
170
|
+
'--void-alpha-muted',
|
|
171
|
+
'--void-alpha-secondary',
|
|
172
|
+
'--void-alpha-disabled',
|
|
173
|
+
'--void-alpha-control',
|
|
174
|
+
'--void-alpha-focus',
|
|
175
|
+
'--void-alpha-divider',
|
|
176
|
+
'--void-color-page',
|
|
177
|
+
'--void-color-bg',
|
|
178
|
+
'--void-color-surface',
|
|
179
|
+
'--void-color-bg-secondary',
|
|
180
|
+
'--void-color-bg-elevated',
|
|
181
|
+
'--void-color-control-fill',
|
|
182
|
+
'--void-color-bg-hover',
|
|
183
|
+
'--void-color-bg-active',
|
|
184
|
+
'--void-color-bg-accent',
|
|
185
|
+
'--void-color-bg-overlay',
|
|
186
|
+
'--void-color-text',
|
|
187
|
+
'--void-color-text-secondary',
|
|
188
|
+
'--void-color-text-muted',
|
|
189
|
+
'--void-color-text-tertiary',
|
|
190
|
+
'--void-color-text-disabled',
|
|
191
|
+
'--void-color-text-on-accent',
|
|
192
|
+
'--void-color-border',
|
|
193
|
+
'--void-color-border-strong',
|
|
194
|
+
'--void-color-border-control',
|
|
195
|
+
'--void-color-border-focus',
|
|
196
|
+
'--void-scrim-alpha',
|
|
197
|
+
'--void-color-scrim',
|
|
198
|
+
'--void-glass-alpha',
|
|
199
|
+
'--void-focus-ring-color',
|
|
200
|
+
'--void-focus-ring-width',
|
|
201
|
+
'--void-focus-ring-offset',
|
|
202
|
+
'--void-accent-c',
|
|
203
|
+
'--void-accent-l',
|
|
204
|
+
'--void-accent-shift',
|
|
205
|
+
'--void-color-accent',
|
|
206
|
+
'--void-color-accent-hover',
|
|
207
|
+
'--void-status-pole',
|
|
208
|
+
'--void-status-shift',
|
|
209
|
+
'--void-color-error',
|
|
210
|
+
'--void-color-warning',
|
|
211
|
+
'--void-color-caution',
|
|
212
|
+
'--void-color-success',
|
|
213
|
+
'--void-color-info',
|
|
214
|
+
'--void-color-notice',
|
|
215
|
+
'--void-color-highlight',
|
|
216
|
+
'--void-tone-tint',
|
|
217
|
+
'--void-color-error-subtle',
|
|
218
|
+
'--void-color-warning-subtle',
|
|
219
|
+
'--void-color-caution-subtle',
|
|
220
|
+
'--void-color-success-subtle',
|
|
221
|
+
'--void-color-info-subtle',
|
|
222
|
+
'--void-color-notice-subtle',
|
|
223
|
+
'--void-color-highlight-subtle',
|
|
224
|
+
'--void-shadow-sm',
|
|
225
|
+
'--void-shadow-md',
|
|
226
|
+
'--void-shadow-lg',
|
|
227
|
+
'--void-shadow-xl',
|
|
228
|
+
'--void-ring-hair',
|
|
229
|
+
'--void-ring-hair-strong',
|
|
230
|
+
'--void-space-unit',
|
|
231
|
+
'--void-space-0h',
|
|
232
|
+
'--void-space-1',
|
|
233
|
+
'--void-space-1h',
|
|
234
|
+
'--void-space-2',
|
|
235
|
+
'--void-space-2h',
|
|
236
|
+
'--void-space-3',
|
|
237
|
+
'--void-space-4',
|
|
238
|
+
'--void-space-5',
|
|
239
|
+
'--void-space-6',
|
|
240
|
+
'--void-space-7',
|
|
241
|
+
'--void-space-8',
|
|
242
|
+
'--void-space-9',
|
|
243
|
+
'--void-space-10',
|
|
244
|
+
'--void-space-12',
|
|
245
|
+
'--void-space-14',
|
|
246
|
+
'--void-space-15',
|
|
247
|
+
'--void-space-16',
|
|
248
|
+
'--void-space-20',
|
|
249
|
+
'--void-space-24',
|
|
250
|
+
'--void-space-28',
|
|
251
|
+
'--void-space-30',
|
|
252
|
+
'--void-space-32',
|
|
253
|
+
'--void-space-35',
|
|
254
|
+
'--void-space-40',
|
|
255
|
+
'--void-space-xs',
|
|
256
|
+
'--void-space-sm',
|
|
257
|
+
'--void-space-md',
|
|
258
|
+
'--void-space-lg',
|
|
259
|
+
'--void-space-xl',
|
|
260
|
+
'--void-spacing-xs',
|
|
261
|
+
'--void-spacing-sm',
|
|
262
|
+
'--void-spacing-md',
|
|
263
|
+
'--void-spacing-lg',
|
|
264
|
+
'--void-spacing-xl',
|
|
265
|
+
'--void-control-height-sm',
|
|
266
|
+
'--void-control-height',
|
|
267
|
+
'--void-control-height-lg',
|
|
268
|
+
'--void-control-padding-sm',
|
|
269
|
+
'--void-control-padding',
|
|
270
|
+
'--void-control-padding-lg',
|
|
271
|
+
'--void-control-text-sm',
|
|
272
|
+
'--void-control-text',
|
|
273
|
+
'--void-control-text-lg',
|
|
274
|
+
'--void-cell-padding-block',
|
|
275
|
+
'--void-cell-padding-inline',
|
|
276
|
+
'--void-container-padding',
|
|
277
|
+
'--void-gap-tight',
|
|
278
|
+
'--void-gap-inside',
|
|
279
|
+
'--void-gap-stack',
|
|
280
|
+
'--void-gap-group',
|
|
281
|
+
'--void-gap-section',
|
|
282
|
+
'--void-gutter',
|
|
283
|
+
'--void-measure',
|
|
284
|
+
'--void-measure-page',
|
|
285
|
+
'--void-page-inset',
|
|
286
|
+
'--void-text-2xs',
|
|
287
|
+
'--void-text-xs',
|
|
288
|
+
'--void-text-sm',
|
|
289
|
+
'--void-text-base',
|
|
290
|
+
'--void-text-md',
|
|
291
|
+
'--void-text-lg',
|
|
292
|
+
'--void-text-xl',
|
|
293
|
+
'--void-text-2xl',
|
|
294
|
+
'--void-text-3xl',
|
|
295
|
+
'--void-text-4xl',
|
|
296
|
+
'--void-text-5xl',
|
|
297
|
+
'--void-type-label-family',
|
|
298
|
+
'--void-type-label-size',
|
|
299
|
+
'--void-type-label-leading',
|
|
300
|
+
'--void-type-label-weight',
|
|
301
|
+
'--void-type-label-tracking',
|
|
302
|
+
'--void-type-label-case',
|
|
303
|
+
'--void-type-label-color',
|
|
304
|
+
'--void-type-value-family',
|
|
305
|
+
'--void-type-value-size',
|
|
306
|
+
'--void-type-value-size-sm',
|
|
307
|
+
'--void-type-value-size-lg',
|
|
308
|
+
'--void-type-value-leading',
|
|
309
|
+
'--void-type-value-weight',
|
|
310
|
+
'--void-type-value-tracking',
|
|
311
|
+
'--void-type-value-numeric',
|
|
312
|
+
'--void-type-value-color',
|
|
313
|
+
'--void-type-unit-family',
|
|
314
|
+
'--void-type-unit-size',
|
|
315
|
+
'--void-type-unit-weight',
|
|
316
|
+
'--void-type-unit-tracking',
|
|
317
|
+
'--void-type-unit-color',
|
|
318
|
+
'--void-type-caption-family',
|
|
319
|
+
'--void-type-caption-size',
|
|
320
|
+
'--void-type-caption-leading',
|
|
321
|
+
'--void-type-caption-weight',
|
|
322
|
+
'--void-type-caption-color',
|
|
323
|
+
'--void-type-heading-family',
|
|
324
|
+
'--void-type-heading-size',
|
|
325
|
+
'--void-type-heading-leading',
|
|
326
|
+
'--void-type-heading-weight',
|
|
327
|
+
'--void-type-heading-tracking',
|
|
328
|
+
'--void-type-heading-color',
|
|
329
|
+
'--void-type-title-family',
|
|
330
|
+
'--void-type-title-size',
|
|
331
|
+
'--void-type-title-leading',
|
|
332
|
+
'--void-type-title-weight',
|
|
333
|
+
'--void-type-title-tracking',
|
|
334
|
+
'--void-type-title-color',
|
|
335
|
+
'--void-type-display-family',
|
|
336
|
+
'--void-type-display-size',
|
|
337
|
+
'--void-type-display-leading',
|
|
338
|
+
'--void-type-display-weight',
|
|
339
|
+
'--void-type-display-tracking',
|
|
340
|
+
'--void-type-display-color',
|
|
341
|
+
'--void-type-lede-family',
|
|
342
|
+
'--void-type-lede-size',
|
|
343
|
+
'--void-type-lede-leading',
|
|
344
|
+
'--void-type-lede-weight',
|
|
345
|
+
'--void-type-lede-color',
|
|
346
|
+
'--void-type-body-family',
|
|
347
|
+
'--void-type-body-size',
|
|
348
|
+
'--void-type-body-leading',
|
|
349
|
+
'--void-type-body-weight',
|
|
350
|
+
'--void-type-body-color',
|
|
351
|
+
'--void-type-code-family',
|
|
352
|
+
'--void-type-code-size',
|
|
353
|
+
'--void-type-code-weight',
|
|
354
|
+
'--void-type-code-numeric',
|
|
355
|
+
'--void-type-code-color',
|
|
356
|
+
'--void-radius-base',
|
|
357
|
+
'--void-radius-xs',
|
|
358
|
+
'--void-radius-sm',
|
|
359
|
+
'--void-radius-md',
|
|
360
|
+
'--void-radius-lg',
|
|
361
|
+
'--void-radius-xl',
|
|
362
|
+
'--void-radius-full',
|
|
363
|
+
'--void-duration-fast',
|
|
364
|
+
'--void-duration-normal',
|
|
365
|
+
'--void-duration-slow',
|
|
366
|
+
'--void-container-surface',
|
|
367
|
+
'--void-container-border',
|
|
368
|
+
'--void-container-border-width',
|
|
369
|
+
'--void-container-radius',
|
|
370
|
+
'--void-container-shadow',
|
|
371
|
+
'--void-float-surface',
|
|
372
|
+
'--void-float-border',
|
|
373
|
+
'--void-float-border-width',
|
|
374
|
+
'--void-float-radius',
|
|
375
|
+
'--void-float-shadow',
|
|
376
|
+
'--void-control-radius',
|
|
377
|
+
'--void-control-border',
|
|
378
|
+
'--void-control-border-width',
|
|
379
|
+
'--void-field-surface',
|
|
380
|
+
'--void-field-border',
|
|
381
|
+
'--void-item-surface-selected',
|
|
382
|
+
'--void-item-ink-selected',
|
|
383
|
+
'--void-rule',
|
|
384
|
+
'--void-rule-between',
|
|
385
|
+
'--void-rule-edge',
|
|
386
|
+
'--void-rule-head',
|
|
387
|
+
'--void-rule-frame',
|
|
388
|
+
'--void-chart-series-1',
|
|
389
|
+
'--void-chart-series-2',
|
|
390
|
+
'--void-chart-series-3',
|
|
391
|
+
'--void-chart-series-4',
|
|
392
|
+
'--void-chart-series-5',
|
|
393
|
+
'--void-chart-series-6',
|
|
394
|
+
'--void-chart-grid',
|
|
395
|
+
'--void-chart-axis',
|
|
396
|
+
'--void-chart-tick-label',
|
|
397
|
+
];
|
|
398
|
+
|
|
399
|
+
/** The knobs: the inputs a theme sets. */
|
|
400
|
+
export const knobNames = [
|
|
401
|
+
'--void-accent-hue',
|
|
402
|
+
'--void-accent-chroma',
|
|
403
|
+
'--void-neutral-hue',
|
|
404
|
+
'--void-neutral-chroma',
|
|
405
|
+
'--void-page-tint',
|
|
406
|
+
'--void-contrast',
|
|
407
|
+
'--void-chrome',
|
|
408
|
+
'--void-radius',
|
|
409
|
+
'--void-density',
|
|
410
|
+
'--void-rhythm',
|
|
411
|
+
'--void-font-size',
|
|
412
|
+
'--void-font-sans',
|
|
413
|
+
'--void-font-mono',
|
|
414
|
+
'--void-anim-scale',
|
|
415
|
+
];
|
|
416
|
+
|
|
417
|
+
/** The shipped themes: values of the data-void-theme attribute. */
|
|
418
|
+
export const themeNames = [
|
|
419
|
+
'aurora',
|
|
420
|
+
'capsule',
|
|
421
|
+
'console',
|
|
422
|
+
'dune',
|
|
423
|
+
'iris',
|
|
424
|
+
'orbit',
|
|
425
|
+
'paper',
|
|
426
|
+
'void',
|
|
427
|
+
];
|
|
428
|
+
|
|
429
|
+
/** The shipped skins: values of the data-void-skin attribute. */
|
|
430
|
+
export const skinNames = [
|
|
431
|
+
'loft',
|
|
432
|
+
'slab',
|
|
433
|
+
];
|
|
434
|
+
|
|
435
|
+
/** The role tokens: what a kind of component is drawn with. A skin sets these first. */
|
|
436
|
+
export const roleTokenNames = [
|
|
437
|
+
'--void-container-padding',
|
|
438
|
+
'--void-container-surface',
|
|
439
|
+
'--void-container-border',
|
|
440
|
+
'--void-container-border-width',
|
|
441
|
+
'--void-container-radius',
|
|
442
|
+
'--void-container-shadow',
|
|
443
|
+
'--void-float-surface',
|
|
444
|
+
'--void-float-border',
|
|
445
|
+
'--void-float-border-width',
|
|
446
|
+
'--void-float-radius',
|
|
447
|
+
'--void-float-shadow',
|
|
448
|
+
'--void-control-radius',
|
|
449
|
+
'--void-control-border',
|
|
450
|
+
'--void-control-border-width',
|
|
451
|
+
'--void-field-surface',
|
|
452
|
+
'--void-field-border',
|
|
453
|
+
'--void-item-surface-selected',
|
|
454
|
+
'--void-item-ink-selected',
|
|
455
|
+
'--void-rule',
|
|
456
|
+
'--void-rule-between',
|
|
457
|
+
'--void-rule-edge',
|
|
458
|
+
'--void-rule-head',
|
|
459
|
+
'--void-rule-frame',
|
|
460
|
+
];
|
|
461
|
+
|
|
462
|
+
/** The component tokens: per-component override points. Never declared by the theme; set one where you need it. */
|
|
463
|
+
export const componentTokenNames = [
|
|
464
|
+
'--void-alert-border',
|
|
465
|
+
'--void-alert-border-width',
|
|
466
|
+
'--void-alert-radius',
|
|
467
|
+
'--void-badge-height',
|
|
468
|
+
'--void-badge-padding',
|
|
469
|
+
'--void-badge-font-size',
|
|
470
|
+
'--void-badge-radius',
|
|
471
|
+
'--void-badge-border',
|
|
472
|
+
'--void-button-height',
|
|
473
|
+
'--void-button-padding',
|
|
474
|
+
'--void-button-font-size',
|
|
475
|
+
'--void-button-font-weight',
|
|
476
|
+
'--void-button-radius',
|
|
477
|
+
'--void-button-border',
|
|
478
|
+
'--void-button-shadow',
|
|
479
|
+
'--void-card-surface',
|
|
480
|
+
'--void-card-border',
|
|
481
|
+
'--void-card-border-width',
|
|
482
|
+
'--void-card-radius',
|
|
483
|
+
'--void-card-shadow',
|
|
484
|
+
'--void-card-padding',
|
|
485
|
+
'--void-description-list-rule',
|
|
486
|
+
'--void-description-list-rule-edge',
|
|
487
|
+
'--void-dialog-radius',
|
|
488
|
+
'--void-dialog-shadow',
|
|
489
|
+
'--void-donut-chart-size',
|
|
490
|
+
'--void-figure-surface',
|
|
491
|
+
'--void-figure-radius',
|
|
492
|
+
'--void-figure-shadow',
|
|
493
|
+
'--void-figure-border',
|
|
494
|
+
'--void-figure-border-width',
|
|
495
|
+
'--void-figure-padding',
|
|
496
|
+
'--void-figures-gap',
|
|
497
|
+
'--void-figures-rule',
|
|
498
|
+
'--void-figures-rule-edge',
|
|
499
|
+
'--void-gauge-size',
|
|
500
|
+
'--void-list-rule',
|
|
501
|
+
'--void-list-item-surface-selected',
|
|
502
|
+
'--void-list-item-ink-selected',
|
|
503
|
+
'--void-nav-bar-surface',
|
|
504
|
+
'--void-nav-bar-rule',
|
|
505
|
+
'--void-nav-bar-shadow',
|
|
506
|
+
'--void-nav-links-item-surface-selected',
|
|
507
|
+
'--void-nav-links-item-ink-selected',
|
|
508
|
+
'--void-page-actions-surface',
|
|
509
|
+
'--void-page-actions-padding-block',
|
|
510
|
+
'--void-page-actions-padding-inline',
|
|
511
|
+
'--void-page-actions-radius',
|
|
512
|
+
'--void-page-actions-shadow',
|
|
513
|
+
'--void-page-actions-border',
|
|
514
|
+
'--void-page-actions-border-width',
|
|
515
|
+
'--void-page-head-rule',
|
|
516
|
+
'--void-page-head-padding',
|
|
517
|
+
'--void-pagination-size',
|
|
518
|
+
'--void-pagination-font-size',
|
|
519
|
+
'--void-panel-padding',
|
|
520
|
+
'--void-rows-rule',
|
|
521
|
+
'--void-rows-rule-edge',
|
|
522
|
+
'--void-rows-padding',
|
|
523
|
+
'--void-section-surface',
|
|
524
|
+
'--void-section-border',
|
|
525
|
+
'--void-section-border-width',
|
|
526
|
+
'--void-section-radius',
|
|
527
|
+
'--void-section-shadow',
|
|
528
|
+
'--void-section-padding',
|
|
529
|
+
'--void-section-rule',
|
|
530
|
+
'--void-sidebar-surface',
|
|
531
|
+
'--void-sidebar-rule',
|
|
532
|
+
'--void-stat-padding',
|
|
533
|
+
'--void-stat-value-font-size',
|
|
534
|
+
'--void-table-rule',
|
|
535
|
+
'--void-table-rule-head',
|
|
536
|
+
'--void-table-rule-edge',
|
|
537
|
+
'--void-table-surface',
|
|
538
|
+
'--void-table-padding-block',
|
|
539
|
+
'--void-table-padding-inline',
|
|
540
|
+
'--void-table-edge',
|
|
541
|
+
'--void-table-stack-at',
|
|
542
|
+
'--void-table-tile',
|
|
543
|
+
'--void-table-row-size',
|
|
544
|
+
'--void-table-fade',
|
|
545
|
+
'--void-table-sticky-top',
|
|
546
|
+
'--void-tabs-height',
|
|
547
|
+
'--void-tabs-padding',
|
|
548
|
+
'--void-tabs-font-size',
|
|
549
|
+
'--void-tabs-rule',
|
|
550
|
+
'--void-tag-height',
|
|
551
|
+
'--void-tag-padding',
|
|
552
|
+
'--void-tag-font-size',
|
|
553
|
+
'--void-tag-radius',
|
|
554
|
+
'--void-tag-border',
|
|
555
|
+
'--void-toast-shadow',
|
|
556
|
+
'--void-toggle-size',
|
|
557
|
+
'--void-toggle-font-size',
|
|
558
|
+
'--void-tooltip-surface',
|
|
559
|
+
'--void-tooltip-ink',
|
|
560
|
+
'--void-tooltip-border',
|
|
561
|
+
];
|
|
562
|
+
|
|
563
|
+
/** The component tokens of each component. */
|
|
564
|
+
export const componentTokens = {
|
|
565
|
+
"alert": [
|
|
566
|
+
"--void-alert-border",
|
|
567
|
+
"--void-alert-border-width",
|
|
568
|
+
"--void-alert-radius"
|
|
569
|
+
],
|
|
570
|
+
"badge": [
|
|
571
|
+
"--void-badge-height",
|
|
572
|
+
"--void-badge-padding",
|
|
573
|
+
"--void-badge-font-size",
|
|
574
|
+
"--void-badge-radius",
|
|
575
|
+
"--void-badge-border"
|
|
576
|
+
],
|
|
577
|
+
"button": [
|
|
578
|
+
"--void-button-height",
|
|
579
|
+
"--void-button-padding",
|
|
580
|
+
"--void-button-font-size",
|
|
581
|
+
"--void-button-font-weight",
|
|
582
|
+
"--void-button-radius",
|
|
583
|
+
"--void-button-border",
|
|
584
|
+
"--void-button-shadow"
|
|
585
|
+
],
|
|
586
|
+
"card": [
|
|
587
|
+
"--void-card-surface",
|
|
588
|
+
"--void-card-border",
|
|
589
|
+
"--void-card-border-width",
|
|
590
|
+
"--void-card-radius",
|
|
591
|
+
"--void-card-shadow",
|
|
592
|
+
"--void-card-padding"
|
|
593
|
+
],
|
|
594
|
+
"description-list": [
|
|
595
|
+
"--void-description-list-rule",
|
|
596
|
+
"--void-description-list-rule-edge"
|
|
597
|
+
],
|
|
598
|
+
"dialog": [
|
|
599
|
+
"--void-dialog-radius",
|
|
600
|
+
"--void-dialog-shadow"
|
|
601
|
+
],
|
|
602
|
+
"donut-chart": [
|
|
603
|
+
"--void-donut-chart-size"
|
|
604
|
+
],
|
|
605
|
+
"figure": [
|
|
606
|
+
"--void-figure-surface",
|
|
607
|
+
"--void-figure-radius",
|
|
608
|
+
"--void-figure-shadow",
|
|
609
|
+
"--void-figure-border",
|
|
610
|
+
"--void-figure-border-width",
|
|
611
|
+
"--void-figure-padding"
|
|
612
|
+
],
|
|
613
|
+
"figures": [
|
|
614
|
+
"--void-figures-gap",
|
|
615
|
+
"--void-figures-rule",
|
|
616
|
+
"--void-figures-rule-edge"
|
|
617
|
+
],
|
|
618
|
+
"gauge": [
|
|
619
|
+
"--void-gauge-size"
|
|
620
|
+
],
|
|
621
|
+
"list": [
|
|
622
|
+
"--void-list-rule",
|
|
623
|
+
"--void-list-item-surface-selected",
|
|
624
|
+
"--void-list-item-ink-selected"
|
|
625
|
+
],
|
|
626
|
+
"nav-bar": [
|
|
627
|
+
"--void-nav-bar-surface",
|
|
628
|
+
"--void-nav-bar-rule",
|
|
629
|
+
"--void-nav-bar-shadow"
|
|
630
|
+
],
|
|
631
|
+
"nav-links": [
|
|
632
|
+
"--void-nav-links-item-surface-selected",
|
|
633
|
+
"--void-nav-links-item-ink-selected"
|
|
634
|
+
],
|
|
635
|
+
"page": [
|
|
636
|
+
"--void-page-actions-surface",
|
|
637
|
+
"--void-page-actions-padding-block",
|
|
638
|
+
"--void-page-actions-padding-inline",
|
|
639
|
+
"--void-page-actions-radius",
|
|
640
|
+
"--void-page-actions-shadow",
|
|
641
|
+
"--void-page-actions-border",
|
|
642
|
+
"--void-page-actions-border-width"
|
|
643
|
+
],
|
|
644
|
+
"page-head": [
|
|
645
|
+
"--void-page-head-rule",
|
|
646
|
+
"--void-page-head-padding"
|
|
647
|
+
],
|
|
648
|
+
"pagination": [
|
|
649
|
+
"--void-pagination-size",
|
|
650
|
+
"--void-pagination-font-size"
|
|
651
|
+
],
|
|
652
|
+
"panel": [
|
|
653
|
+
"--void-panel-padding"
|
|
654
|
+
],
|
|
655
|
+
"rows": [
|
|
656
|
+
"--void-rows-rule",
|
|
657
|
+
"--void-rows-rule-edge",
|
|
658
|
+
"--void-rows-padding"
|
|
659
|
+
],
|
|
660
|
+
"section": [
|
|
661
|
+
"--void-section-surface",
|
|
662
|
+
"--void-section-border",
|
|
663
|
+
"--void-section-border-width",
|
|
664
|
+
"--void-section-radius",
|
|
665
|
+
"--void-section-shadow",
|
|
666
|
+
"--void-section-padding",
|
|
667
|
+
"--void-section-rule"
|
|
668
|
+
],
|
|
669
|
+
"sidebar": [
|
|
670
|
+
"--void-sidebar-surface",
|
|
671
|
+
"--void-sidebar-rule"
|
|
672
|
+
],
|
|
673
|
+
"stat": [
|
|
674
|
+
"--void-stat-padding",
|
|
675
|
+
"--void-stat-value-font-size"
|
|
676
|
+
],
|
|
677
|
+
"table": [
|
|
678
|
+
"--void-table-rule",
|
|
679
|
+
"--void-table-rule-head",
|
|
680
|
+
"--void-table-rule-edge",
|
|
681
|
+
"--void-table-surface",
|
|
682
|
+
"--void-table-padding-block",
|
|
683
|
+
"--void-table-padding-inline",
|
|
684
|
+
"--void-table-edge",
|
|
685
|
+
"--void-table-stack-at",
|
|
686
|
+
"--void-table-tile",
|
|
687
|
+
"--void-table-row-size",
|
|
688
|
+
"--void-table-fade",
|
|
689
|
+
"--void-table-sticky-top"
|
|
690
|
+
],
|
|
691
|
+
"tabs": [
|
|
692
|
+
"--void-tabs-height",
|
|
693
|
+
"--void-tabs-padding",
|
|
694
|
+
"--void-tabs-font-size",
|
|
695
|
+
"--void-tabs-rule"
|
|
696
|
+
],
|
|
697
|
+
"tag": [
|
|
698
|
+
"--void-tag-height",
|
|
699
|
+
"--void-tag-padding",
|
|
700
|
+
"--void-tag-font-size",
|
|
701
|
+
"--void-tag-radius",
|
|
702
|
+
"--void-tag-border"
|
|
703
|
+
],
|
|
704
|
+
"toast": [
|
|
705
|
+
"--void-toast-shadow"
|
|
706
|
+
],
|
|
707
|
+
"toggle": [
|
|
708
|
+
"--void-toggle-size",
|
|
709
|
+
"--void-toggle-font-size"
|
|
710
|
+
],
|
|
711
|
+
"tooltip": [
|
|
712
|
+
"--void-tooltip-surface",
|
|
713
|
+
"--void-tooltip-ink",
|
|
714
|
+
"--void-tooltip-border"
|
|
715
|
+
]
|
|
716
|
+
};
|
|
717
|
+
|
|
718
|
+
/** `var(--void-…)` for a token name. */
|
|
719
|
+
export const cssVar = (name) => `var(${name})`;
|