kaleido-ui 0.1.2 → 0.1.4
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/css/kaleido-ui.css +339 -72
- package/dist/native/index.cjs +68 -15
- package/dist/native/index.d.cts +68 -16
- package/dist/native/index.d.ts +68 -16
- package/dist/native/index.js +68 -15
- package/dist/tokens/index.cjs +188 -6
- package/dist/tokens/index.d.cts +236 -6
- package/dist/tokens/index.d.ts +236 -6
- package/dist/tokens/index.js +181 -6
- package/dist/web/index.cjs +5074 -343
- package/dist/web/index.d.cts +939 -16
- package/dist/web/index.d.ts +939 -16
- package/dist/web/index.js +4996 -339
- package/package.json +16 -13
- package/dist/tailwind/index.cjs +0 -225
- package/dist/tailwind/index.d.cts +0 -162
- package/dist/tailwind/index.d.ts +0 -162
- package/dist/tailwind/index.js +0 -202
- package/tailwind/index.d.ts +0 -1
- package/tailwind/index.js +0 -1
package/dist/tokens/index.d.cts
CHANGED
|
@@ -1,13 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* KaleidoSwap Color Tokens
|
|
3
|
+
*
|
|
4
|
+
* Single source of truth for all color constants across web and native.
|
|
5
|
+
*/
|
|
6
|
+
declare const lightSemanticColors: {
|
|
7
|
+
readonly background: "#ffffff";
|
|
8
|
+
readonly foreground: "#0a0a0a";
|
|
9
|
+
readonly card: "#ffffff";
|
|
10
|
+
readonly cardFg: "#0a0a0a";
|
|
11
|
+
readonly popover: "#ffffff";
|
|
12
|
+
readonly popoverFg: "#0a0a0a";
|
|
13
|
+
readonly primary: "#171717";
|
|
14
|
+
readonly primaryFg: "#fafafa";
|
|
15
|
+
readonly secondary: "#f5f5f5";
|
|
16
|
+
readonly secondaryFg: "#171717";
|
|
17
|
+
readonly muted: "#f5f5f5";
|
|
18
|
+
readonly mutedFg: "#737373";
|
|
19
|
+
readonly accent: "#f5f5f5";
|
|
20
|
+
readonly accentFg: "#171717";
|
|
21
|
+
readonly destructive: "#e7000b";
|
|
22
|
+
readonly border: "#e5e5e5";
|
|
23
|
+
readonly input: "#e5e5e5";
|
|
24
|
+
readonly ring: "#a1a1a1";
|
|
25
|
+
readonly chart1: "#2BEE79";
|
|
26
|
+
readonly chart2: "#F6C343";
|
|
27
|
+
readonly chart3: "#F7931A";
|
|
28
|
+
readonly chart4: "#7C3AED";
|
|
29
|
+
readonly chart5: "#DD352E";
|
|
30
|
+
};
|
|
1
31
|
declare const colors: {
|
|
2
32
|
readonly textPrimary: "#ffffff";
|
|
3
33
|
readonly textSecondary: "rgba(255, 255, 255, 0.55)";
|
|
4
34
|
readonly textMuted: "hsl(150 20% 24%)";
|
|
5
35
|
readonly textDimmed: "#2BEE79";
|
|
6
|
-
/** Semantic */
|
|
36
|
+
/** Semantic intent colors (use as text-success, bg-warning/15, etc.) */
|
|
7
37
|
readonly success: "#2BEE79";
|
|
8
|
-
readonly warning: "#
|
|
38
|
+
readonly warning: "#FACC15";
|
|
39
|
+
readonly danger: "#F94040";
|
|
40
|
+
readonly info: "#4290FF";
|
|
41
|
+
/** @deprecated alias for `danger` — kept for back-compat. */
|
|
9
42
|
readonly error: "hsl(0 62% 50%)";
|
|
10
|
-
|
|
43
|
+
/** Surface elevation — translucent overlays applied over the page background */
|
|
44
|
+
readonly surface: {
|
|
45
|
+
readonly base: "rgba(255, 255, 255, 0.03)";
|
|
46
|
+
readonly card: "rgba(255, 255, 255, 0.05)";
|
|
47
|
+
readonly elevated: "rgba(255, 255, 255, 0.08)";
|
|
48
|
+
readonly overlay: "rgba(0, 0, 0, 0.20)";
|
|
49
|
+
readonly overlayStrong: "rgba(0, 0, 0, 0.35)";
|
|
50
|
+
readonly scrim: "rgba(0, 0, 0, 0.60)";
|
|
51
|
+
};
|
|
52
|
+
/** Border ladder — translucent edges on dark surfaces */
|
|
53
|
+
readonly borderToken: {
|
|
54
|
+
readonly subtle: "rgba(255, 255, 255, 0.04)";
|
|
55
|
+
readonly default: "rgba(255, 255, 255, 0.08)";
|
|
56
|
+
readonly strong: "rgba(255, 255, 255, 0.15)";
|
|
57
|
+
};
|
|
58
|
+
/** Text ladder for dark surfaces */
|
|
59
|
+
readonly text: {
|
|
60
|
+
readonly primary: "#ffffff";
|
|
61
|
+
readonly secondary: "rgba(255, 255, 255, 0.65)";
|
|
62
|
+
readonly muted: "rgba(255, 255, 255, 0.45)";
|
|
63
|
+
readonly dimmed: "rgba(255, 255, 255, 0.35)";
|
|
64
|
+
readonly disabled: "rgba(255, 255, 255, 0.25)";
|
|
65
|
+
readonly onAccent: "#051B10";
|
|
66
|
+
};
|
|
11
67
|
/** Network / Layer */
|
|
12
68
|
readonly network: {
|
|
13
69
|
readonly bitcoin: "#F7931A";
|
|
@@ -16,6 +72,19 @@ declare const colors: {
|
|
|
16
72
|
readonly spark: "#FF6D00";
|
|
17
73
|
readonly lightning: "#F6C343";
|
|
18
74
|
};
|
|
75
|
+
readonly networkChip: {
|
|
76
|
+
readonly bitcoin: "#A65D0D";
|
|
77
|
+
readonly rgb: "#7F2623";
|
|
78
|
+
readonly arkade: "#43208B";
|
|
79
|
+
readonly spark: "#314238";
|
|
80
|
+
readonly lightning: "#53611E";
|
|
81
|
+
};
|
|
82
|
+
/** Asset icon brand colors — used as solid backgrounds behind glyphs */
|
|
83
|
+
readonly assetIcon: {
|
|
84
|
+
readonly eth: "#627EEA";
|
|
85
|
+
readonly usdt: "#26A17B";
|
|
86
|
+
readonly usdc: "#2775CA";
|
|
87
|
+
};
|
|
19
88
|
/** Transaction direction */
|
|
20
89
|
readonly tx: {
|
|
21
90
|
readonly sent: "#F94040";
|
|
@@ -75,20 +144,64 @@ declare const fontWeight: {
|
|
|
75
144
|
readonly semibold: "600";
|
|
76
145
|
readonly bold: "700";
|
|
77
146
|
};
|
|
147
|
+
/**
|
|
148
|
+
* Letter-spacing tokens — reused across uppercase eyebrow labels.
|
|
149
|
+
* These replace the scattered `tracking-[0.18em]` / `tracking-[0.22em]` arbitraries.
|
|
150
|
+
*/
|
|
151
|
+
declare const letterSpacing: {
|
|
152
|
+
readonly eyebrow: "0.18em";
|
|
153
|
+
readonly eyebrowWide: "0.22em";
|
|
154
|
+
};
|
|
155
|
+
/**
|
|
156
|
+
* Icon size scale — drives `text-icon-*` utilities for Material Symbols glyphs
|
|
157
|
+
* and other font-driven icon sets. Exists as its own scale (separate from the
|
|
158
|
+
* body type scale) because icon sizes change in tighter steps.
|
|
159
|
+
*
|
|
160
|
+
* Usage: <span class="material-symbols-outlined text-icon-md">name</span>
|
|
161
|
+
*/
|
|
162
|
+
declare const iconSize: {
|
|
163
|
+
readonly xxs: "11px";
|
|
164
|
+
readonly xs: "13px";
|
|
165
|
+
readonly sm: "14px";
|
|
166
|
+
readonly md: "16px";
|
|
167
|
+
readonly lg: "18px";
|
|
168
|
+
readonly xl: "20px";
|
|
169
|
+
readonly '2xl': "24px";
|
|
170
|
+
readonly '3xl': "28px";
|
|
171
|
+
readonly '4xl': "32px";
|
|
172
|
+
readonly '5xl': "40px";
|
|
173
|
+
readonly '6xl': "64px";
|
|
174
|
+
};
|
|
175
|
+
/**
|
|
176
|
+
* Square icon box scale — drives `size-icon-*` utilities for SVG icons
|
|
177
|
+
* and compact icon buttons.
|
|
178
|
+
*/
|
|
179
|
+
declare const iconBoxSize: {
|
|
180
|
+
readonly sm: "14px";
|
|
181
|
+
readonly md: "16px";
|
|
182
|
+
readonly lg: "18px";
|
|
183
|
+
readonly nav: "22px";
|
|
184
|
+
readonly control: "34px";
|
|
185
|
+
};
|
|
78
186
|
|
|
79
187
|
/**
|
|
80
188
|
* KaleidoSwap Border Radius Tokens
|
|
81
189
|
*/
|
|
82
190
|
declare const radius: {
|
|
191
|
+
readonly none: "0px";
|
|
192
|
+
readonly xs: "2px";
|
|
83
193
|
readonly sm: "4px";
|
|
84
194
|
readonly md: "6px";
|
|
85
195
|
readonly lg: "8px";
|
|
86
196
|
readonly xl: "12px";
|
|
197
|
+
readonly '2xl': "16px";
|
|
198
|
+
readonly '3xl': "24px";
|
|
199
|
+
readonly '4xl': "32px";
|
|
200
|
+
readonly full: "9999px";
|
|
87
201
|
readonly card: "16px";
|
|
88
202
|
readonly panel: "24px";
|
|
89
|
-
readonly pill: "9999px";
|
|
90
203
|
readonly nav: "32px";
|
|
91
|
-
readonly
|
|
204
|
+
readonly pill: "9999px";
|
|
92
205
|
};
|
|
93
206
|
|
|
94
207
|
/**
|
|
@@ -99,6 +212,37 @@ declare const shadow: {
|
|
|
99
212
|
readonly glowStrong: "0 0 30px rgba(10, 10, 10, 0.25)";
|
|
100
213
|
readonly glowSubtle: "0 0 15px rgba(10, 10, 10, 0.12)";
|
|
101
214
|
readonly glowAccent: "0 4px 30px rgba(10, 10, 10, 0.18)";
|
|
215
|
+
/** Brand green glow — drives all primary CTA / focus halos. */
|
|
216
|
+
readonly glowPrimarySoft: "0 0 8px rgba(43, 238, 121, 0.5)";
|
|
217
|
+
readonly glowPrimary: "0 0 30px rgba(43, 238, 121, 0.45)";
|
|
218
|
+
readonly glowPrimaryStrong: "0 0 40px rgba(43, 238, 121, 0.5)";
|
|
219
|
+
/** Floating popover / modal elevation on dark surfaces. */
|
|
220
|
+
readonly popover: "0 18px 55px rgba(0, 0, 0, 0.65)";
|
|
221
|
+
/** Toast / inline-notification elevation. */
|
|
222
|
+
readonly toast: "0 0 30px rgba(0, 0, 0, 0.3)";
|
|
223
|
+
};
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* KaleidoSwap Gradient Tokens
|
|
227
|
+
*
|
|
228
|
+
* Reusable visual gradients. Card-accent / dynamic gradients live with
|
|
229
|
+
* the components that build them — these tokens cover the global,
|
|
230
|
+
* static gradients used by page shells.
|
|
231
|
+
*/
|
|
232
|
+
declare const gradient: {
|
|
233
|
+
/**
|
|
234
|
+
* Page-level radial wash — top-right white highlight + bottom-left
|
|
235
|
+
* brand purple bloom. Used by Welcome / LockScreen / Onboarding
|
|
236
|
+
* page shells.
|
|
237
|
+
*/
|
|
238
|
+
readonly pageRadial: "radial-gradient(ellipse at 60% 10%, rgba(255, 255, 255, 0.06) 0%, transparent 55%), radial-gradient(ellipse at 30% 85%, rgba(124, 58, 237, 0.08) 0%, transparent 50%)";
|
|
239
|
+
/** Subtle highlight for the swap-input card receive panel. */
|
|
240
|
+
readonly cardSheen: "linear-gradient(to bottom right, rgba(255, 255, 255, 0.01), rgba(43, 238, 121, 0.04))";
|
|
241
|
+
/**
|
|
242
|
+
* Brand headline gradient — white-to-fade. Used by `<HeadlineGradient />`
|
|
243
|
+
* via the `bg-gradient-headline` utility plus `bg-clip-text text-transparent`.
|
|
244
|
+
*/
|
|
245
|
+
readonly headline: "linear-gradient(to right, #ffffff, #ffffff, rgba(255, 255, 255, 0.45))";
|
|
102
246
|
};
|
|
103
247
|
|
|
104
248
|
/**
|
|
@@ -110,4 +254,90 @@ declare const transition: {
|
|
|
110
254
|
readonly slow: "300ms ease-out";
|
|
111
255
|
};
|
|
112
256
|
|
|
113
|
-
|
|
257
|
+
/**
|
|
258
|
+
* KaleidoSwap Animation Tokens
|
|
259
|
+
*/
|
|
260
|
+
declare const keyframes: {
|
|
261
|
+
readonly 'accordion-down': {
|
|
262
|
+
readonly from: {
|
|
263
|
+
readonly height: "0";
|
|
264
|
+
};
|
|
265
|
+
readonly to: {
|
|
266
|
+
readonly height: "var(--radix-accordion-content-height)";
|
|
267
|
+
};
|
|
268
|
+
};
|
|
269
|
+
readonly 'accordion-up': {
|
|
270
|
+
readonly from: {
|
|
271
|
+
readonly height: "var(--radix-accordion-content-height)";
|
|
272
|
+
};
|
|
273
|
+
readonly to: {
|
|
274
|
+
readonly height: "0";
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
readonly 'fade-in': {
|
|
278
|
+
readonly from: {
|
|
279
|
+
readonly opacity: "0";
|
|
280
|
+
};
|
|
281
|
+
readonly to: {
|
|
282
|
+
readonly opacity: "1";
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
readonly 'slide-up': {
|
|
286
|
+
readonly from: {
|
|
287
|
+
readonly opacity: "0";
|
|
288
|
+
readonly transform: "translateY(10px)";
|
|
289
|
+
};
|
|
290
|
+
readonly to: {
|
|
291
|
+
readonly opacity: "1";
|
|
292
|
+
readonly transform: "translateY(0)";
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
readonly 'slide-in-from-bottom': {
|
|
296
|
+
readonly from: {
|
|
297
|
+
readonly opacity: "0";
|
|
298
|
+
readonly transform: "translateY(20px)";
|
|
299
|
+
};
|
|
300
|
+
readonly to: {
|
|
301
|
+
readonly opacity: "1";
|
|
302
|
+
readonly transform: "translateY(0)";
|
|
303
|
+
};
|
|
304
|
+
};
|
|
305
|
+
readonly shimmer: {
|
|
306
|
+
readonly '0%': {
|
|
307
|
+
readonly backgroundPosition: "-200% 0";
|
|
308
|
+
};
|
|
309
|
+
readonly '100%': {
|
|
310
|
+
readonly backgroundPosition: "200% 0";
|
|
311
|
+
};
|
|
312
|
+
};
|
|
313
|
+
readonly 'stagger-up': {
|
|
314
|
+
readonly '0%': {
|
|
315
|
+
readonly opacity: "0";
|
|
316
|
+
readonly transform: "translateY(15px)";
|
|
317
|
+
};
|
|
318
|
+
readonly '100%': {
|
|
319
|
+
readonly opacity: "1";
|
|
320
|
+
readonly transform: "translateY(0)";
|
|
321
|
+
};
|
|
322
|
+
};
|
|
323
|
+
readonly 'bounce-slight': {
|
|
324
|
+
readonly '0%, 100%': {
|
|
325
|
+
readonly transform: "translateY(-5%)";
|
|
326
|
+
};
|
|
327
|
+
readonly '50%': {
|
|
328
|
+
readonly transform: "translateY(0)";
|
|
329
|
+
};
|
|
330
|
+
};
|
|
331
|
+
};
|
|
332
|
+
declare const animation: {
|
|
333
|
+
readonly 'accordion-down': "accordion-down 0.2s ease-out";
|
|
334
|
+
readonly 'accordion-up': "accordion-up 0.2s ease-out";
|
|
335
|
+
readonly 'fade-in': "fade-in 0.3s ease-out";
|
|
336
|
+
readonly 'slide-up': "slide-up 0.3s ease-out";
|
|
337
|
+
readonly 'slide-in-from-bottom': "slide-in-from-bottom 0.4s ease-out";
|
|
338
|
+
readonly 'stagger-up': "stagger-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) backwards";
|
|
339
|
+
readonly shimmer: "shimmer 2s linear infinite";
|
|
340
|
+
readonly 'bounce-slight': "bounce-slight 2s infinite";
|
|
341
|
+
};
|
|
342
|
+
|
|
343
|
+
export { animation, colors, fontFamily, fontWeight, gradient, iconBoxSize, iconSize, keyframes, letterSpacing, lightSemanticColors, radius, shadow, transition, typeScale };
|
package/dist/tokens/index.d.ts
CHANGED
|
@@ -1,13 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* KaleidoSwap Color Tokens
|
|
3
|
+
*
|
|
4
|
+
* Single source of truth for all color constants across web and native.
|
|
5
|
+
*/
|
|
6
|
+
declare const lightSemanticColors: {
|
|
7
|
+
readonly background: "#ffffff";
|
|
8
|
+
readonly foreground: "#0a0a0a";
|
|
9
|
+
readonly card: "#ffffff";
|
|
10
|
+
readonly cardFg: "#0a0a0a";
|
|
11
|
+
readonly popover: "#ffffff";
|
|
12
|
+
readonly popoverFg: "#0a0a0a";
|
|
13
|
+
readonly primary: "#171717";
|
|
14
|
+
readonly primaryFg: "#fafafa";
|
|
15
|
+
readonly secondary: "#f5f5f5";
|
|
16
|
+
readonly secondaryFg: "#171717";
|
|
17
|
+
readonly muted: "#f5f5f5";
|
|
18
|
+
readonly mutedFg: "#737373";
|
|
19
|
+
readonly accent: "#f5f5f5";
|
|
20
|
+
readonly accentFg: "#171717";
|
|
21
|
+
readonly destructive: "#e7000b";
|
|
22
|
+
readonly border: "#e5e5e5";
|
|
23
|
+
readonly input: "#e5e5e5";
|
|
24
|
+
readonly ring: "#a1a1a1";
|
|
25
|
+
readonly chart1: "#2BEE79";
|
|
26
|
+
readonly chart2: "#F6C343";
|
|
27
|
+
readonly chart3: "#F7931A";
|
|
28
|
+
readonly chart4: "#7C3AED";
|
|
29
|
+
readonly chart5: "#DD352E";
|
|
30
|
+
};
|
|
1
31
|
declare const colors: {
|
|
2
32
|
readonly textPrimary: "#ffffff";
|
|
3
33
|
readonly textSecondary: "rgba(255, 255, 255, 0.55)";
|
|
4
34
|
readonly textMuted: "hsl(150 20% 24%)";
|
|
5
35
|
readonly textDimmed: "#2BEE79";
|
|
6
|
-
/** Semantic */
|
|
36
|
+
/** Semantic intent colors (use as text-success, bg-warning/15, etc.) */
|
|
7
37
|
readonly success: "#2BEE79";
|
|
8
|
-
readonly warning: "#
|
|
38
|
+
readonly warning: "#FACC15";
|
|
39
|
+
readonly danger: "#F94040";
|
|
40
|
+
readonly info: "#4290FF";
|
|
41
|
+
/** @deprecated alias for `danger` — kept for back-compat. */
|
|
9
42
|
readonly error: "hsl(0 62% 50%)";
|
|
10
|
-
|
|
43
|
+
/** Surface elevation — translucent overlays applied over the page background */
|
|
44
|
+
readonly surface: {
|
|
45
|
+
readonly base: "rgba(255, 255, 255, 0.03)";
|
|
46
|
+
readonly card: "rgba(255, 255, 255, 0.05)";
|
|
47
|
+
readonly elevated: "rgba(255, 255, 255, 0.08)";
|
|
48
|
+
readonly overlay: "rgba(0, 0, 0, 0.20)";
|
|
49
|
+
readonly overlayStrong: "rgba(0, 0, 0, 0.35)";
|
|
50
|
+
readonly scrim: "rgba(0, 0, 0, 0.60)";
|
|
51
|
+
};
|
|
52
|
+
/** Border ladder — translucent edges on dark surfaces */
|
|
53
|
+
readonly borderToken: {
|
|
54
|
+
readonly subtle: "rgba(255, 255, 255, 0.04)";
|
|
55
|
+
readonly default: "rgba(255, 255, 255, 0.08)";
|
|
56
|
+
readonly strong: "rgba(255, 255, 255, 0.15)";
|
|
57
|
+
};
|
|
58
|
+
/** Text ladder for dark surfaces */
|
|
59
|
+
readonly text: {
|
|
60
|
+
readonly primary: "#ffffff";
|
|
61
|
+
readonly secondary: "rgba(255, 255, 255, 0.65)";
|
|
62
|
+
readonly muted: "rgba(255, 255, 255, 0.45)";
|
|
63
|
+
readonly dimmed: "rgba(255, 255, 255, 0.35)";
|
|
64
|
+
readonly disabled: "rgba(255, 255, 255, 0.25)";
|
|
65
|
+
readonly onAccent: "#051B10";
|
|
66
|
+
};
|
|
11
67
|
/** Network / Layer */
|
|
12
68
|
readonly network: {
|
|
13
69
|
readonly bitcoin: "#F7931A";
|
|
@@ -16,6 +72,19 @@ declare const colors: {
|
|
|
16
72
|
readonly spark: "#FF6D00";
|
|
17
73
|
readonly lightning: "#F6C343";
|
|
18
74
|
};
|
|
75
|
+
readonly networkChip: {
|
|
76
|
+
readonly bitcoin: "#A65D0D";
|
|
77
|
+
readonly rgb: "#7F2623";
|
|
78
|
+
readonly arkade: "#43208B";
|
|
79
|
+
readonly spark: "#314238";
|
|
80
|
+
readonly lightning: "#53611E";
|
|
81
|
+
};
|
|
82
|
+
/** Asset icon brand colors — used as solid backgrounds behind glyphs */
|
|
83
|
+
readonly assetIcon: {
|
|
84
|
+
readonly eth: "#627EEA";
|
|
85
|
+
readonly usdt: "#26A17B";
|
|
86
|
+
readonly usdc: "#2775CA";
|
|
87
|
+
};
|
|
19
88
|
/** Transaction direction */
|
|
20
89
|
readonly tx: {
|
|
21
90
|
readonly sent: "#F94040";
|
|
@@ -75,20 +144,64 @@ declare const fontWeight: {
|
|
|
75
144
|
readonly semibold: "600";
|
|
76
145
|
readonly bold: "700";
|
|
77
146
|
};
|
|
147
|
+
/**
|
|
148
|
+
* Letter-spacing tokens — reused across uppercase eyebrow labels.
|
|
149
|
+
* These replace the scattered `tracking-[0.18em]` / `tracking-[0.22em]` arbitraries.
|
|
150
|
+
*/
|
|
151
|
+
declare const letterSpacing: {
|
|
152
|
+
readonly eyebrow: "0.18em";
|
|
153
|
+
readonly eyebrowWide: "0.22em";
|
|
154
|
+
};
|
|
155
|
+
/**
|
|
156
|
+
* Icon size scale — drives `text-icon-*` utilities for Material Symbols glyphs
|
|
157
|
+
* and other font-driven icon sets. Exists as its own scale (separate from the
|
|
158
|
+
* body type scale) because icon sizes change in tighter steps.
|
|
159
|
+
*
|
|
160
|
+
* Usage: <span class="material-symbols-outlined text-icon-md">name</span>
|
|
161
|
+
*/
|
|
162
|
+
declare const iconSize: {
|
|
163
|
+
readonly xxs: "11px";
|
|
164
|
+
readonly xs: "13px";
|
|
165
|
+
readonly sm: "14px";
|
|
166
|
+
readonly md: "16px";
|
|
167
|
+
readonly lg: "18px";
|
|
168
|
+
readonly xl: "20px";
|
|
169
|
+
readonly '2xl': "24px";
|
|
170
|
+
readonly '3xl': "28px";
|
|
171
|
+
readonly '4xl': "32px";
|
|
172
|
+
readonly '5xl': "40px";
|
|
173
|
+
readonly '6xl': "64px";
|
|
174
|
+
};
|
|
175
|
+
/**
|
|
176
|
+
* Square icon box scale — drives `size-icon-*` utilities for SVG icons
|
|
177
|
+
* and compact icon buttons.
|
|
178
|
+
*/
|
|
179
|
+
declare const iconBoxSize: {
|
|
180
|
+
readonly sm: "14px";
|
|
181
|
+
readonly md: "16px";
|
|
182
|
+
readonly lg: "18px";
|
|
183
|
+
readonly nav: "22px";
|
|
184
|
+
readonly control: "34px";
|
|
185
|
+
};
|
|
78
186
|
|
|
79
187
|
/**
|
|
80
188
|
* KaleidoSwap Border Radius Tokens
|
|
81
189
|
*/
|
|
82
190
|
declare const radius: {
|
|
191
|
+
readonly none: "0px";
|
|
192
|
+
readonly xs: "2px";
|
|
83
193
|
readonly sm: "4px";
|
|
84
194
|
readonly md: "6px";
|
|
85
195
|
readonly lg: "8px";
|
|
86
196
|
readonly xl: "12px";
|
|
197
|
+
readonly '2xl': "16px";
|
|
198
|
+
readonly '3xl': "24px";
|
|
199
|
+
readonly '4xl': "32px";
|
|
200
|
+
readonly full: "9999px";
|
|
87
201
|
readonly card: "16px";
|
|
88
202
|
readonly panel: "24px";
|
|
89
|
-
readonly pill: "9999px";
|
|
90
203
|
readonly nav: "32px";
|
|
91
|
-
readonly
|
|
204
|
+
readonly pill: "9999px";
|
|
92
205
|
};
|
|
93
206
|
|
|
94
207
|
/**
|
|
@@ -99,6 +212,37 @@ declare const shadow: {
|
|
|
99
212
|
readonly glowStrong: "0 0 30px rgba(10, 10, 10, 0.25)";
|
|
100
213
|
readonly glowSubtle: "0 0 15px rgba(10, 10, 10, 0.12)";
|
|
101
214
|
readonly glowAccent: "0 4px 30px rgba(10, 10, 10, 0.18)";
|
|
215
|
+
/** Brand green glow — drives all primary CTA / focus halos. */
|
|
216
|
+
readonly glowPrimarySoft: "0 0 8px rgba(43, 238, 121, 0.5)";
|
|
217
|
+
readonly glowPrimary: "0 0 30px rgba(43, 238, 121, 0.45)";
|
|
218
|
+
readonly glowPrimaryStrong: "0 0 40px rgba(43, 238, 121, 0.5)";
|
|
219
|
+
/** Floating popover / modal elevation on dark surfaces. */
|
|
220
|
+
readonly popover: "0 18px 55px rgba(0, 0, 0, 0.65)";
|
|
221
|
+
/** Toast / inline-notification elevation. */
|
|
222
|
+
readonly toast: "0 0 30px rgba(0, 0, 0, 0.3)";
|
|
223
|
+
};
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* KaleidoSwap Gradient Tokens
|
|
227
|
+
*
|
|
228
|
+
* Reusable visual gradients. Card-accent / dynamic gradients live with
|
|
229
|
+
* the components that build them — these tokens cover the global,
|
|
230
|
+
* static gradients used by page shells.
|
|
231
|
+
*/
|
|
232
|
+
declare const gradient: {
|
|
233
|
+
/**
|
|
234
|
+
* Page-level radial wash — top-right white highlight + bottom-left
|
|
235
|
+
* brand purple bloom. Used by Welcome / LockScreen / Onboarding
|
|
236
|
+
* page shells.
|
|
237
|
+
*/
|
|
238
|
+
readonly pageRadial: "radial-gradient(ellipse at 60% 10%, rgba(255, 255, 255, 0.06) 0%, transparent 55%), radial-gradient(ellipse at 30% 85%, rgba(124, 58, 237, 0.08) 0%, transparent 50%)";
|
|
239
|
+
/** Subtle highlight for the swap-input card receive panel. */
|
|
240
|
+
readonly cardSheen: "linear-gradient(to bottom right, rgba(255, 255, 255, 0.01), rgba(43, 238, 121, 0.04))";
|
|
241
|
+
/**
|
|
242
|
+
* Brand headline gradient — white-to-fade. Used by `<HeadlineGradient />`
|
|
243
|
+
* via the `bg-gradient-headline` utility plus `bg-clip-text text-transparent`.
|
|
244
|
+
*/
|
|
245
|
+
readonly headline: "linear-gradient(to right, #ffffff, #ffffff, rgba(255, 255, 255, 0.45))";
|
|
102
246
|
};
|
|
103
247
|
|
|
104
248
|
/**
|
|
@@ -110,4 +254,90 @@ declare const transition: {
|
|
|
110
254
|
readonly slow: "300ms ease-out";
|
|
111
255
|
};
|
|
112
256
|
|
|
113
|
-
|
|
257
|
+
/**
|
|
258
|
+
* KaleidoSwap Animation Tokens
|
|
259
|
+
*/
|
|
260
|
+
declare const keyframes: {
|
|
261
|
+
readonly 'accordion-down': {
|
|
262
|
+
readonly from: {
|
|
263
|
+
readonly height: "0";
|
|
264
|
+
};
|
|
265
|
+
readonly to: {
|
|
266
|
+
readonly height: "var(--radix-accordion-content-height)";
|
|
267
|
+
};
|
|
268
|
+
};
|
|
269
|
+
readonly 'accordion-up': {
|
|
270
|
+
readonly from: {
|
|
271
|
+
readonly height: "var(--radix-accordion-content-height)";
|
|
272
|
+
};
|
|
273
|
+
readonly to: {
|
|
274
|
+
readonly height: "0";
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
readonly 'fade-in': {
|
|
278
|
+
readonly from: {
|
|
279
|
+
readonly opacity: "0";
|
|
280
|
+
};
|
|
281
|
+
readonly to: {
|
|
282
|
+
readonly opacity: "1";
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
readonly 'slide-up': {
|
|
286
|
+
readonly from: {
|
|
287
|
+
readonly opacity: "0";
|
|
288
|
+
readonly transform: "translateY(10px)";
|
|
289
|
+
};
|
|
290
|
+
readonly to: {
|
|
291
|
+
readonly opacity: "1";
|
|
292
|
+
readonly transform: "translateY(0)";
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
readonly 'slide-in-from-bottom': {
|
|
296
|
+
readonly from: {
|
|
297
|
+
readonly opacity: "0";
|
|
298
|
+
readonly transform: "translateY(20px)";
|
|
299
|
+
};
|
|
300
|
+
readonly to: {
|
|
301
|
+
readonly opacity: "1";
|
|
302
|
+
readonly transform: "translateY(0)";
|
|
303
|
+
};
|
|
304
|
+
};
|
|
305
|
+
readonly shimmer: {
|
|
306
|
+
readonly '0%': {
|
|
307
|
+
readonly backgroundPosition: "-200% 0";
|
|
308
|
+
};
|
|
309
|
+
readonly '100%': {
|
|
310
|
+
readonly backgroundPosition: "200% 0";
|
|
311
|
+
};
|
|
312
|
+
};
|
|
313
|
+
readonly 'stagger-up': {
|
|
314
|
+
readonly '0%': {
|
|
315
|
+
readonly opacity: "0";
|
|
316
|
+
readonly transform: "translateY(15px)";
|
|
317
|
+
};
|
|
318
|
+
readonly '100%': {
|
|
319
|
+
readonly opacity: "1";
|
|
320
|
+
readonly transform: "translateY(0)";
|
|
321
|
+
};
|
|
322
|
+
};
|
|
323
|
+
readonly 'bounce-slight': {
|
|
324
|
+
readonly '0%, 100%': {
|
|
325
|
+
readonly transform: "translateY(-5%)";
|
|
326
|
+
};
|
|
327
|
+
readonly '50%': {
|
|
328
|
+
readonly transform: "translateY(0)";
|
|
329
|
+
};
|
|
330
|
+
};
|
|
331
|
+
};
|
|
332
|
+
declare const animation: {
|
|
333
|
+
readonly 'accordion-down': "accordion-down 0.2s ease-out";
|
|
334
|
+
readonly 'accordion-up': "accordion-up 0.2s ease-out";
|
|
335
|
+
readonly 'fade-in': "fade-in 0.3s ease-out";
|
|
336
|
+
readonly 'slide-up': "slide-up 0.3s ease-out";
|
|
337
|
+
readonly 'slide-in-from-bottom': "slide-in-from-bottom 0.4s ease-out";
|
|
338
|
+
readonly 'stagger-up': "stagger-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) backwards";
|
|
339
|
+
readonly shimmer: "shimmer 2s linear infinite";
|
|
340
|
+
readonly 'bounce-slight': "bounce-slight 2s infinite";
|
|
341
|
+
};
|
|
342
|
+
|
|
343
|
+
export { animation, colors, fontFamily, fontWeight, gradient, iconBoxSize, iconSize, keyframes, letterSpacing, lightSemanticColors, radius, shadow, transition, typeScale };
|