kaleido-ui 0.1.4 → 0.1.6
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 +41 -5
- package/dist/native/index.cjs +20 -5
- package/dist/native/index.d.cts +20 -5
- package/dist/native/index.d.ts +20 -5
- package/dist/native/index.js +20 -5
- package/dist/tokens/index.cjs +39 -5
- package/dist/tokens/index.d.cts +40 -6
- package/dist/tokens/index.d.ts +40 -6
- package/dist/tokens/index.js +37 -5
- package/dist/web/index.cjs +1390 -1155
- package/dist/web/index.d.cts +39 -5
- package/dist/web/index.d.ts +39 -5
- package/dist/web/index.js +1376 -1138
- package/package.json +1 -1
package/dist/css/kaleido-ui.css
CHANGED
|
@@ -105,11 +105,16 @@
|
|
|
105
105
|
--color-network-arkade: #7C3AED;
|
|
106
106
|
--color-network-spark: #FF6D00;
|
|
107
107
|
--color-network-lightning: #F6C343;
|
|
108
|
-
--color-network-bitcoin-chip: #
|
|
109
|
-
--color-network-rgb-chip: #
|
|
110
|
-
--color-network-arkade-chip: #
|
|
111
|
-
--color-network-spark-chip: #
|
|
112
|
-
--color-network-lightning-chip: #
|
|
108
|
+
--color-network-bitcoin-chip: #44341F;
|
|
109
|
+
--color-network-rgb-chip: #44282B;
|
|
110
|
+
--color-network-arkade-chip: #362B55;
|
|
111
|
+
--color-network-spark-chip: #284338;
|
|
112
|
+
--color-network-lightning-chip: #3D421F;
|
|
113
|
+
--color-network-bitcoin-text: #F2B063;
|
|
114
|
+
--color-network-rgb-text: #E87872;
|
|
115
|
+
--color-network-arkade-text: #A98CF2;
|
|
116
|
+
--color-network-spark-text: #D6E5DE;
|
|
117
|
+
--color-network-lightning-text: #E4D56F;
|
|
113
118
|
|
|
114
119
|
/* Asset icon brand colors */
|
|
115
120
|
--color-asset-eth: #627EEA;
|
|
@@ -148,6 +153,20 @@
|
|
|
148
153
|
--color-text-disabled: rgba(255, 255, 255, 0.25);
|
|
149
154
|
--color-text-on-accent: #051B10;
|
|
150
155
|
|
|
156
|
+
/* Scrollbar colors */
|
|
157
|
+
--color-scrollbar-thumb: rgba(255, 255, 255, 0.16);
|
|
158
|
+
--color-scrollbar-thumb-hover: rgba(43, 238, 121, 0.55);
|
|
159
|
+
--color-scrollbar-track: transparent;
|
|
160
|
+
--spacing-scrollbar: 2px;
|
|
161
|
+
--spacing-scrollbar-hover: 6px;
|
|
162
|
+
--spacing-scrollbar-thumb-min: 24px;
|
|
163
|
+
|
|
164
|
+
/* Layers */
|
|
165
|
+
--z-header: 50;
|
|
166
|
+
--z-nav: 2147483646;
|
|
167
|
+
--z-scrollbar: 2147483645;
|
|
168
|
+
--z-modal: 2147483647;
|
|
169
|
+
|
|
151
170
|
/* Typography */
|
|
152
171
|
--font-sans: 'Satoshi', system-ui, -apple-system, sans-serif;
|
|
153
172
|
--font-display: 'Satoshi', system-ui, -apple-system, sans-serif;
|
|
@@ -225,6 +244,7 @@
|
|
|
225
244
|
--shadow-glow-strong: 0 0 30px rgba(10, 10, 10, 0.25);
|
|
226
245
|
--shadow-glow-subtle: 0 0 15px rgba(10, 10, 10, 0.12);
|
|
227
246
|
--shadow-glow-accent: 0 4px 30px rgba(10, 10, 10, 0.18);
|
|
247
|
+
--shadow-header: 0 10px 24px rgba(0, 0, 0, 0.22), 0 1px 0 rgba(255, 255, 255, 0.04);
|
|
228
248
|
--shadow-glow-primary-soft: 0 0 8px rgba(43, 238, 121, 0.5);
|
|
229
249
|
--shadow-glow-primary: 0 0 30px rgba(43, 238, 121, 0.45);
|
|
230
250
|
--shadow-glow-primary-strong: 0 0 40px rgba(43, 238, 121, 0.5);
|
|
@@ -349,3 +369,19 @@
|
|
|
349
369
|
.bg-gradient-headline {
|
|
350
370
|
background-image: var(--gradient-headline);
|
|
351
371
|
}
|
|
372
|
+
/* Legacy app scroll region. Prefer the ScrollArea component for visible overlay scrollbars. */
|
|
373
|
+
.app-scrollbar {
|
|
374
|
+
-ms-overflow-style: none;
|
|
375
|
+
scrollbar-width: none;
|
|
376
|
+
}
|
|
377
|
+
.app-scrollbar::-webkit-scrollbar {
|
|
378
|
+
display: none;
|
|
379
|
+
}
|
|
380
|
+
/* Hidden horizontal scroller utility used by compact chip rows. */
|
|
381
|
+
.no-scrollbar {
|
|
382
|
+
-ms-overflow-style: none;
|
|
383
|
+
scrollbar-width: none;
|
|
384
|
+
}
|
|
385
|
+
.no-scrollbar::-webkit-scrollbar {
|
|
386
|
+
display: none;
|
|
387
|
+
}
|
package/dist/native/index.cjs
CHANGED
|
@@ -116,6 +116,12 @@ var colors = {
|
|
|
116
116
|
disabled: "rgba(255, 255, 255, 0.25)",
|
|
117
117
|
onAccent: "#051B10"
|
|
118
118
|
},
|
|
119
|
+
/** Scrollbar treatment for app-owned scroll regions */
|
|
120
|
+
scrollbar: {
|
|
121
|
+
thumb: "rgba(255, 255, 255, 0.16)",
|
|
122
|
+
thumbHover: "rgba(43, 238, 121, 0.55)",
|
|
123
|
+
track: "transparent"
|
|
124
|
+
},
|
|
119
125
|
/** Network / Layer */
|
|
120
126
|
network: {
|
|
121
127
|
bitcoin: "#F7931A",
|
|
@@ -125,11 +131,18 @@ var colors = {
|
|
|
125
131
|
lightning: "#F6C343"
|
|
126
132
|
},
|
|
127
133
|
networkChip: {
|
|
128
|
-
bitcoin: "#
|
|
129
|
-
rgb: "#
|
|
130
|
-
arkade: "#
|
|
131
|
-
spark: "#
|
|
132
|
-
lightning: "#
|
|
134
|
+
bitcoin: "#44341F",
|
|
135
|
+
rgb: "#44282B",
|
|
136
|
+
arkade: "#362B55",
|
|
137
|
+
spark: "#284338",
|
|
138
|
+
lightning: "#3D421F"
|
|
139
|
+
},
|
|
140
|
+
networkText: {
|
|
141
|
+
bitcoin: "#F2B063",
|
|
142
|
+
rgb: "#E87872",
|
|
143
|
+
arkade: "#A98CF2",
|
|
144
|
+
spark: "#D6E5DE",
|
|
145
|
+
lightning: "#E4D56F"
|
|
133
146
|
},
|
|
134
147
|
/** Asset icon brand colors — used as solid backgrounds behind glyphs */
|
|
135
148
|
assetIcon: {
|
|
@@ -342,6 +355,8 @@ var shadow = {
|
|
|
342
355
|
glowStrong: "0 0 30px rgba(10, 10, 10, 0.25)",
|
|
343
356
|
glowSubtle: "0 0 15px rgba(10, 10, 10, 0.12)",
|
|
344
357
|
glowAccent: "0 4px 30px rgba(10, 10, 10, 0.18)",
|
|
358
|
+
/** Header separation shadow for sticky app chrome. */
|
|
359
|
+
header: "0 10px 24px rgba(0, 0, 0, 0.22), 0 1px 0 rgba(255, 255, 255, 0.04)",
|
|
345
360
|
/** Brand green glow — drives all primary CTA / focus halos. */
|
|
346
361
|
glowPrimarySoft: "0 0 8px rgba(43, 238, 121, 0.5)",
|
|
347
362
|
glowPrimary: "0 0 30px rgba(43, 238, 121, 0.45)",
|
package/dist/native/index.d.cts
CHANGED
|
@@ -138,6 +138,12 @@ declare const colors: {
|
|
|
138
138
|
readonly disabled: "rgba(255, 255, 255, 0.25)";
|
|
139
139
|
readonly onAccent: "#051B10";
|
|
140
140
|
};
|
|
141
|
+
/** Scrollbar treatment for app-owned scroll regions */
|
|
142
|
+
readonly scrollbar: {
|
|
143
|
+
readonly thumb: "rgba(255, 255, 255, 0.16)";
|
|
144
|
+
readonly thumbHover: "rgba(43, 238, 121, 0.55)";
|
|
145
|
+
readonly track: "transparent";
|
|
146
|
+
};
|
|
141
147
|
/** Network / Layer */
|
|
142
148
|
readonly network: {
|
|
143
149
|
readonly bitcoin: "#F7931A";
|
|
@@ -147,11 +153,18 @@ declare const colors: {
|
|
|
147
153
|
readonly lightning: "#F6C343";
|
|
148
154
|
};
|
|
149
155
|
readonly networkChip: {
|
|
150
|
-
readonly bitcoin: "#
|
|
151
|
-
readonly rgb: "#
|
|
152
|
-
readonly arkade: "#
|
|
153
|
-
readonly spark: "#
|
|
154
|
-
readonly lightning: "#
|
|
156
|
+
readonly bitcoin: "#44341F";
|
|
157
|
+
readonly rgb: "#44282B";
|
|
158
|
+
readonly arkade: "#362B55";
|
|
159
|
+
readonly spark: "#284338";
|
|
160
|
+
readonly lightning: "#3D421F";
|
|
161
|
+
};
|
|
162
|
+
readonly networkText: {
|
|
163
|
+
readonly bitcoin: "#F2B063";
|
|
164
|
+
readonly rgb: "#E87872";
|
|
165
|
+
readonly arkade: "#A98CF2";
|
|
166
|
+
readonly spark: "#D6E5DE";
|
|
167
|
+
readonly lightning: "#E4D56F";
|
|
155
168
|
};
|
|
156
169
|
/** Asset icon brand colors — used as solid backgrounds behind glyphs */
|
|
157
170
|
readonly assetIcon: {
|
|
@@ -247,6 +260,8 @@ declare const shadow: {
|
|
|
247
260
|
readonly glowStrong: "0 0 30px rgba(10, 10, 10, 0.25)";
|
|
248
261
|
readonly glowSubtle: "0 0 15px rgba(10, 10, 10, 0.12)";
|
|
249
262
|
readonly glowAccent: "0 4px 30px rgba(10, 10, 10, 0.18)";
|
|
263
|
+
/** Header separation shadow for sticky app chrome. */
|
|
264
|
+
readonly header: "0 10px 24px rgba(0, 0, 0, 0.22), 0 1px 0 rgba(255, 255, 255, 0.04)";
|
|
250
265
|
/** Brand green glow — drives all primary CTA / focus halos. */
|
|
251
266
|
readonly glowPrimarySoft: "0 0 8px rgba(43, 238, 121, 0.5)";
|
|
252
267
|
readonly glowPrimary: "0 0 30px rgba(43, 238, 121, 0.45)";
|
package/dist/native/index.d.ts
CHANGED
|
@@ -138,6 +138,12 @@ declare const colors: {
|
|
|
138
138
|
readonly disabled: "rgba(255, 255, 255, 0.25)";
|
|
139
139
|
readonly onAccent: "#051B10";
|
|
140
140
|
};
|
|
141
|
+
/** Scrollbar treatment for app-owned scroll regions */
|
|
142
|
+
readonly scrollbar: {
|
|
143
|
+
readonly thumb: "rgba(255, 255, 255, 0.16)";
|
|
144
|
+
readonly thumbHover: "rgba(43, 238, 121, 0.55)";
|
|
145
|
+
readonly track: "transparent";
|
|
146
|
+
};
|
|
141
147
|
/** Network / Layer */
|
|
142
148
|
readonly network: {
|
|
143
149
|
readonly bitcoin: "#F7931A";
|
|
@@ -147,11 +153,18 @@ declare const colors: {
|
|
|
147
153
|
readonly lightning: "#F6C343";
|
|
148
154
|
};
|
|
149
155
|
readonly networkChip: {
|
|
150
|
-
readonly bitcoin: "#
|
|
151
|
-
readonly rgb: "#
|
|
152
|
-
readonly arkade: "#
|
|
153
|
-
readonly spark: "#
|
|
154
|
-
readonly lightning: "#
|
|
156
|
+
readonly bitcoin: "#44341F";
|
|
157
|
+
readonly rgb: "#44282B";
|
|
158
|
+
readonly arkade: "#362B55";
|
|
159
|
+
readonly spark: "#284338";
|
|
160
|
+
readonly lightning: "#3D421F";
|
|
161
|
+
};
|
|
162
|
+
readonly networkText: {
|
|
163
|
+
readonly bitcoin: "#F2B063";
|
|
164
|
+
readonly rgb: "#E87872";
|
|
165
|
+
readonly arkade: "#A98CF2";
|
|
166
|
+
readonly spark: "#D6E5DE";
|
|
167
|
+
readonly lightning: "#E4D56F";
|
|
155
168
|
};
|
|
156
169
|
/** Asset icon brand colors — used as solid backgrounds behind glyphs */
|
|
157
170
|
readonly assetIcon: {
|
|
@@ -247,6 +260,8 @@ declare const shadow: {
|
|
|
247
260
|
readonly glowStrong: "0 0 30px rgba(10, 10, 10, 0.25)";
|
|
248
261
|
readonly glowSubtle: "0 0 15px rgba(10, 10, 10, 0.12)";
|
|
249
262
|
readonly glowAccent: "0 4px 30px rgba(10, 10, 10, 0.18)";
|
|
263
|
+
/** Header separation shadow for sticky app chrome. */
|
|
264
|
+
readonly header: "0 10px 24px rgba(0, 0, 0, 0.22), 0 1px 0 rgba(255, 255, 255, 0.04)";
|
|
250
265
|
/** Brand green glow — drives all primary CTA / focus halos. */
|
|
251
266
|
readonly glowPrimarySoft: "0 0 8px rgba(43, 238, 121, 0.5)";
|
|
252
267
|
readonly glowPrimary: "0 0 30px rgba(43, 238, 121, 0.45)";
|
package/dist/native/index.js
CHANGED
|
@@ -66,6 +66,12 @@ var colors = {
|
|
|
66
66
|
disabled: "rgba(255, 255, 255, 0.25)",
|
|
67
67
|
onAccent: "#051B10"
|
|
68
68
|
},
|
|
69
|
+
/** Scrollbar treatment for app-owned scroll regions */
|
|
70
|
+
scrollbar: {
|
|
71
|
+
thumb: "rgba(255, 255, 255, 0.16)",
|
|
72
|
+
thumbHover: "rgba(43, 238, 121, 0.55)",
|
|
73
|
+
track: "transparent"
|
|
74
|
+
},
|
|
69
75
|
/** Network / Layer */
|
|
70
76
|
network: {
|
|
71
77
|
bitcoin: "#F7931A",
|
|
@@ -75,11 +81,18 @@ var colors = {
|
|
|
75
81
|
lightning: "#F6C343"
|
|
76
82
|
},
|
|
77
83
|
networkChip: {
|
|
78
|
-
bitcoin: "#
|
|
79
|
-
rgb: "#
|
|
80
|
-
arkade: "#
|
|
81
|
-
spark: "#
|
|
82
|
-
lightning: "#
|
|
84
|
+
bitcoin: "#44341F",
|
|
85
|
+
rgb: "#44282B",
|
|
86
|
+
arkade: "#362B55",
|
|
87
|
+
spark: "#284338",
|
|
88
|
+
lightning: "#3D421F"
|
|
89
|
+
},
|
|
90
|
+
networkText: {
|
|
91
|
+
bitcoin: "#F2B063",
|
|
92
|
+
rgb: "#E87872",
|
|
93
|
+
arkade: "#A98CF2",
|
|
94
|
+
spark: "#D6E5DE",
|
|
95
|
+
lightning: "#E4D56F"
|
|
83
96
|
},
|
|
84
97
|
/** Asset icon brand colors — used as solid backgrounds behind glyphs */
|
|
85
98
|
assetIcon: {
|
|
@@ -304,6 +317,8 @@ var shadow = {
|
|
|
304
317
|
glowStrong: "0 0 30px rgba(10, 10, 10, 0.25)",
|
|
305
318
|
glowSubtle: "0 0 15px rgba(10, 10, 10, 0.12)",
|
|
306
319
|
glowAccent: "0 4px 30px rgba(10, 10, 10, 0.18)",
|
|
320
|
+
/** Header separation shadow for sticky app chrome. */
|
|
321
|
+
header: "0 10px 24px rgba(0, 0, 0, 0.22), 0 1px 0 rgba(255, 255, 255, 0.04)",
|
|
307
322
|
/** Brand green glow — drives all primary CTA / focus halos. */
|
|
308
323
|
glowPrimarySoft: "0 0 8px rgba(43, 238, 121, 0.5)",
|
|
309
324
|
glowPrimary: "0 0 30px rgba(43, 238, 121, 0.45)",
|
package/dist/tokens/index.cjs
CHANGED
|
@@ -28,10 +28,12 @@ __export(tokens_exports, {
|
|
|
28
28
|
iconBoxSize: () => iconBoxSize,
|
|
29
29
|
iconSize: () => iconSize,
|
|
30
30
|
keyframes: () => keyframes,
|
|
31
|
+
layer: () => layer,
|
|
31
32
|
letterSpacing: () => letterSpacing,
|
|
32
33
|
lightSemanticColors: () => lightSemanticColors,
|
|
33
34
|
radius: () => radius,
|
|
34
35
|
shadow: () => shadow,
|
|
36
|
+
sizing: () => sizing,
|
|
35
37
|
transition: () => transition,
|
|
36
38
|
typeScale: () => typeScale
|
|
37
39
|
});
|
|
@@ -127,6 +129,12 @@ var colors = {
|
|
|
127
129
|
disabled: "rgba(255, 255, 255, 0.25)",
|
|
128
130
|
onAccent: "#051B10"
|
|
129
131
|
},
|
|
132
|
+
/** Scrollbar treatment for app-owned scroll regions */
|
|
133
|
+
scrollbar: {
|
|
134
|
+
thumb: "rgba(255, 255, 255, 0.16)",
|
|
135
|
+
thumbHover: "rgba(43, 238, 121, 0.55)",
|
|
136
|
+
track: "transparent"
|
|
137
|
+
},
|
|
130
138
|
/** Network / Layer */
|
|
131
139
|
network: {
|
|
132
140
|
bitcoin: "#F7931A",
|
|
@@ -136,11 +144,18 @@ var colors = {
|
|
|
136
144
|
lightning: "#F6C343"
|
|
137
145
|
},
|
|
138
146
|
networkChip: {
|
|
139
|
-
bitcoin: "#
|
|
140
|
-
rgb: "#
|
|
141
|
-
arkade: "#
|
|
142
|
-
spark: "#
|
|
143
|
-
lightning: "#
|
|
147
|
+
bitcoin: "#44341F",
|
|
148
|
+
rgb: "#44282B",
|
|
149
|
+
arkade: "#362B55",
|
|
150
|
+
spark: "#284338",
|
|
151
|
+
lightning: "#3D421F"
|
|
152
|
+
},
|
|
153
|
+
networkText: {
|
|
154
|
+
bitcoin: "#F2B063",
|
|
155
|
+
rgb: "#E87872",
|
|
156
|
+
arkade: "#A98CF2",
|
|
157
|
+
spark: "#D6E5DE",
|
|
158
|
+
lightning: "#E4D56F"
|
|
144
159
|
},
|
|
145
160
|
/** Asset icon brand colors — used as solid backgrounds behind glyphs */
|
|
146
161
|
assetIcon: {
|
|
@@ -224,12 +239,29 @@ var radius = {
|
|
|
224
239
|
pill: "9999px"
|
|
225
240
|
};
|
|
226
241
|
|
|
242
|
+
// src/tokens/sizing.ts
|
|
243
|
+
var sizing = {
|
|
244
|
+
scrollbar: "2px",
|
|
245
|
+
scrollbarHover: "6px",
|
|
246
|
+
scrollbarThumbMin: "24px"
|
|
247
|
+
};
|
|
248
|
+
|
|
249
|
+
// src/tokens/layers.ts
|
|
250
|
+
var layer = {
|
|
251
|
+
header: "50",
|
|
252
|
+
nav: "2147483646",
|
|
253
|
+
scrollbar: "2147483645",
|
|
254
|
+
modal: "2147483647"
|
|
255
|
+
};
|
|
256
|
+
|
|
227
257
|
// src/tokens/shadows.ts
|
|
228
258
|
var shadow = {
|
|
229
259
|
glow: "0 0 20px rgba(10, 10, 10, 0.15)",
|
|
230
260
|
glowStrong: "0 0 30px rgba(10, 10, 10, 0.25)",
|
|
231
261
|
glowSubtle: "0 0 15px rgba(10, 10, 10, 0.12)",
|
|
232
262
|
glowAccent: "0 4px 30px rgba(10, 10, 10, 0.18)",
|
|
263
|
+
/** Header separation shadow for sticky app chrome. */
|
|
264
|
+
header: "0 10px 24px rgba(0, 0, 0, 0.22), 0 1px 0 rgba(255, 255, 255, 0.04)",
|
|
233
265
|
/** Brand green glow — drives all primary CTA / focus halos. */
|
|
234
266
|
glowPrimarySoft: "0 0 8px rgba(43, 238, 121, 0.5)",
|
|
235
267
|
glowPrimary: "0 0 30px rgba(43, 238, 121, 0.45)",
|
|
@@ -319,10 +351,12 @@ var animation = {
|
|
|
319
351
|
iconBoxSize,
|
|
320
352
|
iconSize,
|
|
321
353
|
keyframes,
|
|
354
|
+
layer,
|
|
322
355
|
letterSpacing,
|
|
323
356
|
lightSemanticColors,
|
|
324
357
|
radius,
|
|
325
358
|
shadow,
|
|
359
|
+
sizing,
|
|
326
360
|
transition,
|
|
327
361
|
typeScale
|
|
328
362
|
});
|
package/dist/tokens/index.d.cts
CHANGED
|
@@ -64,6 +64,12 @@ declare const colors: {
|
|
|
64
64
|
readonly disabled: "rgba(255, 255, 255, 0.25)";
|
|
65
65
|
readonly onAccent: "#051B10";
|
|
66
66
|
};
|
|
67
|
+
/** Scrollbar treatment for app-owned scroll regions */
|
|
68
|
+
readonly scrollbar: {
|
|
69
|
+
readonly thumb: "rgba(255, 255, 255, 0.16)";
|
|
70
|
+
readonly thumbHover: "rgba(43, 238, 121, 0.55)";
|
|
71
|
+
readonly track: "transparent";
|
|
72
|
+
};
|
|
67
73
|
/** Network / Layer */
|
|
68
74
|
readonly network: {
|
|
69
75
|
readonly bitcoin: "#F7931A";
|
|
@@ -73,11 +79,18 @@ declare const colors: {
|
|
|
73
79
|
readonly lightning: "#F6C343";
|
|
74
80
|
};
|
|
75
81
|
readonly networkChip: {
|
|
76
|
-
readonly bitcoin: "#
|
|
77
|
-
readonly rgb: "#
|
|
78
|
-
readonly arkade: "#
|
|
79
|
-
readonly spark: "#
|
|
80
|
-
readonly lightning: "#
|
|
82
|
+
readonly bitcoin: "#44341F";
|
|
83
|
+
readonly rgb: "#44282B";
|
|
84
|
+
readonly arkade: "#362B55";
|
|
85
|
+
readonly spark: "#284338";
|
|
86
|
+
readonly lightning: "#3D421F";
|
|
87
|
+
};
|
|
88
|
+
readonly networkText: {
|
|
89
|
+
readonly bitcoin: "#F2B063";
|
|
90
|
+
readonly rgb: "#E87872";
|
|
91
|
+
readonly arkade: "#A98CF2";
|
|
92
|
+
readonly spark: "#D6E5DE";
|
|
93
|
+
readonly lightning: "#E4D56F";
|
|
81
94
|
};
|
|
82
95
|
/** Asset icon brand colors — used as solid backgrounds behind glyphs */
|
|
83
96
|
readonly assetIcon: {
|
|
@@ -204,6 +217,25 @@ declare const radius: {
|
|
|
204
217
|
readonly pill: "9999px";
|
|
205
218
|
};
|
|
206
219
|
|
|
220
|
+
/**
|
|
221
|
+
* Component and utility sizing tokens that do not belong to typography.
|
|
222
|
+
*/
|
|
223
|
+
declare const sizing: {
|
|
224
|
+
readonly scrollbar: "2px";
|
|
225
|
+
readonly scrollbarHover: "6px";
|
|
226
|
+
readonly scrollbarThumbMin: "24px";
|
|
227
|
+
};
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Z-index tokens for shared UI layers.
|
|
231
|
+
*/
|
|
232
|
+
declare const layer: {
|
|
233
|
+
readonly header: "50";
|
|
234
|
+
readonly nav: "2147483646";
|
|
235
|
+
readonly scrollbar: "2147483645";
|
|
236
|
+
readonly modal: "2147483647";
|
|
237
|
+
};
|
|
238
|
+
|
|
207
239
|
/**
|
|
208
240
|
* KaleidoSwap Shadow Tokens
|
|
209
241
|
*/
|
|
@@ -212,6 +244,8 @@ declare const shadow: {
|
|
|
212
244
|
readonly glowStrong: "0 0 30px rgba(10, 10, 10, 0.25)";
|
|
213
245
|
readonly glowSubtle: "0 0 15px rgba(10, 10, 10, 0.12)";
|
|
214
246
|
readonly glowAccent: "0 4px 30px rgba(10, 10, 10, 0.18)";
|
|
247
|
+
/** Header separation shadow for sticky app chrome. */
|
|
248
|
+
readonly header: "0 10px 24px rgba(0, 0, 0, 0.22), 0 1px 0 rgba(255, 255, 255, 0.04)";
|
|
215
249
|
/** Brand green glow — drives all primary CTA / focus halos. */
|
|
216
250
|
readonly glowPrimarySoft: "0 0 8px rgba(43, 238, 121, 0.5)";
|
|
217
251
|
readonly glowPrimary: "0 0 30px rgba(43, 238, 121, 0.45)";
|
|
@@ -340,4 +374,4 @@ declare const animation: {
|
|
|
340
374
|
readonly 'bounce-slight': "bounce-slight 2s infinite";
|
|
341
375
|
};
|
|
342
376
|
|
|
343
|
-
export { animation, colors, fontFamily, fontWeight, gradient, iconBoxSize, iconSize, keyframes, letterSpacing, lightSemanticColors, radius, shadow, transition, typeScale };
|
|
377
|
+
export { animation, colors, fontFamily, fontWeight, gradient, iconBoxSize, iconSize, keyframes, layer, letterSpacing, lightSemanticColors, radius, shadow, sizing, transition, typeScale };
|
package/dist/tokens/index.d.ts
CHANGED
|
@@ -64,6 +64,12 @@ declare const colors: {
|
|
|
64
64
|
readonly disabled: "rgba(255, 255, 255, 0.25)";
|
|
65
65
|
readonly onAccent: "#051B10";
|
|
66
66
|
};
|
|
67
|
+
/** Scrollbar treatment for app-owned scroll regions */
|
|
68
|
+
readonly scrollbar: {
|
|
69
|
+
readonly thumb: "rgba(255, 255, 255, 0.16)";
|
|
70
|
+
readonly thumbHover: "rgba(43, 238, 121, 0.55)";
|
|
71
|
+
readonly track: "transparent";
|
|
72
|
+
};
|
|
67
73
|
/** Network / Layer */
|
|
68
74
|
readonly network: {
|
|
69
75
|
readonly bitcoin: "#F7931A";
|
|
@@ -73,11 +79,18 @@ declare const colors: {
|
|
|
73
79
|
readonly lightning: "#F6C343";
|
|
74
80
|
};
|
|
75
81
|
readonly networkChip: {
|
|
76
|
-
readonly bitcoin: "#
|
|
77
|
-
readonly rgb: "#
|
|
78
|
-
readonly arkade: "#
|
|
79
|
-
readonly spark: "#
|
|
80
|
-
readonly lightning: "#
|
|
82
|
+
readonly bitcoin: "#44341F";
|
|
83
|
+
readonly rgb: "#44282B";
|
|
84
|
+
readonly arkade: "#362B55";
|
|
85
|
+
readonly spark: "#284338";
|
|
86
|
+
readonly lightning: "#3D421F";
|
|
87
|
+
};
|
|
88
|
+
readonly networkText: {
|
|
89
|
+
readonly bitcoin: "#F2B063";
|
|
90
|
+
readonly rgb: "#E87872";
|
|
91
|
+
readonly arkade: "#A98CF2";
|
|
92
|
+
readonly spark: "#D6E5DE";
|
|
93
|
+
readonly lightning: "#E4D56F";
|
|
81
94
|
};
|
|
82
95
|
/** Asset icon brand colors — used as solid backgrounds behind glyphs */
|
|
83
96
|
readonly assetIcon: {
|
|
@@ -204,6 +217,25 @@ declare const radius: {
|
|
|
204
217
|
readonly pill: "9999px";
|
|
205
218
|
};
|
|
206
219
|
|
|
220
|
+
/**
|
|
221
|
+
* Component and utility sizing tokens that do not belong to typography.
|
|
222
|
+
*/
|
|
223
|
+
declare const sizing: {
|
|
224
|
+
readonly scrollbar: "2px";
|
|
225
|
+
readonly scrollbarHover: "6px";
|
|
226
|
+
readonly scrollbarThumbMin: "24px";
|
|
227
|
+
};
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Z-index tokens for shared UI layers.
|
|
231
|
+
*/
|
|
232
|
+
declare const layer: {
|
|
233
|
+
readonly header: "50";
|
|
234
|
+
readonly nav: "2147483646";
|
|
235
|
+
readonly scrollbar: "2147483645";
|
|
236
|
+
readonly modal: "2147483647";
|
|
237
|
+
};
|
|
238
|
+
|
|
207
239
|
/**
|
|
208
240
|
* KaleidoSwap Shadow Tokens
|
|
209
241
|
*/
|
|
@@ -212,6 +244,8 @@ declare const shadow: {
|
|
|
212
244
|
readonly glowStrong: "0 0 30px rgba(10, 10, 10, 0.25)";
|
|
213
245
|
readonly glowSubtle: "0 0 15px rgba(10, 10, 10, 0.12)";
|
|
214
246
|
readonly glowAccent: "0 4px 30px rgba(10, 10, 10, 0.18)";
|
|
247
|
+
/** Header separation shadow for sticky app chrome. */
|
|
248
|
+
readonly header: "0 10px 24px rgba(0, 0, 0, 0.22), 0 1px 0 rgba(255, 255, 255, 0.04)";
|
|
215
249
|
/** Brand green glow — drives all primary CTA / focus halos. */
|
|
216
250
|
readonly glowPrimarySoft: "0 0 8px rgba(43, 238, 121, 0.5)";
|
|
217
251
|
readonly glowPrimary: "0 0 30px rgba(43, 238, 121, 0.45)";
|
|
@@ -340,4 +374,4 @@ declare const animation: {
|
|
|
340
374
|
readonly 'bounce-slight': "bounce-slight 2s infinite";
|
|
341
375
|
};
|
|
342
376
|
|
|
343
|
-
export { animation, colors, fontFamily, fontWeight, gradient, iconBoxSize, iconSize, keyframes, letterSpacing, lightSemanticColors, radius, shadow, transition, typeScale };
|
|
377
|
+
export { animation, colors, fontFamily, fontWeight, gradient, iconBoxSize, iconSize, keyframes, layer, letterSpacing, lightSemanticColors, radius, shadow, sizing, transition, typeScale };
|
package/dist/tokens/index.js
CHANGED
|
@@ -88,6 +88,12 @@ var colors = {
|
|
|
88
88
|
disabled: "rgba(255, 255, 255, 0.25)",
|
|
89
89
|
onAccent: "#051B10"
|
|
90
90
|
},
|
|
91
|
+
/** Scrollbar treatment for app-owned scroll regions */
|
|
92
|
+
scrollbar: {
|
|
93
|
+
thumb: "rgba(255, 255, 255, 0.16)",
|
|
94
|
+
thumbHover: "rgba(43, 238, 121, 0.55)",
|
|
95
|
+
track: "transparent"
|
|
96
|
+
},
|
|
91
97
|
/** Network / Layer */
|
|
92
98
|
network: {
|
|
93
99
|
bitcoin: "#F7931A",
|
|
@@ -97,11 +103,18 @@ var colors = {
|
|
|
97
103
|
lightning: "#F6C343"
|
|
98
104
|
},
|
|
99
105
|
networkChip: {
|
|
100
|
-
bitcoin: "#
|
|
101
|
-
rgb: "#
|
|
102
|
-
arkade: "#
|
|
103
|
-
spark: "#
|
|
104
|
-
lightning: "#
|
|
106
|
+
bitcoin: "#44341F",
|
|
107
|
+
rgb: "#44282B",
|
|
108
|
+
arkade: "#362B55",
|
|
109
|
+
spark: "#284338",
|
|
110
|
+
lightning: "#3D421F"
|
|
111
|
+
},
|
|
112
|
+
networkText: {
|
|
113
|
+
bitcoin: "#F2B063",
|
|
114
|
+
rgb: "#E87872",
|
|
115
|
+
arkade: "#A98CF2",
|
|
116
|
+
spark: "#D6E5DE",
|
|
117
|
+
lightning: "#E4D56F"
|
|
105
118
|
},
|
|
106
119
|
/** Asset icon brand colors — used as solid backgrounds behind glyphs */
|
|
107
120
|
assetIcon: {
|
|
@@ -185,12 +198,29 @@ var radius = {
|
|
|
185
198
|
pill: "9999px"
|
|
186
199
|
};
|
|
187
200
|
|
|
201
|
+
// src/tokens/sizing.ts
|
|
202
|
+
var sizing = {
|
|
203
|
+
scrollbar: "2px",
|
|
204
|
+
scrollbarHover: "6px",
|
|
205
|
+
scrollbarThumbMin: "24px"
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
// src/tokens/layers.ts
|
|
209
|
+
var layer = {
|
|
210
|
+
header: "50",
|
|
211
|
+
nav: "2147483646",
|
|
212
|
+
scrollbar: "2147483645",
|
|
213
|
+
modal: "2147483647"
|
|
214
|
+
};
|
|
215
|
+
|
|
188
216
|
// src/tokens/shadows.ts
|
|
189
217
|
var shadow = {
|
|
190
218
|
glow: "0 0 20px rgba(10, 10, 10, 0.15)",
|
|
191
219
|
glowStrong: "0 0 30px rgba(10, 10, 10, 0.25)",
|
|
192
220
|
glowSubtle: "0 0 15px rgba(10, 10, 10, 0.12)",
|
|
193
221
|
glowAccent: "0 4px 30px rgba(10, 10, 10, 0.18)",
|
|
222
|
+
/** Header separation shadow for sticky app chrome. */
|
|
223
|
+
header: "0 10px 24px rgba(0, 0, 0, 0.22), 0 1px 0 rgba(255, 255, 255, 0.04)",
|
|
194
224
|
/** Brand green glow — drives all primary CTA / focus halos. */
|
|
195
225
|
glowPrimarySoft: "0 0 8px rgba(43, 238, 121, 0.5)",
|
|
196
226
|
glowPrimary: "0 0 30px rgba(43, 238, 121, 0.45)",
|
|
@@ -279,10 +309,12 @@ export {
|
|
|
279
309
|
iconBoxSize,
|
|
280
310
|
iconSize,
|
|
281
311
|
keyframes,
|
|
312
|
+
layer,
|
|
282
313
|
letterSpacing,
|
|
283
314
|
lightSemanticColors,
|
|
284
315
|
radius,
|
|
285
316
|
shadow,
|
|
317
|
+
sizing,
|
|
286
318
|
transition,
|
|
287
319
|
typeScale
|
|
288
320
|
};
|