kaleido-ui 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/kaleido-ui.css +63 -176
- package/dist/native/index.cjs +54 -41
- package/dist/native/index.d.cts +63 -58
- package/dist/native/index.d.ts +63 -58
- 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 +46 -40
- package/dist/tokens/index.d.ts +46 -40
- 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
|
@@ -9,27 +9,26 @@ export { AmountInput, AssetSelector, Balance, CryptoAddressInput, NetworkSelecto
|
|
|
9
9
|
* <ThemeProvider brandConfig={kaleidoswapBrandConfig}>
|
|
10
10
|
*/
|
|
11
11
|
declare const kaleidoswapBrandConfig: {
|
|
12
|
-
primaryColor: "#
|
|
13
|
-
secondaryColor: "#
|
|
12
|
+
primaryColor: "#e5e5e5";
|
|
13
|
+
secondaryColor: "#262626";
|
|
14
14
|
};
|
|
15
15
|
/**
|
|
16
16
|
* Full custom theme tokens for more granular control.
|
|
17
17
|
*/
|
|
18
18
|
declare const kaleidoswapTokens: {
|
|
19
19
|
readonly colors: {
|
|
20
|
-
readonly primary: "#
|
|
21
|
-
readonly
|
|
22
|
-
readonly
|
|
23
|
-
readonly
|
|
24
|
-
readonly
|
|
25
|
-
readonly
|
|
26
|
-
readonly
|
|
27
|
-
readonly
|
|
28
|
-
readonly
|
|
29
|
-
readonly
|
|
30
|
-
readonly
|
|
31
|
-
readonly
|
|
32
|
-
readonly info: "#4290FF";
|
|
20
|
+
readonly primary: "#e5e5e5";
|
|
21
|
+
readonly primaryFg: "#171717";
|
|
22
|
+
readonly background: "#0a0a0a";
|
|
23
|
+
readonly surface: "#171717";
|
|
24
|
+
readonly surfaceHighlight: "#262626";
|
|
25
|
+
readonly border: "#ffffff1a";
|
|
26
|
+
readonly textPrimary: "#fafafa";
|
|
27
|
+
readonly textSecondary: "#a1a1a1";
|
|
28
|
+
readonly success: "#e5e5e5";
|
|
29
|
+
readonly warning: "#fe9a00";
|
|
30
|
+
readonly error: "#ff6467";
|
|
31
|
+
readonly info: "#1447e6";
|
|
33
32
|
readonly network: {
|
|
34
33
|
readonly bitcoin: "#F7931A";
|
|
35
34
|
readonly rgb: "#DD352E";
|
|
@@ -85,9 +84,9 @@ declare const variantConfig: {
|
|
|
85
84
|
readonly iconColor: "#60A5FA";
|
|
86
85
|
};
|
|
87
86
|
readonly success: {
|
|
88
|
-
readonly bg: "#
|
|
89
|
-
readonly borderColor: "#
|
|
90
|
-
readonly iconColor: "#
|
|
87
|
+
readonly bg: "#e5e5e51A";
|
|
88
|
+
readonly borderColor: "#e5e5e533";
|
|
89
|
+
readonly iconColor: "#e5e5e5";
|
|
91
90
|
};
|
|
92
91
|
};
|
|
93
92
|
interface AlertBannerProps {
|
|
@@ -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: "#fafafa";
|
|
107
|
+
readonly textSecondary: "#a1a1a1";
|
|
108
|
+
readonly textMuted: "#ffffff1a";
|
|
109
|
+
readonly textDimmed: "#737373";
|
|
130
110
|
/** Semantic */
|
|
131
|
-
readonly success: "#
|
|
132
|
-
readonly warning: "#
|
|
133
|
-
readonly error: "#
|
|
134
|
-
readonly info: "#
|
|
111
|
+
readonly success: "#e5e5e5";
|
|
112
|
+
readonly warning: "#fe9a00";
|
|
113
|
+
readonly error: "#ff6467";
|
|
114
|
+
readonly info: "#1447e6";
|
|
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: "#0a0a0a";
|
|
130
|
+
readonly foreground: "#fafafa";
|
|
131
|
+
readonly border: "#ffffff1a";
|
|
132
|
+
readonly input: "#ffffff26";
|
|
133
|
+
readonly destructive: "#ff6467";
|
|
134
|
+
readonly secondary: "#262626";
|
|
135
|
+
readonly secondaryFg: "#fafafa";
|
|
136
|
+
readonly muted: "#262626";
|
|
137
|
+
readonly mutedFg: "#a1a1a1";
|
|
138
|
+
readonly primary: "#e5e5e5";
|
|
139
|
+
readonly primaryFg: "#171717";
|
|
140
|
+
readonly accent: "#262626";
|
|
141
|
+
readonly accentFg: "#fafafa";
|
|
142
|
+
readonly ring: "#737373";
|
|
143
|
+
readonly card: "#171717";
|
|
144
|
+
readonly cardFg: "#fafafa";
|
|
145
|
+
readonly popover: "#171717";
|
|
146
|
+
readonly popoverFg: "#fafafa";
|
|
147
|
+
readonly chart1: "#1447e6";
|
|
148
|
+
readonly chart2: "#00bc7d";
|
|
149
|
+
readonly chart3: "#fe9a00";
|
|
150
|
+
readonly chart4: "#ad46ff";
|
|
151
|
+
readonly chart5: "#ff2056";
|
|
152
|
+
readonly semanticBackground: "#272625";
|
|
153
|
+
readonly semanticBorder: "#535151";
|
|
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 darkSemanticColors = {
|
|
6
|
+
background: "#0a0a0a",
|
|
7
|
+
foreground: "#fafafa",
|
|
8
|
+
border: "#ffffff1a",
|
|
9
|
+
input: "#ffffff26",
|
|
10
|
+
destructive: "#ff6467",
|
|
11
|
+
secondary: "#262626",
|
|
12
|
+
secondaryFg: "#fafafa",
|
|
13
|
+
muted: "#262626",
|
|
14
|
+
mutedFg: "#a1a1a1",
|
|
15
|
+
primary: "#e5e5e5",
|
|
16
|
+
primaryFg: "#171717",
|
|
17
|
+
accent: "#262626",
|
|
18
|
+
accentFg: "#fafafa",
|
|
19
|
+
ring: "#737373",
|
|
20
|
+
card: "#171717",
|
|
21
|
+
cardFg: "#fafafa",
|
|
22
|
+
popover: "#171717",
|
|
23
|
+
popoverFg: "#fafafa",
|
|
24
|
+
chart1: "#1447e6",
|
|
25
|
+
chart2: "#00bc7d",
|
|
26
|
+
chart3: "#fe9a00",
|
|
27
|
+
chart4: "#ad46ff",
|
|
28
|
+
chart5: "#ff2056",
|
|
29
|
+
semanticBackground: "#272625",
|
|
30
|
+
semanticBorder: "#535151"
|
|
31
|
+
};
|
|
5
32
|
var colors = {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
bgDark: "#102217",
|
|
12
|
-
surfaceDark: "#162E21",
|
|
13
|
-
surfaceHighlight: "#243E30",
|
|
14
|
-
surfaceBorder: "#244A35",
|
|
15
|
-
surfaceDarker: "#0B1810",
|
|
16
|
-
/** Surfaces (light theme) */
|
|
17
|
-
bgLight: "#F6F8F7",
|
|
18
|
-
surfaceLight: "#FFFFFF",
|
|
19
|
-
/** Text */
|
|
20
|
-
textPrimary: "#FFFFFF",
|
|
21
|
-
textSecondary: "#92C9A8",
|
|
22
|
-
textMuted: "rgba(255,255,255,0.5)",
|
|
23
|
-
textDimmed: "rgba(255,255,255,0.35)",
|
|
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 darkSemanticColors = {
|
|
29
|
+
background: "#0a0a0a",
|
|
30
|
+
foreground: "#fafafa",
|
|
31
|
+
border: "#ffffff1a",
|
|
32
|
+
input: "#ffffff26",
|
|
33
|
+
destructive: "#ff6467",
|
|
34
|
+
secondary: "#262626",
|
|
35
|
+
secondaryFg: "#fafafa",
|
|
36
|
+
muted: "#262626",
|
|
37
|
+
mutedFg: "#a1a1a1",
|
|
38
|
+
primary: "#e5e5e5",
|
|
39
|
+
primaryFg: "#171717",
|
|
40
|
+
accent: "#262626",
|
|
41
|
+
accentFg: "#fafafa",
|
|
42
|
+
ring: "#737373",
|
|
43
|
+
card: "#171717",
|
|
44
|
+
cardFg: "#fafafa",
|
|
45
|
+
popover: "#171717",
|
|
46
|
+
popoverFg: "#fafafa",
|
|
47
|
+
chart1: "#1447e6",
|
|
48
|
+
chart2: "#00bc7d",
|
|
49
|
+
chart3: "#fe9a00",
|
|
50
|
+
chart4: "#ad46ff",
|
|
51
|
+
chart5: "#ff2056",
|
|
52
|
+
semanticBackground: "#272625",
|
|
53
|
+
semanticBorder: "#535151"
|
|
54
|
+
};
|
|
28
55
|
var colors = {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
bgDark: "#102217",
|
|
35
|
-
surfaceDark: "#162E21",
|
|
36
|
-
surfaceHighlight: "#243E30",
|
|
37
|
-
surfaceBorder: "#244A35",
|
|
38
|
-
surfaceDarker: "#0B1810",
|
|
39
|
-
/** Surfaces (light theme) */
|
|
40
|
-
bgLight: "#F6F8F7",
|
|
41
|
-
surfaceLight: "#FFFFFF",
|
|
42
|
-
/** Text */
|
|
43
|
-
textPrimary: "#FFFFFF",
|
|
44
|
-
textSecondary: "#92C9A8",
|
|
45
|
-
textMuted: "rgba(255,255,255,0.5)",
|
|
46
|
-
textDimmed: "rgba(255,255,255,0.35)",
|
|
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;
|