@2urgseui/core 0.1.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 +221 -0
- package/dist/chunk-VGPGVDCW.js +317 -0
- package/dist/index.cjs +5478 -0
- package/dist/index.d.cts +879 -0
- package/dist/index.d.ts +879 -0
- package/dist/index.js +4936 -0
- package/dist/styles.css +1 -0
- package/dist/tokens/index.cjs +350 -0
- package/dist/tokens/index.d.cts +315 -0
- package/dist/tokens/index.d.ts +315 -0
- package/dist/tokens/index.js +20 -0
- package/package.json +129 -0
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Breakpoints
|
|
3
|
+
*
|
|
4
|
+
* Semantic names map to the four primary viewport classes used across
|
|
5
|
+
* the design system. Tailwind min-width convention — styles apply at
|
|
6
|
+
* the named width and above.
|
|
7
|
+
*
|
|
8
|
+
* mobile 375px — handheld (iPhone SE and up)
|
|
9
|
+
* tablet 768px — tablet portrait and up
|
|
10
|
+
* desktop 1280px — laptop / standard PC
|
|
11
|
+
* wide 1920px — large external display / TV
|
|
12
|
+
*
|
|
13
|
+
* Numeric shorthands (xs → 2xl) are also exported for
|
|
14
|
+
* teams that prefer the compact notation.
|
|
15
|
+
*/
|
|
16
|
+
declare const breakpoints: {
|
|
17
|
+
readonly mobile: "375px";
|
|
18
|
+
readonly tablet: "768px";
|
|
19
|
+
readonly desktop: "1280px";
|
|
20
|
+
readonly wide: "1920px";
|
|
21
|
+
readonly xs: "375px";
|
|
22
|
+
readonly sm: "640px";
|
|
23
|
+
readonly md: "768px";
|
|
24
|
+
readonly lg: "1024px";
|
|
25
|
+
readonly xl: "1280px";
|
|
26
|
+
readonly "2xl": "1536px";
|
|
27
|
+
readonly "3xl": "1920px";
|
|
28
|
+
};
|
|
29
|
+
type Breakpoint = keyof typeof breakpoints;
|
|
30
|
+
|
|
31
|
+
declare const colors: {
|
|
32
|
+
readonly brand: {
|
|
33
|
+
readonly 50: "#f6faf0";
|
|
34
|
+
readonly 100: "#eef7e4";
|
|
35
|
+
readonly 200: "#d4ebbe";
|
|
36
|
+
readonly 300: "#bae09d";
|
|
37
|
+
readonly 400: "#7dc75d";
|
|
38
|
+
readonly 500: "#43b02b";
|
|
39
|
+
readonly 600: "#379e23";
|
|
40
|
+
readonly 700: "#2a8518";
|
|
41
|
+
readonly 800: "#1c690f";
|
|
42
|
+
readonly 900: "#124f09";
|
|
43
|
+
readonly 950: "#093304";
|
|
44
|
+
};
|
|
45
|
+
readonly neutral: {
|
|
46
|
+
readonly 0: "#ffffff";
|
|
47
|
+
readonly 50: "#f9fafb";
|
|
48
|
+
readonly 100: "#f3f4f6";
|
|
49
|
+
readonly 200: "#e5e7eb";
|
|
50
|
+
readonly 300: "#d1d5db";
|
|
51
|
+
readonly 400: "#9ca3af";
|
|
52
|
+
readonly 500: "#6b7280";
|
|
53
|
+
readonly 600: "#4b5563";
|
|
54
|
+
readonly 700: "#374151";
|
|
55
|
+
readonly 800: "#1f2937";
|
|
56
|
+
readonly 900: "#111827";
|
|
57
|
+
readonly 950: "#030712";
|
|
58
|
+
};
|
|
59
|
+
readonly success: {
|
|
60
|
+
readonly 50: "#f0fdf4";
|
|
61
|
+
readonly 100: "#dcfce7";
|
|
62
|
+
readonly 200: "#bbf7d0";
|
|
63
|
+
readonly 300: "#86efac";
|
|
64
|
+
readonly 400: "#4ade80";
|
|
65
|
+
readonly 500: "#22c55e";
|
|
66
|
+
readonly 600: "#16a34a";
|
|
67
|
+
readonly 700: "#15803d";
|
|
68
|
+
readonly 800: "#166534";
|
|
69
|
+
readonly 900: "#14532d";
|
|
70
|
+
};
|
|
71
|
+
readonly warning: {
|
|
72
|
+
readonly 50: "#fffbeb";
|
|
73
|
+
readonly 100: "#fef3c7";
|
|
74
|
+
readonly 200: "#fde68a";
|
|
75
|
+
readonly 300: "#fcd34d";
|
|
76
|
+
readonly 400: "#fbbf24";
|
|
77
|
+
readonly 500: "#f59e0b";
|
|
78
|
+
readonly 600: "#d97706";
|
|
79
|
+
readonly 700: "#b45309";
|
|
80
|
+
readonly 800: "#92400e";
|
|
81
|
+
readonly 900: "#78350f";
|
|
82
|
+
};
|
|
83
|
+
readonly error: {
|
|
84
|
+
readonly 50: "#fef2f2";
|
|
85
|
+
readonly 100: "#fee2e2";
|
|
86
|
+
readonly 200: "#fecaca";
|
|
87
|
+
readonly 300: "#fca5a5";
|
|
88
|
+
readonly 400: "#f87171";
|
|
89
|
+
readonly 500: "#ef4444";
|
|
90
|
+
readonly 600: "#dc2626";
|
|
91
|
+
readonly 700: "#b91c1c";
|
|
92
|
+
readonly 800: "#991b1b";
|
|
93
|
+
readonly 900: "#7f1d1d";
|
|
94
|
+
};
|
|
95
|
+
readonly info: {
|
|
96
|
+
readonly 50: "#eff6ff";
|
|
97
|
+
readonly 100: "#dbeafe";
|
|
98
|
+
readonly 200: "#bfdbfe";
|
|
99
|
+
readonly 300: "#93c5fd";
|
|
100
|
+
readonly 400: "#60a5fa";
|
|
101
|
+
readonly 500: "#3b82f6";
|
|
102
|
+
readonly 600: "#2563eb";
|
|
103
|
+
readonly 700: "#1d4ed8";
|
|
104
|
+
readonly 800: "#1e40af";
|
|
105
|
+
readonly 900: "#1e3a8a";
|
|
106
|
+
};
|
|
107
|
+
readonly accent: {
|
|
108
|
+
readonly 50: "#faf5ff";
|
|
109
|
+
readonly 100: "#f3e8ff";
|
|
110
|
+
readonly 200: "#e9d5ff";
|
|
111
|
+
readonly 300: "#d8b4fe";
|
|
112
|
+
readonly 400: "#c084fc";
|
|
113
|
+
readonly 500: "#a855f7";
|
|
114
|
+
readonly 600: "#9333ea";
|
|
115
|
+
readonly 700: "#7c3aed";
|
|
116
|
+
readonly 800: "#6b21a8";
|
|
117
|
+
readonly 900: "#581c87";
|
|
118
|
+
};
|
|
119
|
+
/** Resolved semantic aliases for light-UI usage (concrete colors, not path strings) */
|
|
120
|
+
readonly semantic: {
|
|
121
|
+
readonly primary: "#379e23";
|
|
122
|
+
readonly primaryHover: "#2a8518";
|
|
123
|
+
readonly primaryForeground: "#ffffff";
|
|
124
|
+
readonly secondary: "#f3f4f6";
|
|
125
|
+
readonly secondaryHover: "#e5e7eb";
|
|
126
|
+
readonly secondaryForeground: "#111827";
|
|
127
|
+
readonly success: "#16a34a";
|
|
128
|
+
readonly successForeground: "#f0fdf4";
|
|
129
|
+
readonly warning: "#d97706";
|
|
130
|
+
readonly warningForeground: "#fffbeb";
|
|
131
|
+
readonly error: "#dc2626";
|
|
132
|
+
readonly errorForeground: "#fef2f2";
|
|
133
|
+
readonly info: "#2563eb";
|
|
134
|
+
readonly infoForeground: "#eff6ff";
|
|
135
|
+
};
|
|
136
|
+
/**
|
|
137
|
+
* High-level color schemes for `class` dark mode (e.g. `html.light` / `html.dark` or `data-theme`).
|
|
138
|
+
* Use these to drive backgrounds, text, and surfaces instead of raw neutral steps.
|
|
139
|
+
*/
|
|
140
|
+
readonly schemes: {
|
|
141
|
+
readonly light: {
|
|
142
|
+
readonly background: "#ffffff";
|
|
143
|
+
readonly foreground: "#111827";
|
|
144
|
+
readonly card: "#ffffff";
|
|
145
|
+
readonly cardForeground: "#111827";
|
|
146
|
+
readonly popover: "#ffffff";
|
|
147
|
+
readonly popoverForeground: "#111827";
|
|
148
|
+
readonly primary: "#379e23";
|
|
149
|
+
readonly primaryForeground: "#ffffff";
|
|
150
|
+
readonly secondary: "#f3f4f6";
|
|
151
|
+
readonly secondaryForeground: "#111827";
|
|
152
|
+
readonly muted: "#f3f4f6";
|
|
153
|
+
readonly mutedForeground: "#4b5563";
|
|
154
|
+
readonly accent: "#f3f4f6";
|
|
155
|
+
readonly accentForeground: "#111827";
|
|
156
|
+
readonly destructive: "#dc2626";
|
|
157
|
+
readonly destructiveForeground: "#ffffff";
|
|
158
|
+
readonly success: "#16a34a";
|
|
159
|
+
readonly successForeground: "#f0fdf4";
|
|
160
|
+
readonly warning: "#d97706";
|
|
161
|
+
readonly warningForeground: "#78350f";
|
|
162
|
+
readonly error: "#dc2626";
|
|
163
|
+
readonly errorForeground: "#fef2f2";
|
|
164
|
+
readonly info: "#2563eb";
|
|
165
|
+
readonly infoForeground: "#eff6ff";
|
|
166
|
+
readonly border: "#e5e7eb";
|
|
167
|
+
readonly input: "#e5e7eb";
|
|
168
|
+
readonly ring: "#43b02b";
|
|
169
|
+
};
|
|
170
|
+
readonly dark: {
|
|
171
|
+
readonly background: "#030712";
|
|
172
|
+
readonly foreground: "#f9fafb";
|
|
173
|
+
readonly card: "#111827";
|
|
174
|
+
readonly cardForeground: "#f9fafb";
|
|
175
|
+
readonly popover: "#111827";
|
|
176
|
+
readonly popoverForeground: "#f9fafb";
|
|
177
|
+
readonly primary: "#43b02b";
|
|
178
|
+
readonly primaryForeground: "#030712";
|
|
179
|
+
readonly secondary: "#1f2937";
|
|
180
|
+
readonly secondaryForeground: "#f9fafb";
|
|
181
|
+
readonly muted: "#1f2937";
|
|
182
|
+
readonly mutedForeground: "#9ca3af";
|
|
183
|
+
readonly accent: "#1f2937";
|
|
184
|
+
readonly accentForeground: "#f9fafb";
|
|
185
|
+
readonly destructive: "#ef4444";
|
|
186
|
+
readonly destructiveForeground: "#ffffff";
|
|
187
|
+
readonly success: "#22c55e";
|
|
188
|
+
readonly successForeground: "#030712";
|
|
189
|
+
readonly warning: "#f59e0b";
|
|
190
|
+
readonly warningForeground: "#030712";
|
|
191
|
+
readonly error: "#ef4444";
|
|
192
|
+
readonly errorForeground: "#030712";
|
|
193
|
+
readonly info: "#3b82f6";
|
|
194
|
+
readonly infoForeground: "#030712";
|
|
195
|
+
readonly border: "#1f2937";
|
|
196
|
+
readonly input: "#1f2937";
|
|
197
|
+
readonly ring: "#7dc75d";
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
type Colors = typeof colors;
|
|
202
|
+
|
|
203
|
+
declare const transitionDuration: {
|
|
204
|
+
readonly instant: "0ms";
|
|
205
|
+
readonly fast: "100ms";
|
|
206
|
+
readonly base: "150ms";
|
|
207
|
+
readonly slow: "300ms";
|
|
208
|
+
readonly slower: "500ms";
|
|
209
|
+
};
|
|
210
|
+
declare const transitionTimingFunction: {
|
|
211
|
+
readonly ease: "cubic-bezier(0.4, 0, 0.2, 1)";
|
|
212
|
+
readonly easeIn: "cubic-bezier(0.4, 0, 1, 1)";
|
|
213
|
+
readonly easeOut: "cubic-bezier(0, 0, 0.2, 1)";
|
|
214
|
+
readonly easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)";
|
|
215
|
+
readonly spring: "cubic-bezier(0.34, 1.56, 0.64, 1)";
|
|
216
|
+
};
|
|
217
|
+
|
|
218
|
+
declare const borderRadius: {
|
|
219
|
+
readonly none: "0";
|
|
220
|
+
readonly sm: "0.125rem";
|
|
221
|
+
readonly base: "0.25rem";
|
|
222
|
+
readonly md: "0.375rem";
|
|
223
|
+
readonly lg: "0.5rem";
|
|
224
|
+
readonly xl: "0.75rem";
|
|
225
|
+
readonly "2xl": "1rem";
|
|
226
|
+
readonly "3xl": "1.5rem";
|
|
227
|
+
readonly full: "9999px";
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
declare const boxShadow: {
|
|
231
|
+
readonly none: "none";
|
|
232
|
+
readonly sm: "0 1px 2px 0 rgb(0 0 0 / 0.05)";
|
|
233
|
+
readonly base: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)";
|
|
234
|
+
readonly md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)";
|
|
235
|
+
readonly lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)";
|
|
236
|
+
readonly xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)";
|
|
237
|
+
readonly "2xl": "0 25px 50px -12px rgb(0 0 0 / 0.25)";
|
|
238
|
+
readonly inner: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)";
|
|
239
|
+
};
|
|
240
|
+
|
|
241
|
+
declare const spacing: {
|
|
242
|
+
readonly px: "1px";
|
|
243
|
+
readonly 0: "0px";
|
|
244
|
+
readonly 0.5: "2px";
|
|
245
|
+
readonly 1: "4px";
|
|
246
|
+
readonly 1.5: "6px";
|
|
247
|
+
readonly 2: "8px";
|
|
248
|
+
readonly 2.5: "10px";
|
|
249
|
+
readonly 3: "12px";
|
|
250
|
+
readonly 3.5: "14px";
|
|
251
|
+
readonly 4: "16px";
|
|
252
|
+
readonly 5: "20px";
|
|
253
|
+
readonly 6: "24px";
|
|
254
|
+
readonly 7: "28px";
|
|
255
|
+
readonly 8: "32px";
|
|
256
|
+
readonly 9: "36px";
|
|
257
|
+
readonly 10: "40px";
|
|
258
|
+
readonly 12: "48px";
|
|
259
|
+
readonly 14: "56px";
|
|
260
|
+
readonly 16: "64px";
|
|
261
|
+
readonly 20: "80px";
|
|
262
|
+
readonly 24: "96px";
|
|
263
|
+
readonly 32: "128px";
|
|
264
|
+
readonly 40: "160px";
|
|
265
|
+
readonly 48: "192px";
|
|
266
|
+
readonly 64: "256px";
|
|
267
|
+
};
|
|
268
|
+
|
|
269
|
+
declare const typography: {
|
|
270
|
+
readonly fontFamily: {
|
|
271
|
+
readonly sans: readonly ["Inter Variable", "Inter", "system-ui", "sans-serif"];
|
|
272
|
+
readonly mono: readonly ["JetBrains Mono", "Fira Code", "monospace"];
|
|
273
|
+
readonly display: readonly ["Cal Sans", "Inter Variable", "sans-serif"];
|
|
274
|
+
};
|
|
275
|
+
readonly fontSize: {
|
|
276
|
+
readonly "2xs": readonly ["0.625rem", {
|
|
277
|
+
readonly lineHeight: "0.875rem";
|
|
278
|
+
}];
|
|
279
|
+
readonly xs: readonly ["0.75rem", {
|
|
280
|
+
readonly lineHeight: "1rem";
|
|
281
|
+
}];
|
|
282
|
+
readonly sm: readonly ["0.875rem", {
|
|
283
|
+
readonly lineHeight: "1.25rem";
|
|
284
|
+
}];
|
|
285
|
+
readonly base: readonly ["1rem", {
|
|
286
|
+
readonly lineHeight: "1.5rem";
|
|
287
|
+
}];
|
|
288
|
+
readonly lg: readonly ["1.125rem", {
|
|
289
|
+
readonly lineHeight: "1.75rem";
|
|
290
|
+
}];
|
|
291
|
+
readonly xl: readonly ["1.25rem", {
|
|
292
|
+
readonly lineHeight: "1.75rem";
|
|
293
|
+
}];
|
|
294
|
+
readonly "2xl": readonly ["1.5rem", {
|
|
295
|
+
readonly lineHeight: "2rem";
|
|
296
|
+
}];
|
|
297
|
+
readonly "3xl": readonly ["1.875rem", {
|
|
298
|
+
readonly lineHeight: "2.25rem";
|
|
299
|
+
}];
|
|
300
|
+
readonly "4xl": readonly ["2.25rem", {
|
|
301
|
+
readonly lineHeight: "2.5rem";
|
|
302
|
+
}];
|
|
303
|
+
readonly "5xl": readonly ["3rem", {
|
|
304
|
+
readonly lineHeight: "1";
|
|
305
|
+
}];
|
|
306
|
+
};
|
|
307
|
+
readonly fontWeight: {
|
|
308
|
+
readonly regular: "400";
|
|
309
|
+
readonly medium: "500";
|
|
310
|
+
readonly semibold: "600";
|
|
311
|
+
readonly bold: "700";
|
|
312
|
+
};
|
|
313
|
+
};
|
|
314
|
+
|
|
315
|
+
export { type Breakpoint, type Colors, borderRadius, boxShadow, breakpoints, colors, spacing, transitionDuration, transitionTimingFunction, typography };
|
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Breakpoints
|
|
3
|
+
*
|
|
4
|
+
* Semantic names map to the four primary viewport classes used across
|
|
5
|
+
* the design system. Tailwind min-width convention — styles apply at
|
|
6
|
+
* the named width and above.
|
|
7
|
+
*
|
|
8
|
+
* mobile 375px — handheld (iPhone SE and up)
|
|
9
|
+
* tablet 768px — tablet portrait and up
|
|
10
|
+
* desktop 1280px — laptop / standard PC
|
|
11
|
+
* wide 1920px — large external display / TV
|
|
12
|
+
*
|
|
13
|
+
* Numeric shorthands (xs → 2xl) are also exported for
|
|
14
|
+
* teams that prefer the compact notation.
|
|
15
|
+
*/
|
|
16
|
+
declare const breakpoints: {
|
|
17
|
+
readonly mobile: "375px";
|
|
18
|
+
readonly tablet: "768px";
|
|
19
|
+
readonly desktop: "1280px";
|
|
20
|
+
readonly wide: "1920px";
|
|
21
|
+
readonly xs: "375px";
|
|
22
|
+
readonly sm: "640px";
|
|
23
|
+
readonly md: "768px";
|
|
24
|
+
readonly lg: "1024px";
|
|
25
|
+
readonly xl: "1280px";
|
|
26
|
+
readonly "2xl": "1536px";
|
|
27
|
+
readonly "3xl": "1920px";
|
|
28
|
+
};
|
|
29
|
+
type Breakpoint = keyof typeof breakpoints;
|
|
30
|
+
|
|
31
|
+
declare const colors: {
|
|
32
|
+
readonly brand: {
|
|
33
|
+
readonly 50: "#f6faf0";
|
|
34
|
+
readonly 100: "#eef7e4";
|
|
35
|
+
readonly 200: "#d4ebbe";
|
|
36
|
+
readonly 300: "#bae09d";
|
|
37
|
+
readonly 400: "#7dc75d";
|
|
38
|
+
readonly 500: "#43b02b";
|
|
39
|
+
readonly 600: "#379e23";
|
|
40
|
+
readonly 700: "#2a8518";
|
|
41
|
+
readonly 800: "#1c690f";
|
|
42
|
+
readonly 900: "#124f09";
|
|
43
|
+
readonly 950: "#093304";
|
|
44
|
+
};
|
|
45
|
+
readonly neutral: {
|
|
46
|
+
readonly 0: "#ffffff";
|
|
47
|
+
readonly 50: "#f9fafb";
|
|
48
|
+
readonly 100: "#f3f4f6";
|
|
49
|
+
readonly 200: "#e5e7eb";
|
|
50
|
+
readonly 300: "#d1d5db";
|
|
51
|
+
readonly 400: "#9ca3af";
|
|
52
|
+
readonly 500: "#6b7280";
|
|
53
|
+
readonly 600: "#4b5563";
|
|
54
|
+
readonly 700: "#374151";
|
|
55
|
+
readonly 800: "#1f2937";
|
|
56
|
+
readonly 900: "#111827";
|
|
57
|
+
readonly 950: "#030712";
|
|
58
|
+
};
|
|
59
|
+
readonly success: {
|
|
60
|
+
readonly 50: "#f0fdf4";
|
|
61
|
+
readonly 100: "#dcfce7";
|
|
62
|
+
readonly 200: "#bbf7d0";
|
|
63
|
+
readonly 300: "#86efac";
|
|
64
|
+
readonly 400: "#4ade80";
|
|
65
|
+
readonly 500: "#22c55e";
|
|
66
|
+
readonly 600: "#16a34a";
|
|
67
|
+
readonly 700: "#15803d";
|
|
68
|
+
readonly 800: "#166534";
|
|
69
|
+
readonly 900: "#14532d";
|
|
70
|
+
};
|
|
71
|
+
readonly warning: {
|
|
72
|
+
readonly 50: "#fffbeb";
|
|
73
|
+
readonly 100: "#fef3c7";
|
|
74
|
+
readonly 200: "#fde68a";
|
|
75
|
+
readonly 300: "#fcd34d";
|
|
76
|
+
readonly 400: "#fbbf24";
|
|
77
|
+
readonly 500: "#f59e0b";
|
|
78
|
+
readonly 600: "#d97706";
|
|
79
|
+
readonly 700: "#b45309";
|
|
80
|
+
readonly 800: "#92400e";
|
|
81
|
+
readonly 900: "#78350f";
|
|
82
|
+
};
|
|
83
|
+
readonly error: {
|
|
84
|
+
readonly 50: "#fef2f2";
|
|
85
|
+
readonly 100: "#fee2e2";
|
|
86
|
+
readonly 200: "#fecaca";
|
|
87
|
+
readonly 300: "#fca5a5";
|
|
88
|
+
readonly 400: "#f87171";
|
|
89
|
+
readonly 500: "#ef4444";
|
|
90
|
+
readonly 600: "#dc2626";
|
|
91
|
+
readonly 700: "#b91c1c";
|
|
92
|
+
readonly 800: "#991b1b";
|
|
93
|
+
readonly 900: "#7f1d1d";
|
|
94
|
+
};
|
|
95
|
+
readonly info: {
|
|
96
|
+
readonly 50: "#eff6ff";
|
|
97
|
+
readonly 100: "#dbeafe";
|
|
98
|
+
readonly 200: "#bfdbfe";
|
|
99
|
+
readonly 300: "#93c5fd";
|
|
100
|
+
readonly 400: "#60a5fa";
|
|
101
|
+
readonly 500: "#3b82f6";
|
|
102
|
+
readonly 600: "#2563eb";
|
|
103
|
+
readonly 700: "#1d4ed8";
|
|
104
|
+
readonly 800: "#1e40af";
|
|
105
|
+
readonly 900: "#1e3a8a";
|
|
106
|
+
};
|
|
107
|
+
readonly accent: {
|
|
108
|
+
readonly 50: "#faf5ff";
|
|
109
|
+
readonly 100: "#f3e8ff";
|
|
110
|
+
readonly 200: "#e9d5ff";
|
|
111
|
+
readonly 300: "#d8b4fe";
|
|
112
|
+
readonly 400: "#c084fc";
|
|
113
|
+
readonly 500: "#a855f7";
|
|
114
|
+
readonly 600: "#9333ea";
|
|
115
|
+
readonly 700: "#7c3aed";
|
|
116
|
+
readonly 800: "#6b21a8";
|
|
117
|
+
readonly 900: "#581c87";
|
|
118
|
+
};
|
|
119
|
+
/** Resolved semantic aliases for light-UI usage (concrete colors, not path strings) */
|
|
120
|
+
readonly semantic: {
|
|
121
|
+
readonly primary: "#379e23";
|
|
122
|
+
readonly primaryHover: "#2a8518";
|
|
123
|
+
readonly primaryForeground: "#ffffff";
|
|
124
|
+
readonly secondary: "#f3f4f6";
|
|
125
|
+
readonly secondaryHover: "#e5e7eb";
|
|
126
|
+
readonly secondaryForeground: "#111827";
|
|
127
|
+
readonly success: "#16a34a";
|
|
128
|
+
readonly successForeground: "#f0fdf4";
|
|
129
|
+
readonly warning: "#d97706";
|
|
130
|
+
readonly warningForeground: "#fffbeb";
|
|
131
|
+
readonly error: "#dc2626";
|
|
132
|
+
readonly errorForeground: "#fef2f2";
|
|
133
|
+
readonly info: "#2563eb";
|
|
134
|
+
readonly infoForeground: "#eff6ff";
|
|
135
|
+
};
|
|
136
|
+
/**
|
|
137
|
+
* High-level color schemes for `class` dark mode (e.g. `html.light` / `html.dark` or `data-theme`).
|
|
138
|
+
* Use these to drive backgrounds, text, and surfaces instead of raw neutral steps.
|
|
139
|
+
*/
|
|
140
|
+
readonly schemes: {
|
|
141
|
+
readonly light: {
|
|
142
|
+
readonly background: "#ffffff";
|
|
143
|
+
readonly foreground: "#111827";
|
|
144
|
+
readonly card: "#ffffff";
|
|
145
|
+
readonly cardForeground: "#111827";
|
|
146
|
+
readonly popover: "#ffffff";
|
|
147
|
+
readonly popoverForeground: "#111827";
|
|
148
|
+
readonly primary: "#379e23";
|
|
149
|
+
readonly primaryForeground: "#ffffff";
|
|
150
|
+
readonly secondary: "#f3f4f6";
|
|
151
|
+
readonly secondaryForeground: "#111827";
|
|
152
|
+
readonly muted: "#f3f4f6";
|
|
153
|
+
readonly mutedForeground: "#4b5563";
|
|
154
|
+
readonly accent: "#f3f4f6";
|
|
155
|
+
readonly accentForeground: "#111827";
|
|
156
|
+
readonly destructive: "#dc2626";
|
|
157
|
+
readonly destructiveForeground: "#ffffff";
|
|
158
|
+
readonly success: "#16a34a";
|
|
159
|
+
readonly successForeground: "#f0fdf4";
|
|
160
|
+
readonly warning: "#d97706";
|
|
161
|
+
readonly warningForeground: "#78350f";
|
|
162
|
+
readonly error: "#dc2626";
|
|
163
|
+
readonly errorForeground: "#fef2f2";
|
|
164
|
+
readonly info: "#2563eb";
|
|
165
|
+
readonly infoForeground: "#eff6ff";
|
|
166
|
+
readonly border: "#e5e7eb";
|
|
167
|
+
readonly input: "#e5e7eb";
|
|
168
|
+
readonly ring: "#43b02b";
|
|
169
|
+
};
|
|
170
|
+
readonly dark: {
|
|
171
|
+
readonly background: "#030712";
|
|
172
|
+
readonly foreground: "#f9fafb";
|
|
173
|
+
readonly card: "#111827";
|
|
174
|
+
readonly cardForeground: "#f9fafb";
|
|
175
|
+
readonly popover: "#111827";
|
|
176
|
+
readonly popoverForeground: "#f9fafb";
|
|
177
|
+
readonly primary: "#43b02b";
|
|
178
|
+
readonly primaryForeground: "#030712";
|
|
179
|
+
readonly secondary: "#1f2937";
|
|
180
|
+
readonly secondaryForeground: "#f9fafb";
|
|
181
|
+
readonly muted: "#1f2937";
|
|
182
|
+
readonly mutedForeground: "#9ca3af";
|
|
183
|
+
readonly accent: "#1f2937";
|
|
184
|
+
readonly accentForeground: "#f9fafb";
|
|
185
|
+
readonly destructive: "#ef4444";
|
|
186
|
+
readonly destructiveForeground: "#ffffff";
|
|
187
|
+
readonly success: "#22c55e";
|
|
188
|
+
readonly successForeground: "#030712";
|
|
189
|
+
readonly warning: "#f59e0b";
|
|
190
|
+
readonly warningForeground: "#030712";
|
|
191
|
+
readonly error: "#ef4444";
|
|
192
|
+
readonly errorForeground: "#030712";
|
|
193
|
+
readonly info: "#3b82f6";
|
|
194
|
+
readonly infoForeground: "#030712";
|
|
195
|
+
readonly border: "#1f2937";
|
|
196
|
+
readonly input: "#1f2937";
|
|
197
|
+
readonly ring: "#7dc75d";
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
type Colors = typeof colors;
|
|
202
|
+
|
|
203
|
+
declare const transitionDuration: {
|
|
204
|
+
readonly instant: "0ms";
|
|
205
|
+
readonly fast: "100ms";
|
|
206
|
+
readonly base: "150ms";
|
|
207
|
+
readonly slow: "300ms";
|
|
208
|
+
readonly slower: "500ms";
|
|
209
|
+
};
|
|
210
|
+
declare const transitionTimingFunction: {
|
|
211
|
+
readonly ease: "cubic-bezier(0.4, 0, 0.2, 1)";
|
|
212
|
+
readonly easeIn: "cubic-bezier(0.4, 0, 1, 1)";
|
|
213
|
+
readonly easeOut: "cubic-bezier(0, 0, 0.2, 1)";
|
|
214
|
+
readonly easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)";
|
|
215
|
+
readonly spring: "cubic-bezier(0.34, 1.56, 0.64, 1)";
|
|
216
|
+
};
|
|
217
|
+
|
|
218
|
+
declare const borderRadius: {
|
|
219
|
+
readonly none: "0";
|
|
220
|
+
readonly sm: "0.125rem";
|
|
221
|
+
readonly base: "0.25rem";
|
|
222
|
+
readonly md: "0.375rem";
|
|
223
|
+
readonly lg: "0.5rem";
|
|
224
|
+
readonly xl: "0.75rem";
|
|
225
|
+
readonly "2xl": "1rem";
|
|
226
|
+
readonly "3xl": "1.5rem";
|
|
227
|
+
readonly full: "9999px";
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
declare const boxShadow: {
|
|
231
|
+
readonly none: "none";
|
|
232
|
+
readonly sm: "0 1px 2px 0 rgb(0 0 0 / 0.05)";
|
|
233
|
+
readonly base: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)";
|
|
234
|
+
readonly md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)";
|
|
235
|
+
readonly lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)";
|
|
236
|
+
readonly xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)";
|
|
237
|
+
readonly "2xl": "0 25px 50px -12px rgb(0 0 0 / 0.25)";
|
|
238
|
+
readonly inner: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)";
|
|
239
|
+
};
|
|
240
|
+
|
|
241
|
+
declare const spacing: {
|
|
242
|
+
readonly px: "1px";
|
|
243
|
+
readonly 0: "0px";
|
|
244
|
+
readonly 0.5: "2px";
|
|
245
|
+
readonly 1: "4px";
|
|
246
|
+
readonly 1.5: "6px";
|
|
247
|
+
readonly 2: "8px";
|
|
248
|
+
readonly 2.5: "10px";
|
|
249
|
+
readonly 3: "12px";
|
|
250
|
+
readonly 3.5: "14px";
|
|
251
|
+
readonly 4: "16px";
|
|
252
|
+
readonly 5: "20px";
|
|
253
|
+
readonly 6: "24px";
|
|
254
|
+
readonly 7: "28px";
|
|
255
|
+
readonly 8: "32px";
|
|
256
|
+
readonly 9: "36px";
|
|
257
|
+
readonly 10: "40px";
|
|
258
|
+
readonly 12: "48px";
|
|
259
|
+
readonly 14: "56px";
|
|
260
|
+
readonly 16: "64px";
|
|
261
|
+
readonly 20: "80px";
|
|
262
|
+
readonly 24: "96px";
|
|
263
|
+
readonly 32: "128px";
|
|
264
|
+
readonly 40: "160px";
|
|
265
|
+
readonly 48: "192px";
|
|
266
|
+
readonly 64: "256px";
|
|
267
|
+
};
|
|
268
|
+
|
|
269
|
+
declare const typography: {
|
|
270
|
+
readonly fontFamily: {
|
|
271
|
+
readonly sans: readonly ["Inter Variable", "Inter", "system-ui", "sans-serif"];
|
|
272
|
+
readonly mono: readonly ["JetBrains Mono", "Fira Code", "monospace"];
|
|
273
|
+
readonly display: readonly ["Cal Sans", "Inter Variable", "sans-serif"];
|
|
274
|
+
};
|
|
275
|
+
readonly fontSize: {
|
|
276
|
+
readonly "2xs": readonly ["0.625rem", {
|
|
277
|
+
readonly lineHeight: "0.875rem";
|
|
278
|
+
}];
|
|
279
|
+
readonly xs: readonly ["0.75rem", {
|
|
280
|
+
readonly lineHeight: "1rem";
|
|
281
|
+
}];
|
|
282
|
+
readonly sm: readonly ["0.875rem", {
|
|
283
|
+
readonly lineHeight: "1.25rem";
|
|
284
|
+
}];
|
|
285
|
+
readonly base: readonly ["1rem", {
|
|
286
|
+
readonly lineHeight: "1.5rem";
|
|
287
|
+
}];
|
|
288
|
+
readonly lg: readonly ["1.125rem", {
|
|
289
|
+
readonly lineHeight: "1.75rem";
|
|
290
|
+
}];
|
|
291
|
+
readonly xl: readonly ["1.25rem", {
|
|
292
|
+
readonly lineHeight: "1.75rem";
|
|
293
|
+
}];
|
|
294
|
+
readonly "2xl": readonly ["1.5rem", {
|
|
295
|
+
readonly lineHeight: "2rem";
|
|
296
|
+
}];
|
|
297
|
+
readonly "3xl": readonly ["1.875rem", {
|
|
298
|
+
readonly lineHeight: "2.25rem";
|
|
299
|
+
}];
|
|
300
|
+
readonly "4xl": readonly ["2.25rem", {
|
|
301
|
+
readonly lineHeight: "2.5rem";
|
|
302
|
+
}];
|
|
303
|
+
readonly "5xl": readonly ["3rem", {
|
|
304
|
+
readonly lineHeight: "1";
|
|
305
|
+
}];
|
|
306
|
+
};
|
|
307
|
+
readonly fontWeight: {
|
|
308
|
+
readonly regular: "400";
|
|
309
|
+
readonly medium: "500";
|
|
310
|
+
readonly semibold: "600";
|
|
311
|
+
readonly bold: "700";
|
|
312
|
+
};
|
|
313
|
+
};
|
|
314
|
+
|
|
315
|
+
export { type Breakpoint, type Colors, borderRadius, boxShadow, breakpoints, colors, spacing, transitionDuration, transitionTimingFunction, typography };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
borderRadius,
|
|
3
|
+
boxShadow,
|
|
4
|
+
breakpoints,
|
|
5
|
+
colors,
|
|
6
|
+
spacing,
|
|
7
|
+
transitionDuration,
|
|
8
|
+
transitionTimingFunction,
|
|
9
|
+
typography
|
|
10
|
+
} from "../chunk-VGPGVDCW.js";
|
|
11
|
+
export {
|
|
12
|
+
borderRadius,
|
|
13
|
+
boxShadow,
|
|
14
|
+
breakpoints,
|
|
15
|
+
colors,
|
|
16
|
+
spacing,
|
|
17
|
+
transitionDuration,
|
|
18
|
+
transitionTimingFunction,
|
|
19
|
+
typography
|
|
20
|
+
};
|