kaleido-ui 0.1.0 → 0.1.2
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 +63 -176
- package/dist/native/index.cjs +54 -41
- package/dist/native/index.d.cts +56 -51
- package/dist/native/index.d.ts +56 -51
- package/dist/native/index.js +54 -41
- package/dist/tailwind/index.cjs +67 -77
- package/dist/tailwind/index.d.cts +8 -28
- package/dist/tailwind/index.d.ts +8 -28
- package/dist/tailwind/index.js +67 -77
- package/dist/tokens/index.cjs +49 -35
- package/dist/tokens/index.d.cts +45 -39
- package/dist/tokens/index.d.ts +45 -39
- package/dist/tokens/index.js +49 -35
- package/dist/web/index.cjs +48 -42
- package/dist/web/index.js +48 -42
- package/package.json +12 -2
package/dist/native/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export { AmountInput, AssetSelector, Balance, CryptoAddressInput, NetworkSelecto
|
|
|
10
10
|
*/
|
|
11
11
|
declare const kaleidoswapBrandConfig: {
|
|
12
12
|
primaryColor: "#2BEE79";
|
|
13
|
-
secondaryColor: "
|
|
13
|
+
secondaryColor: "hsl(154 26% 17%)";
|
|
14
14
|
};
|
|
15
15
|
/**
|
|
16
16
|
* Full custom theme tokens for more granular control.
|
|
@@ -18,18 +18,17 @@ declare const kaleidoswapBrandConfig: {
|
|
|
18
18
|
declare const kaleidoswapTokens: {
|
|
19
19
|
readonly colors: {
|
|
20
20
|
readonly primary: "#2BEE79";
|
|
21
|
-
readonly
|
|
22
|
-
readonly
|
|
23
|
-
readonly
|
|
24
|
-
readonly
|
|
25
|
-
readonly
|
|
26
|
-
readonly
|
|
27
|
-
readonly
|
|
28
|
-
readonly textSecondary: "#92C9A8";
|
|
21
|
+
readonly primaryFg: "#051B10";
|
|
22
|
+
readonly background: "hsl(158 58% 7%)";
|
|
23
|
+
readonly surface: "hsl(156 32% 12%)";
|
|
24
|
+
readonly surfaceHighlight: "hsl(154 26% 17%)";
|
|
25
|
+
readonly border: "hsl(150 20% 24%)";
|
|
26
|
+
readonly textPrimary: "#ffffff";
|
|
27
|
+
readonly textSecondary: "rgba(255, 255, 255, 0.55)";
|
|
29
28
|
readonly success: "#2BEE79";
|
|
30
|
-
readonly warning: "#
|
|
31
|
-
readonly error: "
|
|
32
|
-
readonly info: "#
|
|
29
|
+
readonly warning: "#F7931A";
|
|
30
|
+
readonly error: "hsl(0 62% 50%)";
|
|
31
|
+
readonly info: "#2BEE79";
|
|
33
32
|
readonly network: {
|
|
34
33
|
readonly bitcoin: "#F7931A";
|
|
35
34
|
readonly rgb: "#DD352E";
|
|
@@ -103,35 +102,16 @@ interface SectionLabelProps {
|
|
|
103
102
|
}
|
|
104
103
|
declare function SectionLabel({ children, style }: SectionLabelProps): react_jsx_runtime.JSX.Element;
|
|
105
104
|
|
|
106
|
-
/**
|
|
107
|
-
* KaleidoSwap Color Tokens
|
|
108
|
-
*
|
|
109
|
-
* Single source of truth for all color constants across web and native.
|
|
110
|
-
*/
|
|
111
105
|
declare const colors: {
|
|
112
|
-
|
|
113
|
-
readonly
|
|
114
|
-
readonly
|
|
115
|
-
readonly
|
|
116
|
-
/** Surfaces (dark theme — the default) */
|
|
117
|
-
readonly bgDark: "#102217";
|
|
118
|
-
readonly surfaceDark: "#162E21";
|
|
119
|
-
readonly surfaceHighlight: "#243E30";
|
|
120
|
-
readonly surfaceBorder: "#244A35";
|
|
121
|
-
readonly surfaceDarker: "#0B1810";
|
|
122
|
-
/** Surfaces (light theme) */
|
|
123
|
-
readonly bgLight: "#F6F8F7";
|
|
124
|
-
readonly surfaceLight: "#FFFFFF";
|
|
125
|
-
/** Text */
|
|
126
|
-
readonly textPrimary: "#FFFFFF";
|
|
127
|
-
readonly textSecondary: "#92C9A8";
|
|
128
|
-
readonly textMuted: "rgba(255,255,255,0.5)";
|
|
129
|
-
readonly textDimmed: "rgba(255,255,255,0.35)";
|
|
106
|
+
readonly textPrimary: "#ffffff";
|
|
107
|
+
readonly textSecondary: "rgba(255, 255, 255, 0.55)";
|
|
108
|
+
readonly textMuted: "hsl(150 20% 24%)";
|
|
109
|
+
readonly textDimmed: "#2BEE79";
|
|
130
110
|
/** Semantic */
|
|
131
111
|
readonly success: "#2BEE79";
|
|
132
|
-
readonly warning: "#
|
|
133
|
-
readonly error: "
|
|
134
|
-
readonly info: "#
|
|
112
|
+
readonly warning: "#F7931A";
|
|
113
|
+
readonly error: "hsl(0 62% 50%)";
|
|
114
|
+
readonly info: "#2BEE79";
|
|
135
115
|
/** Network / Layer */
|
|
136
116
|
readonly network: {
|
|
137
117
|
readonly bitcoin: "#F7931A";
|
|
@@ -146,13 +126,38 @@ declare const colors: {
|
|
|
146
126
|
readonly receive: "#2BEE79";
|
|
147
127
|
readonly swap: "#4290FF";
|
|
148
128
|
};
|
|
129
|
+
readonly background: "hsl(158 58% 7%)";
|
|
130
|
+
readonly foreground: "#ffffff";
|
|
131
|
+
readonly border: "hsl(150 20% 24%)";
|
|
132
|
+
readonly input: "rgba(255, 255, 255, 0.15)";
|
|
133
|
+
readonly destructive: "hsl(0 62% 50%)";
|
|
134
|
+
readonly secondary: "hsl(154 26% 17%)";
|
|
135
|
+
readonly secondaryFg: "#ffffff";
|
|
136
|
+
readonly muted: "hsl(156 32% 12%)";
|
|
137
|
+
readonly mutedFg: "rgba(255, 255, 255, 0.55)";
|
|
138
|
+
readonly primary: "#2BEE79";
|
|
139
|
+
readonly primaryFg: "#051B10";
|
|
140
|
+
readonly accent: "hsl(154 26% 17%)";
|
|
141
|
+
readonly accentFg: "#ffffff";
|
|
142
|
+
readonly ring: "#2BEE79";
|
|
143
|
+
readonly card: "hsl(156 32% 12%)";
|
|
144
|
+
readonly cardFg: "#ffffff";
|
|
145
|
+
readonly popover: "hsl(154 26% 17%)";
|
|
146
|
+
readonly popoverFg: "#ffffff";
|
|
147
|
+
readonly chart1: "#2BEE79";
|
|
148
|
+
readonly chart2: "#F6C343";
|
|
149
|
+
readonly chart3: "#F7931A";
|
|
150
|
+
readonly chart4: "#7C3AED";
|
|
151
|
+
readonly chart5: "#DD352E";
|
|
152
|
+
readonly semanticBackground: "hsl(156 32% 12%)";
|
|
153
|
+
readonly semanticBorder: "hsl(150 20% 24%)";
|
|
149
154
|
};
|
|
150
155
|
|
|
151
156
|
/**
|
|
152
157
|
* KaleidoSwap Typography Tokens
|
|
153
158
|
*/
|
|
154
159
|
declare const fontFamily: {
|
|
155
|
-
readonly display: "'
|
|
160
|
+
readonly display: "'Satoshi', system-ui, -apple-system, sans-serif";
|
|
156
161
|
readonly mono: "'Geist Mono', monospace";
|
|
157
162
|
};
|
|
158
163
|
/**
|
|
@@ -179,14 +184,14 @@ declare const fontWeight: {
|
|
|
179
184
|
* KaleidoSwap Border Radius Tokens
|
|
180
185
|
*/
|
|
181
186
|
declare const radius: {
|
|
182
|
-
readonly sm: "
|
|
183
|
-
readonly md: "
|
|
184
|
-
readonly lg: "
|
|
185
|
-
readonly xl: "
|
|
186
|
-
readonly card: "
|
|
187
|
-
readonly panel: "
|
|
188
|
-
readonly pill: "
|
|
189
|
-
readonly nav: "
|
|
187
|
+
readonly sm: "4px";
|
|
188
|
+
readonly md: "6px";
|
|
189
|
+
readonly lg: "8px";
|
|
190
|
+
readonly xl: "12px";
|
|
191
|
+
readonly card: "16px";
|
|
192
|
+
readonly panel: "24px";
|
|
193
|
+
readonly pill: "9999px";
|
|
194
|
+
readonly nav: "32px";
|
|
190
195
|
readonly full: "9999px";
|
|
191
196
|
};
|
|
192
197
|
|
|
@@ -194,10 +199,10 @@ declare const radius: {
|
|
|
194
199
|
* KaleidoSwap Shadow Tokens
|
|
195
200
|
*/
|
|
196
201
|
declare const shadow: {
|
|
197
|
-
readonly glow: "0 0 20px rgba(
|
|
198
|
-
readonly glowStrong: "0 0 30px rgba(
|
|
199
|
-
readonly glowSubtle: "0 0 15px rgba(
|
|
200
|
-
readonly glowAccent: "0 4px 30px rgba(
|
|
202
|
+
readonly glow: "0 0 20px rgba(10, 10, 10, 0.15)";
|
|
203
|
+
readonly glowStrong: "0 0 30px rgba(10, 10, 10, 0.25)";
|
|
204
|
+
readonly glowSubtle: "0 0 15px rgba(10, 10, 10, 0.12)";
|
|
205
|
+
readonly glowAccent: "0 4px 30px rgba(10, 10, 10, 0.18)";
|
|
201
206
|
};
|
|
202
207
|
|
|
203
208
|
/**
|
package/dist/native/index.js
CHANGED
|
@@ -2,30 +2,44 @@
|
|
|
2
2
|
import { ThemeProvider } from "@tetherto/wdk-uikit-react-native";
|
|
3
3
|
|
|
4
4
|
// src/tokens/colors.ts
|
|
5
|
-
var
|
|
6
|
-
|
|
5
|
+
var darkSemanticColors = {
|
|
6
|
+
background: "hsl(158 58% 7%)",
|
|
7
|
+
foreground: "#ffffff",
|
|
8
|
+
border: "hsl(150 20% 24%)",
|
|
9
|
+
input: "rgba(255, 255, 255, 0.15)",
|
|
10
|
+
destructive: "hsl(0 62% 50%)",
|
|
11
|
+
secondary: "hsl(154 26% 17%)",
|
|
12
|
+
secondaryFg: "#ffffff",
|
|
13
|
+
muted: "hsl(156 32% 12%)",
|
|
14
|
+
mutedFg: "rgba(255, 255, 255, 0.55)",
|
|
7
15
|
primary: "#2BEE79",
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
16
|
+
primaryFg: "#051B10",
|
|
17
|
+
accent: "hsl(154 26% 17%)",
|
|
18
|
+
accentFg: "#ffffff",
|
|
19
|
+
ring: "#2BEE79",
|
|
20
|
+
card: "hsl(156 32% 12%)",
|
|
21
|
+
cardFg: "#ffffff",
|
|
22
|
+
popover: "hsl(154 26% 17%)",
|
|
23
|
+
popoverFg: "#ffffff",
|
|
24
|
+
chart1: "#2BEE79",
|
|
25
|
+
chart2: "#F6C343",
|
|
26
|
+
chart3: "#F7931A",
|
|
27
|
+
chart4: "#7C3AED",
|
|
28
|
+
chart5: "#DD352E",
|
|
29
|
+
semanticBackground: "hsl(156 32% 12%)",
|
|
30
|
+
semanticBorder: "hsl(150 20% 24%)"
|
|
31
|
+
};
|
|
32
|
+
var colors = {
|
|
33
|
+
...darkSemanticColors,
|
|
34
|
+
textPrimary: darkSemanticColors.foreground,
|
|
35
|
+
textSecondary: darkSemanticColors.mutedFg,
|
|
36
|
+
textMuted: darkSemanticColors.border,
|
|
37
|
+
textDimmed: darkSemanticColors.ring,
|
|
24
38
|
/** Semantic */
|
|
25
|
-
success:
|
|
26
|
-
warning:
|
|
27
|
-
error:
|
|
28
|
-
info:
|
|
39
|
+
success: darkSemanticColors.primary,
|
|
40
|
+
warning: darkSemanticColors.chart3,
|
|
41
|
+
error: darkSemanticColors.destructive,
|
|
42
|
+
info: darkSemanticColors.chart1,
|
|
29
43
|
/** Network / Layer */
|
|
30
44
|
network: {
|
|
31
45
|
bitcoin: "#F7931A",
|
|
@@ -45,17 +59,16 @@ var colors = {
|
|
|
45
59
|
// src/native/theme.ts
|
|
46
60
|
var kaleidoswapBrandConfig = {
|
|
47
61
|
primaryColor: colors.primary,
|
|
48
|
-
secondaryColor: colors.
|
|
62
|
+
secondaryColor: colors.secondary
|
|
49
63
|
};
|
|
50
64
|
var kaleidoswapTokens = {
|
|
51
65
|
colors: {
|
|
52
66
|
primary: colors.primary,
|
|
53
|
-
primaryDark: colors.primaryDark,
|
|
54
67
|
primaryFg: colors.primaryFg,
|
|
55
|
-
background: colors.
|
|
56
|
-
surface: colors.
|
|
57
|
-
surfaceHighlight: colors.
|
|
58
|
-
border: colors.
|
|
68
|
+
background: colors.background,
|
|
69
|
+
surface: colors.card,
|
|
70
|
+
surfaceHighlight: colors.accent,
|
|
71
|
+
border: colors.border,
|
|
59
72
|
textPrimary: colors.textPrimary,
|
|
60
73
|
textSecondary: colors.textSecondary,
|
|
61
74
|
success: colors.success,
|
|
@@ -207,7 +220,7 @@ var styles4 = StyleSheet4.create({
|
|
|
207
220
|
|
|
208
221
|
// src/tokens/typography.ts
|
|
209
222
|
var fontFamily = {
|
|
210
|
-
display: "'
|
|
223
|
+
display: "'Satoshi', system-ui, -apple-system, sans-serif",
|
|
211
224
|
mono: "'Geist Mono', monospace"
|
|
212
225
|
};
|
|
213
226
|
var typeScale = {
|
|
@@ -229,23 +242,23 @@ var fontWeight = {
|
|
|
229
242
|
|
|
230
243
|
// src/tokens/radius.ts
|
|
231
244
|
var radius = {
|
|
232
|
-
sm: "
|
|
233
|
-
md: "
|
|
234
|
-
lg: "
|
|
235
|
-
xl: "
|
|
236
|
-
card: "
|
|
237
|
-
panel: "
|
|
238
|
-
pill: "
|
|
239
|
-
nav: "
|
|
245
|
+
sm: "4px",
|
|
246
|
+
md: "6px",
|
|
247
|
+
lg: "8px",
|
|
248
|
+
xl: "12px",
|
|
249
|
+
card: "16px",
|
|
250
|
+
panel: "24px",
|
|
251
|
+
pill: "9999px",
|
|
252
|
+
nav: "32px",
|
|
240
253
|
full: "9999px"
|
|
241
254
|
};
|
|
242
255
|
|
|
243
256
|
// src/tokens/shadows.ts
|
|
244
257
|
var shadow = {
|
|
245
|
-
glow: "0 0 20px rgba(
|
|
246
|
-
glowStrong: "0 0 30px rgba(
|
|
247
|
-
glowSubtle: "0 0 15px rgba(
|
|
248
|
-
glowAccent: "0 4px 30px rgba(
|
|
258
|
+
glow: "0 0 20px rgba(10, 10, 10, 0.15)",
|
|
259
|
+
glowStrong: "0 0 30px rgba(10, 10, 10, 0.25)",
|
|
260
|
+
glowSubtle: "0 0 15px rgba(10, 10, 10, 0.12)",
|
|
261
|
+
glowAccent: "0 4px 30px rgba(10, 10, 10, 0.18)"
|
|
249
262
|
};
|
|
250
263
|
|
|
251
264
|
// src/tokens/transitions.ts
|
package/dist/tailwind/index.cjs
CHANGED
|
@@ -25,30 +25,44 @@ __export(tailwind_exports, {
|
|
|
25
25
|
module.exports = __toCommonJS(tailwind_exports);
|
|
26
26
|
|
|
27
27
|
// src/tokens/colors.ts
|
|
28
|
-
var
|
|
29
|
-
|
|
28
|
+
var darkSemanticColors = {
|
|
29
|
+
background: "hsl(158 58% 7%)",
|
|
30
|
+
foreground: "#ffffff",
|
|
31
|
+
border: "hsl(150 20% 24%)",
|
|
32
|
+
input: "rgba(255, 255, 255, 0.15)",
|
|
33
|
+
destructive: "hsl(0 62% 50%)",
|
|
34
|
+
secondary: "hsl(154 26% 17%)",
|
|
35
|
+
secondaryFg: "#ffffff",
|
|
36
|
+
muted: "hsl(156 32% 12%)",
|
|
37
|
+
mutedFg: "rgba(255, 255, 255, 0.55)",
|
|
30
38
|
primary: "#2BEE79",
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
39
|
+
primaryFg: "#051B10",
|
|
40
|
+
accent: "hsl(154 26% 17%)",
|
|
41
|
+
accentFg: "#ffffff",
|
|
42
|
+
ring: "#2BEE79",
|
|
43
|
+
card: "hsl(156 32% 12%)",
|
|
44
|
+
cardFg: "#ffffff",
|
|
45
|
+
popover: "hsl(154 26% 17%)",
|
|
46
|
+
popoverFg: "#ffffff",
|
|
47
|
+
chart1: "#2BEE79",
|
|
48
|
+
chart2: "#F6C343",
|
|
49
|
+
chart3: "#F7931A",
|
|
50
|
+
chart4: "#7C3AED",
|
|
51
|
+
chart5: "#DD352E",
|
|
52
|
+
semanticBackground: "hsl(156 32% 12%)",
|
|
53
|
+
semanticBorder: "hsl(150 20% 24%)"
|
|
54
|
+
};
|
|
55
|
+
var colors = {
|
|
56
|
+
...darkSemanticColors,
|
|
57
|
+
textPrimary: darkSemanticColors.foreground,
|
|
58
|
+
textSecondary: darkSemanticColors.mutedFg,
|
|
59
|
+
textMuted: darkSemanticColors.border,
|
|
60
|
+
textDimmed: darkSemanticColors.ring,
|
|
47
61
|
/** Semantic */
|
|
48
|
-
success:
|
|
49
|
-
warning:
|
|
50
|
-
error:
|
|
51
|
-
info:
|
|
62
|
+
success: darkSemanticColors.primary,
|
|
63
|
+
warning: darkSemanticColors.chart3,
|
|
64
|
+
error: darkSemanticColors.destructive,
|
|
65
|
+
info: darkSemanticColors.chart1,
|
|
52
66
|
/** Network / Layer */
|
|
53
67
|
network: {
|
|
54
68
|
bitcoin: "#F7931A",
|
|
@@ -67,7 +81,7 @@ var colors = {
|
|
|
67
81
|
|
|
68
82
|
// src/tokens/typography.ts
|
|
69
83
|
var fontFamily = {
|
|
70
|
-
display: "'
|
|
84
|
+
display: "'Satoshi', system-ui, -apple-system, sans-serif",
|
|
71
85
|
mono: "'Geist Mono', monospace"
|
|
72
86
|
};
|
|
73
87
|
var typeScale = {
|
|
@@ -83,76 +97,61 @@ var typeScale = {
|
|
|
83
97
|
|
|
84
98
|
// src/tokens/radius.ts
|
|
85
99
|
var radius = {
|
|
86
|
-
sm: "
|
|
87
|
-
md: "
|
|
88
|
-
lg: "
|
|
89
|
-
xl: "
|
|
90
|
-
card: "
|
|
91
|
-
panel: "
|
|
92
|
-
pill: "
|
|
93
|
-
nav: "
|
|
100
|
+
sm: "4px",
|
|
101
|
+
md: "6px",
|
|
102
|
+
lg: "8px",
|
|
103
|
+
xl: "12px",
|
|
104
|
+
card: "16px",
|
|
105
|
+
panel: "24px",
|
|
106
|
+
pill: "9999px",
|
|
107
|
+
nav: "32px",
|
|
94
108
|
full: "9999px"
|
|
95
109
|
};
|
|
96
110
|
|
|
97
|
-
// src/tokens/shadows.ts
|
|
98
|
-
var shadow = {
|
|
99
|
-
glow: "0 0 20px rgba(43, 238, 121, 0.15)",
|
|
100
|
-
glowStrong: "0 0 30px rgba(43, 238, 121, 0.3)",
|
|
101
|
-
glowSubtle: "0 0 15px rgba(43, 238, 121, 0.15)",
|
|
102
|
-
glowAccent: "0 4px 30px rgba(43, 238, 121, 0.25)"
|
|
103
|
-
};
|
|
104
|
-
|
|
105
111
|
// src/tailwind/index.ts
|
|
106
112
|
var preset = {
|
|
107
113
|
darkMode: ["class"],
|
|
108
114
|
theme: {
|
|
109
115
|
extend: {
|
|
110
116
|
colors: {
|
|
111
|
-
border: "
|
|
112
|
-
input: "
|
|
113
|
-
ring: "
|
|
114
|
-
background: "
|
|
115
|
-
foreground: "
|
|
117
|
+
border: "var(--border)",
|
|
118
|
+
input: "var(--input)",
|
|
119
|
+
ring: "var(--ring)",
|
|
120
|
+
background: "var(--background)",
|
|
121
|
+
foreground: "var(--foreground)",
|
|
116
122
|
primary: {
|
|
117
|
-
DEFAULT:
|
|
118
|
-
foreground:
|
|
119
|
-
dark: colors.primaryDark
|
|
123
|
+
DEFAULT: "var(--primary)",
|
|
124
|
+
foreground: "var(--primary-foreground)"
|
|
120
125
|
},
|
|
121
126
|
secondary: {
|
|
122
|
-
DEFAULT: "
|
|
123
|
-
foreground: "
|
|
127
|
+
DEFAULT: "var(--secondary)",
|
|
128
|
+
foreground: "var(--secondary-foreground)"
|
|
124
129
|
},
|
|
125
130
|
destructive: {
|
|
126
|
-
DEFAULT: "
|
|
127
|
-
foreground: "
|
|
131
|
+
DEFAULT: "var(--destructive)",
|
|
132
|
+
foreground: "var(--destructive-foreground)"
|
|
128
133
|
},
|
|
129
134
|
muted: {
|
|
130
|
-
DEFAULT: "
|
|
131
|
-
foreground: "
|
|
135
|
+
DEFAULT: "var(--muted)",
|
|
136
|
+
foreground: "var(--muted-foreground)"
|
|
132
137
|
},
|
|
133
138
|
accent: {
|
|
134
|
-
DEFAULT: "
|
|
135
|
-
foreground: "
|
|
139
|
+
DEFAULT: "var(--accent)",
|
|
140
|
+
foreground: "var(--accent-foreground)"
|
|
136
141
|
},
|
|
137
142
|
popover: {
|
|
138
|
-
DEFAULT: "
|
|
139
|
-
foreground: "
|
|
143
|
+
DEFAULT: "var(--popover)",
|
|
144
|
+
foreground: "var(--popover-foreground)"
|
|
140
145
|
},
|
|
141
146
|
card: {
|
|
142
|
-
DEFAULT: "
|
|
143
|
-
foreground: "
|
|
147
|
+
DEFAULT: "var(--card)",
|
|
148
|
+
foreground: "var(--card-foreground)"
|
|
144
149
|
},
|
|
145
150
|
network: colors.network,
|
|
146
|
-
tx: colors.tx
|
|
147
|
-
"background-light": colors.bgLight,
|
|
148
|
-
"background-dark": colors.bgDark,
|
|
149
|
-
"surface-dark": colors.surfaceDark,
|
|
150
|
-
"surface-light": colors.surfaceLight,
|
|
151
|
-
"surface-highlight": colors.surfaceHighlight,
|
|
152
|
-
"surface-border": colors.surfaceBorder,
|
|
153
|
-
"surface-darker": colors.surfaceDarker
|
|
151
|
+
tx: colors.tx
|
|
154
152
|
},
|
|
155
153
|
fontFamily: {
|
|
154
|
+
sans: fontFamily.display.split(", "),
|
|
156
155
|
display: fontFamily.display.split(", "),
|
|
157
156
|
mono: fontFamily.mono.split(", ")
|
|
158
157
|
},
|
|
@@ -169,16 +168,12 @@ var preset = {
|
|
|
169
168
|
xl: "0.75rem",
|
|
170
169
|
"2xl": "1rem",
|
|
171
170
|
"3xl": "1.5rem",
|
|
171
|
+
"4xl": "var(--radius-4xl)",
|
|
172
172
|
card: radius.card,
|
|
173
173
|
panel: radius.panel,
|
|
174
174
|
pill: radius.pill,
|
|
175
175
|
nav: radius.nav
|
|
176
176
|
},
|
|
177
|
-
boxShadow: {
|
|
178
|
-
glow: shadow.glow,
|
|
179
|
-
"glow-strong": shadow.glowStrong,
|
|
180
|
-
"glow-subtle": shadow.glowSubtle
|
|
181
|
-
},
|
|
182
177
|
keyframes: {
|
|
183
178
|
"accordion-down": {
|
|
184
179
|
from: { height: "0" },
|
|
@@ -188,10 +183,6 @@ var preset = {
|
|
|
188
183
|
from: { height: "var(--radix-accordion-content-height)" },
|
|
189
184
|
to: { height: "0" }
|
|
190
185
|
},
|
|
191
|
-
"pulse-glow": {
|
|
192
|
-
"0%, 100%": { boxShadow: "0 0 20px rgba(43, 238, 121, 0.2)" },
|
|
193
|
-
"50%": { boxShadow: "0 0 30px rgba(43, 238, 121, 0.4)" }
|
|
194
|
-
},
|
|
195
186
|
"fade-in": {
|
|
196
187
|
from: { opacity: "0" },
|
|
197
188
|
to: { opacity: "1" }
|
|
@@ -220,7 +211,6 @@ var preset = {
|
|
|
220
211
|
animation: {
|
|
221
212
|
"accordion-down": "accordion-down 0.2s ease-out",
|
|
222
213
|
"accordion-up": "accordion-up 0.2s ease-out",
|
|
223
|
-
"pulse-glow": "pulse-glow 2s ease-in-out infinite",
|
|
224
214
|
"fade-in": "fade-in 0.3s ease-out",
|
|
225
215
|
"slide-up": "slide-up 0.3s ease-out",
|
|
226
216
|
"slide-in-from-bottom": "slide-in-from-bottom 0.4s ease-out",
|
|
@@ -9,9 +9,8 @@ declare const preset: {
|
|
|
9
9
|
background: string;
|
|
10
10
|
foreground: string;
|
|
11
11
|
primary: {
|
|
12
|
-
DEFAULT:
|
|
13
|
-
foreground:
|
|
14
|
-
dark: "#1FA855";
|
|
12
|
+
DEFAULT: string;
|
|
13
|
+
foreground: string;
|
|
15
14
|
};
|
|
16
15
|
secondary: {
|
|
17
16
|
DEFAULT: string;
|
|
@@ -49,15 +48,9 @@ declare const preset: {
|
|
|
49
48
|
readonly receive: "#2BEE79";
|
|
50
49
|
readonly swap: "#4290FF";
|
|
51
50
|
};
|
|
52
|
-
'background-light': "#F6F8F7";
|
|
53
|
-
'background-dark': "#102217";
|
|
54
|
-
'surface-dark': "#162E21";
|
|
55
|
-
'surface-light': "#FFFFFF";
|
|
56
|
-
'surface-highlight': "#243E30";
|
|
57
|
-
'surface-border': "#244A35";
|
|
58
|
-
'surface-darker': "#0B1810";
|
|
59
51
|
};
|
|
60
52
|
fontFamily: {
|
|
53
|
+
sans: string[];
|
|
61
54
|
display: string[];
|
|
62
55
|
mono: string[];
|
|
63
56
|
};
|
|
@@ -73,15 +66,11 @@ declare const preset: {
|
|
|
73
66
|
xl: string;
|
|
74
67
|
'2xl': string;
|
|
75
68
|
'3xl': string;
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
boxShadow: {
|
|
82
|
-
glow: "0 0 20px rgba(43, 238, 121, 0.15)";
|
|
83
|
-
'glow-strong': "0 0 30px rgba(43, 238, 121, 0.3)";
|
|
84
|
-
'glow-subtle': "0 0 15px rgba(43, 238, 121, 0.15)";
|
|
69
|
+
'4xl': string;
|
|
70
|
+
card: "16px";
|
|
71
|
+
panel: "24px";
|
|
72
|
+
pill: "9999px";
|
|
73
|
+
nav: "32px";
|
|
85
74
|
};
|
|
86
75
|
keyframes: {
|
|
87
76
|
'accordion-down': {
|
|
@@ -100,14 +89,6 @@ declare const preset: {
|
|
|
100
89
|
height: string;
|
|
101
90
|
};
|
|
102
91
|
};
|
|
103
|
-
'pulse-glow': {
|
|
104
|
-
'0%, 100%': {
|
|
105
|
-
boxShadow: string;
|
|
106
|
-
};
|
|
107
|
-
'50%': {
|
|
108
|
-
boxShadow: string;
|
|
109
|
-
};
|
|
110
|
-
};
|
|
111
92
|
'fade-in': {
|
|
112
93
|
from: {
|
|
113
94
|
opacity: string;
|
|
@@ -166,7 +147,6 @@ declare const preset: {
|
|
|
166
147
|
animation: {
|
|
167
148
|
'accordion-down': string;
|
|
168
149
|
'accordion-up': string;
|
|
169
|
-
'pulse-glow': string;
|
|
170
150
|
'fade-in': string;
|
|
171
151
|
'slide-up': string;
|
|
172
152
|
'slide-in-from-bottom': string;
|
package/dist/tailwind/index.d.ts
CHANGED
|
@@ -9,9 +9,8 @@ declare const preset: {
|
|
|
9
9
|
background: string;
|
|
10
10
|
foreground: string;
|
|
11
11
|
primary: {
|
|
12
|
-
DEFAULT:
|
|
13
|
-
foreground:
|
|
14
|
-
dark: "#1FA855";
|
|
12
|
+
DEFAULT: string;
|
|
13
|
+
foreground: string;
|
|
15
14
|
};
|
|
16
15
|
secondary: {
|
|
17
16
|
DEFAULT: string;
|
|
@@ -49,15 +48,9 @@ declare const preset: {
|
|
|
49
48
|
readonly receive: "#2BEE79";
|
|
50
49
|
readonly swap: "#4290FF";
|
|
51
50
|
};
|
|
52
|
-
'background-light': "#F6F8F7";
|
|
53
|
-
'background-dark': "#102217";
|
|
54
|
-
'surface-dark': "#162E21";
|
|
55
|
-
'surface-light': "#FFFFFF";
|
|
56
|
-
'surface-highlight': "#243E30";
|
|
57
|
-
'surface-border': "#244A35";
|
|
58
|
-
'surface-darker': "#0B1810";
|
|
59
51
|
};
|
|
60
52
|
fontFamily: {
|
|
53
|
+
sans: string[];
|
|
61
54
|
display: string[];
|
|
62
55
|
mono: string[];
|
|
63
56
|
};
|
|
@@ -73,15 +66,11 @@ declare const preset: {
|
|
|
73
66
|
xl: string;
|
|
74
67
|
'2xl': string;
|
|
75
68
|
'3xl': string;
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
boxShadow: {
|
|
82
|
-
glow: "0 0 20px rgba(43, 238, 121, 0.15)";
|
|
83
|
-
'glow-strong': "0 0 30px rgba(43, 238, 121, 0.3)";
|
|
84
|
-
'glow-subtle': "0 0 15px rgba(43, 238, 121, 0.15)";
|
|
69
|
+
'4xl': string;
|
|
70
|
+
card: "16px";
|
|
71
|
+
panel: "24px";
|
|
72
|
+
pill: "9999px";
|
|
73
|
+
nav: "32px";
|
|
85
74
|
};
|
|
86
75
|
keyframes: {
|
|
87
76
|
'accordion-down': {
|
|
@@ -100,14 +89,6 @@ declare const preset: {
|
|
|
100
89
|
height: string;
|
|
101
90
|
};
|
|
102
91
|
};
|
|
103
|
-
'pulse-glow': {
|
|
104
|
-
'0%, 100%': {
|
|
105
|
-
boxShadow: string;
|
|
106
|
-
};
|
|
107
|
-
'50%': {
|
|
108
|
-
boxShadow: string;
|
|
109
|
-
};
|
|
110
|
-
};
|
|
111
92
|
'fade-in': {
|
|
112
93
|
from: {
|
|
113
94
|
opacity: string;
|
|
@@ -166,7 +147,6 @@ declare const preset: {
|
|
|
166
147
|
animation: {
|
|
167
148
|
'accordion-down': string;
|
|
168
149
|
'accordion-up': string;
|
|
169
|
-
'pulse-glow': string;
|
|
170
150
|
'fade-in': string;
|
|
171
151
|
'slide-up': string;
|
|
172
152
|
'slide-in-from-bottom': string;
|