@frontile/theme 0.17.0 → 0.18.0-alpha.0
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/README.md +139 -0
- package/declarations/colors/config.d.ts +64 -0
- package/declarations/colors/contrast.d.ts +16 -0
- package/declarations/colors/palette-absolute.d.ts +8 -0
- package/declarations/colors/palette-dark.d.ts +123 -0
- package/declarations/colors/palette-light.d.ts +123 -0
- package/declarations/colors/palette.d.ts +123 -0
- package/declarations/colors/semantic.d.ts +7 -1
- package/declarations/colors/types.d.ts +321 -15
- package/declarations/colors/util.d.ts +6 -1
- package/declarations/colors.d.ts +2 -2
- package/declarations/components/avatar.d.ts +42 -42
- package/declarations/components/button.d.ts +254 -152
- package/declarations/components/chip.d.ts +62 -103
- package/declarations/components/close-button.d.ts +42 -50
- package/declarations/components/divider.d.ts +43 -10
- package/declarations/components/dropdown.d.ts +42 -1
- package/declarations/components/forms/forms-legacy.d.ts +496 -178
- package/declarations/components/forms/forms.d.ts +891 -822
- package/declarations/components/listbox.d.ts +88 -79
- package/declarations/components/notification-card.d.ts +41 -84
- package/declarations/components/notifications-container.d.ts +42 -17
- package/declarations/components/overlays.d.ts +172 -84
- package/declarations/components/popover.d.ts +43 -16
- package/declarations/components/progress-bar.d.ts +44 -104
- package/declarations/components/spinner.d.ts +44 -30
- package/declarations/components/table.d.ts +51 -132
- package/declarations/plugin/default-config.d.ts +63 -9
- package/declarations/plugin/overlays.d.ts +2 -6
- package/declarations/plugin/power-select.d.ts +1 -1
- package/declarations/plugin/resolve.d.ts +1 -2
- package/declarations/tw.d.ts +40 -1
- package/declarations/types.d.ts +29 -12
- package/dist/colors.js +1 -1
- package/dist/config-4CswsBlg.js +342 -0
- package/dist/config-4CswsBlg.js.map +1 -0
- package/dist/config-B3XkEtHW.js +377 -0
- package/dist/config-B3XkEtHW.js.map +1 -0
- package/dist/config-BpWBpuzR.js +335 -0
- package/dist/config-BpWBpuzR.js.map +1 -0
- package/dist/config-Cle59Y4k.js +523 -0
- package/dist/config-Cle59Y4k.js.map +1 -0
- package/dist/config-D0EoeVzn.js +388 -0
- package/dist/config-D0EoeVzn.js.map +1 -0
- package/dist/config-DBAavoE2.js +336 -0
- package/dist/config-DBAavoE2.js.map +1 -0
- package/dist/config-Oysuq2Z9.js +341 -0
- package/dist/config-Oysuq2Z9.js.map +1 -0
- package/dist/config-PYki2g7N.js +335 -0
- package/dist/config-PYki2g7N.js.map +1 -0
- package/dist/forms-legacy-15iy0KmK.js +1851 -0
- package/dist/forms-legacy-15iy0KmK.js.map +1 -0
- package/dist/forms-legacy-B-L2HELt.js +1881 -0
- package/dist/forms-legacy-B-L2HELt.js.map +1 -0
- package/dist/forms-legacy-BMIAioRi.js +1807 -0
- package/dist/forms-legacy-BMIAioRi.js.map +1 -0
- package/dist/forms-legacy-B_EygtyK.js +1763 -0
- package/dist/forms-legacy-B_EygtyK.js.map +1 -0
- package/dist/forms-legacy-CVLZ-9BG.js +1804 -0
- package/dist/forms-legacy-CVLZ-9BG.js.map +1 -0
- package/dist/forms-legacy-CuFc3hcn.js +1807 -0
- package/dist/forms-legacy-CuFc3hcn.js.map +1 -0
- package/dist/forms-legacy-DiKImAli.js +1809 -0
- package/dist/forms-legacy-DiKImAli.js.map +1 -0
- package/dist/forms-legacy-edWQVbZP.js +1809 -0
- package/dist/forms-legacy-edWQVbZP.js.map +1 -0
- package/dist/index.css +63 -0
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/dist/plugin.js +184 -128
- package/dist/plugin.js.map +1 -1
- package/dist/styles/font-faces.css +26 -0
- package/dist/styles/theme.css +48 -0
- package/dist/styles/typography.css +291 -0
- package/package.json +28 -23
- package/public/fonts/stix-two-text-italic-variable.woff2 +0 -0
- package/public/fonts/stix-two-text-variable.woff2 +0 -0
- package/src/index.css +63 -0
- package/src/styles/font-faces.css +26 -0
- package/src/styles/theme.css +48 -0
- package/src/styles/typography.css +291 -0
|
@@ -10,28 +10,334 @@ export type ColorScale = Partial<{
|
|
|
10
10
|
800: string;
|
|
11
11
|
900: string;
|
|
12
12
|
950: string;
|
|
13
|
-
foreground: string;
|
|
14
13
|
DEFAULT: string;
|
|
15
14
|
}> | string;
|
|
16
15
|
export type BaseColors = {
|
|
17
|
-
background: ColorScale;
|
|
18
|
-
foreground: ColorScale;
|
|
19
16
|
divider: ColorScale;
|
|
20
|
-
overlay: ColorScale;
|
|
21
17
|
focus: ColorScale;
|
|
22
|
-
content1: ColorScale;
|
|
23
|
-
content2: ColorScale;
|
|
24
|
-
content3: ColorScale;
|
|
25
|
-
content4: ColorScale;
|
|
26
|
-
};
|
|
27
|
-
export type ThemeColors = BaseColors & {
|
|
28
|
-
default: ColorScale;
|
|
29
|
-
primary: ColorScale;
|
|
30
|
-
success: ColorScale;
|
|
31
|
-
warning: ColorScale;
|
|
32
|
-
danger: ColorScale;
|
|
33
18
|
};
|
|
34
19
|
export type SemanticBaseColors = {
|
|
35
20
|
light: BaseColors;
|
|
36
21
|
dark: BaseColors;
|
|
37
22
|
};
|
|
23
|
+
export interface SemanticColorCategory {
|
|
24
|
+
subtle: string;
|
|
25
|
+
muted: string;
|
|
26
|
+
soft: string;
|
|
27
|
+
medium: string;
|
|
28
|
+
DEFAULT: string;
|
|
29
|
+
firm: string;
|
|
30
|
+
strong: string;
|
|
31
|
+
bolder: string;
|
|
32
|
+
boldest: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Optional on-color overrides for semantic color categories.
|
|
36
|
+
*
|
|
37
|
+
* On-colors are foreground/text colors used on semantic backgrounds.
|
|
38
|
+
* By default, they're auto-generated using WCAG contrast guidelines
|
|
39
|
+
* (resulting in either pure white or pure black).
|
|
40
|
+
*
|
|
41
|
+
* Use this type to override the auto-generated values with custom colors
|
|
42
|
+
* that match your brand or design requirements.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* // Override on-colors for brand
|
|
46
|
+
* const colors: Partial<ThemeColors> = {
|
|
47
|
+
* brand: {
|
|
48
|
+
* subtle: '#3b82f6',
|
|
49
|
+
* medium: '#1e40af',
|
|
50
|
+
* DEFAULT: '#1e40af'
|
|
51
|
+
* },
|
|
52
|
+
* 'on-brand': {
|
|
53
|
+
* subtle: '#ffffff',
|
|
54
|
+
* medium: '#e0f2ff', // Light blue tint instead of pure white
|
|
55
|
+
* DEFAULT: '#ffffff'
|
|
56
|
+
* }
|
|
57
|
+
* };
|
|
58
|
+
*/
|
|
59
|
+
export interface OnColorCategory {
|
|
60
|
+
subtle?: string;
|
|
61
|
+
soft?: string;
|
|
62
|
+
medium?: string;
|
|
63
|
+
strong?: string;
|
|
64
|
+
DEFAULT?: string;
|
|
65
|
+
}
|
|
66
|
+
export interface SurfaceOverlay {
|
|
67
|
+
subtle: string;
|
|
68
|
+
soft: string;
|
|
69
|
+
medium: string;
|
|
70
|
+
strong: string;
|
|
71
|
+
inverse: {
|
|
72
|
+
subtle: string;
|
|
73
|
+
soft: string;
|
|
74
|
+
medium: string;
|
|
75
|
+
strong: string;
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
export interface SurfaceSolid {
|
|
79
|
+
0: string;
|
|
80
|
+
1: string;
|
|
81
|
+
2: string;
|
|
82
|
+
3: string;
|
|
83
|
+
4: string;
|
|
84
|
+
5: string;
|
|
85
|
+
6: string;
|
|
86
|
+
7: string;
|
|
87
|
+
8: string;
|
|
88
|
+
9: string;
|
|
89
|
+
10: string;
|
|
90
|
+
11: string;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Surface color system defining background colors for UI containers.
|
|
94
|
+
*
|
|
95
|
+
* Surface tokens organize backgrounds into three categories:
|
|
96
|
+
* 1. **Roles**: Component context tokens (where in layout hierarchy)
|
|
97
|
+
* 2. **Solid**: Base 12-step gray scale (0-11) for surfaces
|
|
98
|
+
* 3. **Overlay**: Translucent layers for elevation and depth
|
|
99
|
+
*/
|
|
100
|
+
export interface SurfaceColors {
|
|
101
|
+
/**
|
|
102
|
+
* Translucent overlay system for elevation and depth.
|
|
103
|
+
*
|
|
104
|
+
* Provides translucent layers that stack on surface roles to convey elevation,
|
|
105
|
+
* interaction states, or visual depth without introducing chromatic tint.
|
|
106
|
+
*
|
|
107
|
+
* Standard overlays: Black translucent for darkening effect
|
|
108
|
+
* Inverse overlays: White translucent for lightening effect
|
|
109
|
+
*
|
|
110
|
+
* Use overlays to create hover states, elevated containers, or glass morphism
|
|
111
|
+
* effects while maintaining the base surface color.
|
|
112
|
+
*
|
|
113
|
+
* @example
|
|
114
|
+
* // Hover state on card
|
|
115
|
+
* <div className="bg-surface-card hover:bg-surface-overlay-subtle" />
|
|
116
|
+
*
|
|
117
|
+
* // Stacking overlays for depth
|
|
118
|
+
* <div className="bg-surface-solid-1 bg-surface-overlay-soft" />
|
|
119
|
+
*/
|
|
120
|
+
overlay: SurfaceOverlay;
|
|
121
|
+
/**
|
|
122
|
+
* Base 12-step achromatic scale (0-11) for surface backgrounds.
|
|
123
|
+
*
|
|
124
|
+
* Foundation for all surface roles, providing a consistent grayscale progression
|
|
125
|
+
* that inverts between themes to support the elevation-luminance principle.
|
|
126
|
+
*
|
|
127
|
+
* Light theme: 0 (white) → 11 (black) - darkening progression
|
|
128
|
+
* Dark theme: 0 (black) → 11 (white) - lightening progression
|
|
129
|
+
*
|
|
130
|
+
* The scale is bidirectional and theme-agnostic. Surface roles typically
|
|
131
|
+
* reference steps 0-3, while higher steps (4-11) are available for custom
|
|
132
|
+
* surface needs and direct usage.
|
|
133
|
+
*
|
|
134
|
+
* @example
|
|
135
|
+
* // Using solid scale directly
|
|
136
|
+
* bg-surface-solid-0 // Extreme anchor: white (light) or black (dark)
|
|
137
|
+
* bg-surface-solid-1 // Near-white (light) or near-black (dark)
|
|
138
|
+
* bg-surface-solid-11 // Opposite extreme: black (light) or white (dark)
|
|
139
|
+
*/
|
|
140
|
+
solid: SurfaceSolid;
|
|
141
|
+
/**
|
|
142
|
+
* Root application background layer (hierarchy level 0).
|
|
143
|
+
*
|
|
144
|
+
* The foundational surface for the entire application. Navigation and other
|
|
145
|
+
* UI elements float transparently over this layer.
|
|
146
|
+
*
|
|
147
|
+
* Both themes: Near-white (light) or near-black (dark)
|
|
148
|
+
*
|
|
149
|
+
* @example
|
|
150
|
+
* // App shell root
|
|
151
|
+
* <div className="bg-surface-app min-h-screen">
|
|
152
|
+
* <TransparentNav />
|
|
153
|
+
* <main className="bg-surface-canvas">
|
|
154
|
+
* <AppContent />
|
|
155
|
+
* </main>
|
|
156
|
+
* </div>
|
|
157
|
+
*
|
|
158
|
+
* @example
|
|
159
|
+
* // Full-viewport base layer
|
|
160
|
+
* <body className="bg-surface-app">
|
|
161
|
+
*/
|
|
162
|
+
app: string;
|
|
163
|
+
/**
|
|
164
|
+
* Primary application/page background (hierarchy level 1).
|
|
165
|
+
*
|
|
166
|
+
* Component contrast baseline that provides visual separation from the app layer.
|
|
167
|
+
* Main content area where components and UI elements are placed.
|
|
168
|
+
*
|
|
169
|
+
* Light: Near-white gray canvas
|
|
170
|
+
* Dark: Dark gray canvas
|
|
171
|
+
*
|
|
172
|
+
* @example
|
|
173
|
+
* // Main content area
|
|
174
|
+
* <div className="bg-surface-canvas">
|
|
175
|
+
* <AppContent />
|
|
176
|
+
* </div>
|
|
177
|
+
*
|
|
178
|
+
* @example
|
|
179
|
+
* // Page container
|
|
180
|
+
* <main className="bg-surface-canvas min-h-screen">
|
|
181
|
+
*/
|
|
182
|
+
canvas: string;
|
|
183
|
+
/**
|
|
184
|
+
* Elevated card container surface (hierarchy level 1).
|
|
185
|
+
*
|
|
186
|
+
* Creates visual elevation for content containers like product cards,
|
|
187
|
+
* article previews, and content blocks. Appears lifted off the canvas
|
|
188
|
+
* through the elevation-luminance principle.
|
|
189
|
+
*
|
|
190
|
+
* Light: Pure white, creating lifted appearance against gray canvas
|
|
191
|
+
* Dark: Medium gray, lighter than canvas for elevation
|
|
192
|
+
*
|
|
193
|
+
* @example
|
|
194
|
+
* // Product card
|
|
195
|
+
* <article className="bg-surface-card rounded-lg border border-neutral-subtle p-6">
|
|
196
|
+
* <h2>Product Title</h2>
|
|
197
|
+
* <p>Description...</p>
|
|
198
|
+
* </article>
|
|
199
|
+
*
|
|
200
|
+
* @example
|
|
201
|
+
* // Content block with hover state
|
|
202
|
+
* <div className="bg-surface-card hover:bg-surface-overlay-subtle">
|
|
203
|
+
*/
|
|
204
|
+
card: string;
|
|
205
|
+
/**
|
|
206
|
+
* Sidebar and panel container surface (hierarchy level 1).
|
|
207
|
+
*
|
|
208
|
+
* Used for navigation sidebars, inspector panels, and tool palettes.
|
|
209
|
+
* Provides consistent container background for grouped sections.
|
|
210
|
+
*
|
|
211
|
+
* Light: Pure white, elevated appearance
|
|
212
|
+
* Dark: Dark gray, slight elevation above canvas
|
|
213
|
+
*
|
|
214
|
+
* @example
|
|
215
|
+
* // Navigation sidebar
|
|
216
|
+
* <aside className="bg-surface-panel border-r border-neutral-subtle">
|
|
217
|
+
* <nav>...</nav>
|
|
218
|
+
* </aside>
|
|
219
|
+
*
|
|
220
|
+
* @example
|
|
221
|
+
* // Inspector panel
|
|
222
|
+
* <div className="bg-surface-panel p-4">
|
|
223
|
+
* <h3>Properties</h3>
|
|
224
|
+
* </div>
|
|
225
|
+
*/
|
|
226
|
+
panel: string;
|
|
227
|
+
/**
|
|
228
|
+
* Popover and tooltip container surface (hierarchy level 2).
|
|
229
|
+
*
|
|
230
|
+
* Used for dropdown menus, tooltips, context menus, and toast notifications.
|
|
231
|
+
* Provides higher elevation than cards for floating UI elements.
|
|
232
|
+
*
|
|
233
|
+
* Light: Pure white, high elevation
|
|
234
|
+
* Dark: Medium gray, lighter than card for higher elevation
|
|
235
|
+
*
|
|
236
|
+
* @example
|
|
237
|
+
* // Dropdown menu
|
|
238
|
+
* <div className="bg-surface-popover rounded-md shadow-lg border border-neutral-subtle">
|
|
239
|
+
* <MenuItem />
|
|
240
|
+
* </div>
|
|
241
|
+
*
|
|
242
|
+
* @example
|
|
243
|
+
* // Tooltip
|
|
244
|
+
* <div className="bg-surface-popover px-2 py-1 rounded text-sm">
|
|
245
|
+
* Helpful tip
|
|
246
|
+
* </div>
|
|
247
|
+
*/
|
|
248
|
+
popover: string;
|
|
249
|
+
/**
|
|
250
|
+
* Recessed surface for inputs, wells, and embedded content (hierarchy level -1).
|
|
251
|
+
*
|
|
252
|
+
* Context-adaptive overlay that always darkens relative to its parent surface
|
|
253
|
+
* via alpha compositing. Used for text inputs, search fields, code blocks,
|
|
254
|
+
* and embedded content that should appear recessed.
|
|
255
|
+
*
|
|
256
|
+
* Works on any surface: Translucent black overlay that darkens the parent
|
|
257
|
+
* surface, creating a consistent recessed appearance across all contexts.
|
|
258
|
+
*
|
|
259
|
+
* @example
|
|
260
|
+
* // Text input
|
|
261
|
+
* <input className="bg-surface-inset border border-neutral-medium rounded px-3 py-2" />
|
|
262
|
+
*
|
|
263
|
+
* @example
|
|
264
|
+
* // Code block
|
|
265
|
+
* <pre className="bg-surface-inset rounded-md p-4">
|
|
266
|
+
* <code>const example = true;</code>
|
|
267
|
+
* </pre>
|
|
268
|
+
*
|
|
269
|
+
* @example
|
|
270
|
+
* // Search field
|
|
271
|
+
* <div className="bg-surface-inset rounded-full px-4 py-2">
|
|
272
|
+
* <input type="search" />
|
|
273
|
+
* </div>
|
|
274
|
+
*/
|
|
275
|
+
inset: string;
|
|
276
|
+
/**
|
|
277
|
+
* Modal and drawer container surface, highest elevation (hierarchy level 3).
|
|
278
|
+
*
|
|
279
|
+
* Used for modal dialogs, drawers, and other overlay content that floats
|
|
280
|
+
* above all other surfaces. Appears with a scrim backdrop to focus attention.
|
|
281
|
+
*
|
|
282
|
+
* Light: Pure white, highest elevation
|
|
283
|
+
* Dark: Medium gray, lightest surface for maximum elevation
|
|
284
|
+
*
|
|
285
|
+
* @example
|
|
286
|
+
* // Modal dialog
|
|
287
|
+
* <div className="bg-surface-overlay-content rounded-lg shadow-2xl p-6">
|
|
288
|
+
* <h2>Confirm Action</h2>
|
|
289
|
+
* <p>Are you sure?</p>
|
|
290
|
+
* </div>
|
|
291
|
+
*
|
|
292
|
+
* @example
|
|
293
|
+
* // Drawer with backdrop
|
|
294
|
+
* <div className="fixed inset-0 bg-surface-overlay-strong">
|
|
295
|
+
* <aside className="bg-surface-overlay-content h-full w-80">
|
|
296
|
+
* <DrawerContent />
|
|
297
|
+
* </aside>
|
|
298
|
+
* </div>
|
|
299
|
+
*/
|
|
300
|
+
overlayContent: string;
|
|
301
|
+
}
|
|
302
|
+
export interface ThemeColors {
|
|
303
|
+
neutral: SemanticColorCategory;
|
|
304
|
+
brand: SemanticColorCategory;
|
|
305
|
+
accent: SemanticColorCategory;
|
|
306
|
+
success: SemanticColorCategory;
|
|
307
|
+
warning: SemanticColorCategory;
|
|
308
|
+
danger: SemanticColorCategory;
|
|
309
|
+
surface: SurfaceColors;
|
|
310
|
+
'on-neutral'?: OnColorCategory;
|
|
311
|
+
'on-brand'?: OnColorCategory;
|
|
312
|
+
'on-accent'?: OnColorCategory;
|
|
313
|
+
'on-success'?: OnColorCategory;
|
|
314
|
+
'on-warning'?: OnColorCategory;
|
|
315
|
+
'on-danger'?: OnColorCategory;
|
|
316
|
+
/**
|
|
317
|
+
* Optional on-color overrides for surface-solid colors.
|
|
318
|
+
*
|
|
319
|
+
* Surface-solid has numeric keys (0-11), so on-colors follow the same pattern.
|
|
320
|
+
*
|
|
321
|
+
* @example
|
|
322
|
+
* // Override specific surface-solid on-colors
|
|
323
|
+
* 'on-surface-solid': {
|
|
324
|
+
* 0: '#000000', // Text color on surface-solid-0
|
|
325
|
+
* 5: '#ffffff', // Text color on surface-solid-5
|
|
326
|
+
* 11: '#ffffff' // Text color on surface-solid-11
|
|
327
|
+
* }
|
|
328
|
+
*/
|
|
329
|
+
'on-surface-solid'?: {
|
|
330
|
+
0?: string;
|
|
331
|
+
1?: string;
|
|
332
|
+
2?: string;
|
|
333
|
+
3?: string;
|
|
334
|
+
4?: string;
|
|
335
|
+
5?: string;
|
|
336
|
+
6?: string;
|
|
337
|
+
7?: string;
|
|
338
|
+
8?: string;
|
|
339
|
+
9?: string;
|
|
340
|
+
10?: string;
|
|
341
|
+
11?: string;
|
|
342
|
+
};
|
|
343
|
+
}
|
|
@@ -1,2 +1,7 @@
|
|
|
1
1
|
declare function swapColorValues<T extends Record<string, unknown>>(colors: T): Record<string, unknown>;
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Get optimal contrasting color (black or white) for text on a given background.
|
|
4
|
+
* Uses WCAG contrast ratios to determine which provides better readability.
|
|
5
|
+
*/
|
|
6
|
+
declare function getContrastingColor(backgroundColor: string): string;
|
|
7
|
+
export { swapColorValues, getContrastingColor };
|
package/declarations/colors.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './colors/
|
|
2
|
-
export * from './colors/
|
|
1
|
+
export * from './colors/palette';
|
|
2
|
+
export * from './colors/config';
|
|
3
3
|
export type * from './colors/types';
|
|
@@ -25,26 +25,48 @@ declare const avatar: import("tailwind-variants").TVReturnType<{
|
|
|
25
25
|
base: string[];
|
|
26
26
|
img: string;
|
|
27
27
|
name: string[];
|
|
28
|
-
}, undefined,
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
28
|
+
}, undefined, {
|
|
29
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
30
|
+
size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
31
|
+
shape?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
32
|
+
} | undefined;
|
|
33
|
+
} & import("tailwind-variants/dist/config.js").TWMConfig & {
|
|
34
|
+
twMerge: true;
|
|
35
|
+
twMergeConfig: {
|
|
36
|
+
readonly extend: {
|
|
37
|
+
readonly classGroups: {
|
|
38
|
+
readonly 'icon-size': readonly [{
|
|
39
|
+
readonly 'size-icon': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
40
|
+
}];
|
|
41
|
+
readonly 'border-w': readonly [{
|
|
42
|
+
readonly border: readonly ["thin", "heavy", "aggressive"];
|
|
43
|
+
}];
|
|
44
|
+
readonly rounded: readonly [{
|
|
45
|
+
readonly rounded: readonly ["default", "pill"];
|
|
46
|
+
}];
|
|
47
|
+
readonly shadow: readonly [{
|
|
48
|
+
readonly 'shadow-elevation': string[];
|
|
49
|
+
}];
|
|
50
|
+
readonly opacity: readonly [{
|
|
51
|
+
readonly opacity: readonly ["hover", "disabled"];
|
|
52
|
+
}];
|
|
53
|
+
readonly 'font-size': readonly [{
|
|
54
|
+
readonly 'text-marquee': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
55
|
+
}, {
|
|
56
|
+
readonly 'text-header': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
57
|
+
}, {
|
|
58
|
+
readonly 'text-body': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
59
|
+
}, {
|
|
60
|
+
readonly 'text-code': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
61
|
+
}, {
|
|
62
|
+
readonly 'text-caption': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
63
|
+
}, {
|
|
64
|
+
readonly 'text-label': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
65
|
+
}];
|
|
66
|
+
};
|
|
67
|
+
readonly conflictingClassGroups: {
|
|
68
|
+
readonly 'icon-size': readonly ["w", "h", "size"];
|
|
69
|
+
};
|
|
48
70
|
};
|
|
49
71
|
};
|
|
50
72
|
}, {
|
|
@@ -69,28 +91,6 @@ declare const avatar: import("tailwind-variants").TVReturnType<{
|
|
|
69
91
|
base: string;
|
|
70
92
|
};
|
|
71
93
|
};
|
|
72
|
-
}>, {
|
|
73
|
-
shape: {
|
|
74
|
-
square: string;
|
|
75
|
-
circle: string;
|
|
76
|
-
};
|
|
77
|
-
size: {
|
|
78
|
-
xs: {
|
|
79
|
-
base: string;
|
|
80
|
-
};
|
|
81
|
-
sm: {
|
|
82
|
-
base: string;
|
|
83
|
-
};
|
|
84
|
-
md: {
|
|
85
|
-
base: string;
|
|
86
|
-
};
|
|
87
|
-
lg: {
|
|
88
|
-
base: string;
|
|
89
|
-
};
|
|
90
|
-
xl: {
|
|
91
|
-
base: string;
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
94
|
}, {
|
|
95
95
|
base: string[];
|
|
96
96
|
img: string;
|