@edel-finance/swap-widget 0.1.6-alpha → 0.1.7-alpha
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/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/logos.d.ts +27 -0
- package/dist/logos.js +58 -1
- package/dist/theme.d.ts +18 -0
- package/dist/theme.js +547 -255
- package/dist/widget.d.ts +13 -0
- package/dist/widget.js +125 -44
- package/package.json +2 -2
package/dist/theme.js
CHANGED
|
@@ -1,51 +1,85 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Alpine Forest II theme tokens and CSS-isolated style sheet for @edel-finance/swap-widget.
|
|
3
3
|
*
|
|
4
|
+
* Visual tokens, radii, spacing, and typography are lifted directly from
|
|
5
|
+
* edel-markets-frontend's Alpine Forest II Deposit Bridge modal so the embeddable
|
|
6
|
+
* swap widget matches the production trading terminal 1:1.
|
|
7
|
+
*
|
|
4
8
|
* All rules are scoped to `.edel-sw-root` with an explicit reset so the widget
|
|
5
9
|
* never inherits or leaks styles when embedded in SuperNova, Loop, or partner dApps.
|
|
6
10
|
*/
|
|
7
11
|
export const ALPINE_FOREST_THEMES = {
|
|
8
12
|
dark: {
|
|
9
|
-
bg: "#
|
|
10
|
-
cardBg: "#
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
13
|
+
bg: "#020c0a",
|
|
14
|
+
cardBg: "#0e1312",
|
|
15
|
+
panel2: "#121716",
|
|
16
|
+
surfaceBg: "rgba(172, 231, 204, 0.045)",
|
|
17
|
+
surfaceHover: "rgba(172, 231, 204, 0.08)",
|
|
18
|
+
surface4: "rgba(172, 231, 204, 0.115)",
|
|
19
|
+
border: "rgba(172, 231, 204, 0.06)",
|
|
20
|
+
borderStrong: "rgba(172, 231, 204, 0.12)",
|
|
21
|
+
textStrong: "#ffffff",
|
|
22
|
+
text: "#eff3f1",
|
|
23
|
+
text2: "#9ba8a2",
|
|
24
|
+
textMuted: "#818e88",
|
|
25
|
+
accent: "#8bfbd5",
|
|
26
|
+
accentRgb: "139, 251, 213",
|
|
27
|
+
tintRgb: "172, 231, 204",
|
|
28
|
+
accentHover: "#a4fde0",
|
|
29
|
+
accentText: "#03130e",
|
|
30
|
+
buttonPrimaryBg: "#8bfbd5",
|
|
31
|
+
buttonPrimaryHover: "#a4fde0",
|
|
32
|
+
buttonPrimaryText: "#03130e",
|
|
33
|
+
buttonDisabledBg: "rgba(139, 251, 213, 0.095)",
|
|
34
|
+
buttonDisabledText: "rgba(139, 251, 213, 0.62)",
|
|
35
|
+
success: "#62e0b2",
|
|
36
|
+
warning: "#f0be6d",
|
|
37
|
+
danger: "#f2738e",
|
|
38
|
+
dangerSoft: "rgba(242, 115, 142, 0.1)",
|
|
39
|
+
dangerLine: "rgba(242, 115, 142, 0.24)",
|
|
40
|
+
shadow: "0 32px 96px rgba(0, 0, 0, 0.55)",
|
|
41
|
+
shadowPop: "0 24px 64px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.32)",
|
|
24
42
|
},
|
|
25
43
|
light: {
|
|
26
|
-
bg: "#
|
|
44
|
+
bg: "#e7eeec",
|
|
27
45
|
cardBg: "#ffffff",
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
46
|
+
panel2: "#ffffff",
|
|
47
|
+
surfaceBg: "rgba(10, 36, 28, 0.045)",
|
|
48
|
+
surfaceHover: "rgba(10, 36, 28, 0.075)",
|
|
49
|
+
surface4: "rgba(10, 36, 28, 0.11)",
|
|
50
|
+
border: "rgba(10, 36, 28, 0.1)",
|
|
51
|
+
borderStrong: "rgba(10, 36, 28, 0.16)",
|
|
52
|
+
textStrong: "#04130e",
|
|
53
|
+
text: "#0b1e17",
|
|
54
|
+
text2: "#3f514a",
|
|
55
|
+
textMuted: "#56685f",
|
|
56
|
+
accent: "#006a52",
|
|
57
|
+
accentRgb: "0, 150, 110",
|
|
58
|
+
tintRgb: "10, 36, 28",
|
|
59
|
+
accentHover: "#2bd3a4",
|
|
60
|
+
accentText: "#032419",
|
|
61
|
+
buttonPrimaryBg: "#3ae0b1",
|
|
62
|
+
buttonPrimaryHover: "#2bd3a4",
|
|
63
|
+
buttonPrimaryText: "#032419",
|
|
64
|
+
buttonDisabledBg: "rgba(0, 150, 110, 0.1)",
|
|
65
|
+
buttonDisabledText: "rgba(0, 106, 82, 0.55)",
|
|
66
|
+
success: "#0a734f",
|
|
67
|
+
warning: "#a2650a",
|
|
68
|
+
danger: "#ae2844",
|
|
69
|
+
dangerSoft: "rgba(174, 40, 68, 0.08)",
|
|
70
|
+
dangerLine: "rgba(174, 40, 68, 0.24)",
|
|
71
|
+
shadow: "0 30px 90px rgba(10, 36, 28, 0.14)",
|
|
72
|
+
shadowPop: "0 24px 64px rgba(10, 36, 28, 0.15), 0 2px 8px rgba(10, 36, 28, 0.07)",
|
|
41
73
|
},
|
|
42
74
|
};
|
|
43
75
|
export function getIsolatedWidgetCss(theme) {
|
|
44
76
|
const t = ALPINE_FOREST_THEMES[theme];
|
|
77
|
+
const ease = "cubic-bezier(0.2, 0.9, 0.3, 1)";
|
|
45
78
|
return `
|
|
46
79
|
.edel-sw-root {
|
|
47
80
|
all: initial;
|
|
48
|
-
display:
|
|
81
|
+
display: grid;
|
|
82
|
+
gap: 12px;
|
|
49
83
|
box-sizing: border-box;
|
|
50
84
|
font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
|
|
51
85
|
color: ${t.text};
|
|
@@ -53,11 +87,12 @@ export function getIsolatedWidgetCss(theme) {
|
|
|
53
87
|
border: 1px solid ${t.border};
|
|
54
88
|
border-radius: 18px;
|
|
55
89
|
padding: 20px;
|
|
56
|
-
width: 100
|
|
57
|
-
max-width:
|
|
90
|
+
width: min(452px, 100%);
|
|
91
|
+
max-width: 452px;
|
|
58
92
|
box-shadow: ${t.shadow};
|
|
59
93
|
line-height: 1.4;
|
|
60
94
|
-webkit-font-smoothing: antialiased;
|
|
95
|
+
color-scheme: ${theme};
|
|
61
96
|
}
|
|
62
97
|
.edel-sw-root *, .edel-sw-root *::before, .edel-sw-root *::after {
|
|
63
98
|
box-sizing: border-box;
|
|
@@ -67,96 +102,280 @@ export function getIsolatedWidgetCss(theme) {
|
|
|
67
102
|
display: flex;
|
|
68
103
|
align-items: center;
|
|
69
104
|
justify-content: space-between;
|
|
70
|
-
|
|
105
|
+
gap: 10px;
|
|
71
106
|
}
|
|
72
107
|
.edel-sw-brand {
|
|
73
108
|
display: inline-flex;
|
|
74
109
|
align-items: center;
|
|
75
110
|
gap: 8px;
|
|
111
|
+
min-width: 0;
|
|
76
112
|
}
|
|
77
113
|
.edel-sw-brand-mark {
|
|
78
|
-
color: ${
|
|
114
|
+
color: ${t.accent};
|
|
79
115
|
flex-shrink: 0;
|
|
80
116
|
display: block;
|
|
81
117
|
}
|
|
82
118
|
.edel-sw-title {
|
|
83
|
-
font-size:
|
|
84
|
-
font-weight:
|
|
119
|
+
font-size: 15px;
|
|
120
|
+
font-weight: 600;
|
|
85
121
|
letter-spacing: -0.01em;
|
|
86
|
-
color: ${t.
|
|
122
|
+
color: ${t.textStrong};
|
|
87
123
|
}
|
|
88
124
|
.edel-sw-badge {
|
|
125
|
+
display: inline-flex;
|
|
126
|
+
align-items: center;
|
|
127
|
+
height: 22px;
|
|
128
|
+
padding: 0 8px;
|
|
129
|
+
border-radius: 999px;
|
|
130
|
+
background: rgba(${t.tintRgb}, 0.06);
|
|
131
|
+
color: ${t.text2};
|
|
132
|
+
font-size: 11.5px;
|
|
133
|
+
font-weight: 500;
|
|
134
|
+
font-variant-numeric: tabular-nums;
|
|
135
|
+
white-space: nowrap;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/* 4-Step Progress Rail (verbatim from bridge-rail) */
|
|
139
|
+
.edel-sw-rail {
|
|
140
|
+
display: grid;
|
|
141
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
142
|
+
margin: 0;
|
|
143
|
+
padding: 0;
|
|
144
|
+
list-style: none;
|
|
145
|
+
}
|
|
146
|
+
.edel-sw-rail-step {
|
|
147
|
+
position: relative;
|
|
148
|
+
display: flex;
|
|
149
|
+
justify-content: center;
|
|
150
|
+
min-width: 0;
|
|
151
|
+
}
|
|
152
|
+
.edel-sw-rail-step:not(:first-child)::before {
|
|
153
|
+
content: "";
|
|
154
|
+
position: absolute;
|
|
155
|
+
top: 10px;
|
|
156
|
+
right: calc(50% + 15px);
|
|
157
|
+
left: calc(-50% + 15px);
|
|
158
|
+
height: 2px;
|
|
159
|
+
border-radius: 1px;
|
|
160
|
+
background: rgba(${t.tintRgb}, 0.1);
|
|
161
|
+
transition: background-color 300ms ${ease};
|
|
162
|
+
}
|
|
163
|
+
.edel-sw-rail-step[data-state="done"]::before,
|
|
164
|
+
.edel-sw-rail-step[data-state="current"]::before {
|
|
165
|
+
background: rgba(${t.accentRgb}, 0.55);
|
|
166
|
+
}
|
|
167
|
+
.edel-sw-rail-inner {
|
|
168
|
+
display: flex;
|
|
169
|
+
flex-direction: column;
|
|
170
|
+
align-items: center;
|
|
171
|
+
gap: 5px;
|
|
172
|
+
width: 100%;
|
|
173
|
+
min-width: 0;
|
|
174
|
+
}
|
|
175
|
+
.edel-sw-rail-marker {
|
|
176
|
+
display: grid;
|
|
177
|
+
place-items: center;
|
|
178
|
+
width: 22px;
|
|
179
|
+
height: 22px;
|
|
180
|
+
border-radius: 50%;
|
|
181
|
+
box-shadow: inset 0 0 0 1.5px rgba(${t.tintRgb}, 0.16);
|
|
182
|
+
color: ${t.textMuted};
|
|
89
183
|
font-size: 11px;
|
|
184
|
+
font-variant-numeric: tabular-nums;
|
|
90
185
|
font-weight: 600;
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
186
|
+
transition: background-color 240ms ${ease}, box-shadow 240ms ${ease}, color 240ms ${ease};
|
|
187
|
+
}
|
|
188
|
+
.edel-sw-rail-step[data-state="current"] .edel-sw-rail-marker {
|
|
189
|
+
background: rgba(${t.accentRgb}, 0.12);
|
|
190
|
+
box-shadow: inset 0 0 0 1.5px ${t.accent};
|
|
95
191
|
color: ${t.accent};
|
|
96
|
-
|
|
97
|
-
|
|
192
|
+
}
|
|
193
|
+
.edel-sw-rail-step[data-state="done"] .edel-sw-rail-marker {
|
|
194
|
+
background: ${t.accent};
|
|
195
|
+
box-shadow: none;
|
|
196
|
+
color: ${t.buttonPrimaryText};
|
|
197
|
+
}
|
|
198
|
+
.edel-sw-rail-label {
|
|
199
|
+
max-width: 100%;
|
|
200
|
+
overflow: hidden;
|
|
201
|
+
color: ${t.textMuted};
|
|
202
|
+
font-size: 11.5px;
|
|
203
|
+
line-height: 15px;
|
|
204
|
+
text-overflow: ellipsis;
|
|
205
|
+
white-space: nowrap;
|
|
206
|
+
}
|
|
207
|
+
.edel-sw-rail-step[data-state="current"] .edel-sw-rail-label {
|
|
208
|
+
color: ${t.textStrong};
|
|
209
|
+
font-weight: 600;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/* Send / Receive Pair (verbatim from bridge-pair & bridge-box) */
|
|
213
|
+
.edel-sw-pair {
|
|
214
|
+
position: relative;
|
|
215
|
+
display: grid;
|
|
216
|
+
gap: 6px;
|
|
217
|
+
}
|
|
218
|
+
.edel-sw-box-wrap {
|
|
219
|
+
position: relative;
|
|
220
|
+
min-width: 0;
|
|
98
221
|
}
|
|
99
222
|
.edel-sw-box {
|
|
223
|
+
display: grid;
|
|
224
|
+
gap: 8px;
|
|
225
|
+
padding: 14px 16px;
|
|
226
|
+
border-radius: 16px;
|
|
100
227
|
background: ${t.surfaceBg};
|
|
101
|
-
|
|
102
|
-
border-radius: 14px;
|
|
103
|
-
padding: 14px;
|
|
228
|
+
transition: box-shadow 140ms ${ease};
|
|
104
229
|
}
|
|
105
|
-
.edel-sw-
|
|
230
|
+
.edel-sw-box[data-pay]:focus-within {
|
|
231
|
+
box-shadow: inset 0 0 0 1px rgba(${t.accentRgb}, 0.45);
|
|
232
|
+
}
|
|
233
|
+
.edel-sw-box[data-invalid] {
|
|
234
|
+
box-shadow: inset 0 0 0 1px ${t.dangerLine};
|
|
235
|
+
}
|
|
236
|
+
.edel-sw-label {
|
|
106
237
|
display: flex;
|
|
107
238
|
align-items: center;
|
|
108
239
|
justify-content: space-between;
|
|
109
|
-
gap:
|
|
240
|
+
gap: 8px;
|
|
241
|
+
min-height: 22px;
|
|
242
|
+
color: ${t.textMuted};
|
|
243
|
+
font-size: 12.5px;
|
|
244
|
+
font-weight: 400;
|
|
110
245
|
}
|
|
111
|
-
.edel-sw-label {
|
|
112
|
-
font-size: 12px;
|
|
246
|
+
.edel-sw-label-meta {
|
|
113
247
|
color: ${t.textMuted};
|
|
114
|
-
|
|
248
|
+
font-size: 11.5px;
|
|
249
|
+
font-variant-numeric: tabular-nums;
|
|
250
|
+
}
|
|
251
|
+
.edel-sw-row {
|
|
252
|
+
display: flex;
|
|
253
|
+
align-items: center;
|
|
254
|
+
justify-content: space-between;
|
|
255
|
+
gap: 10px;
|
|
256
|
+
min-width: 0;
|
|
115
257
|
}
|
|
116
258
|
.edel-sw-input {
|
|
117
|
-
|
|
259
|
+
flex: 1 1 auto;
|
|
260
|
+
min-width: 0;
|
|
261
|
+
height: 40px;
|
|
262
|
+
padding: 0;
|
|
263
|
+
border: 0;
|
|
264
|
+
border-radius: 0;
|
|
118
265
|
background: transparent;
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
font-size:
|
|
122
|
-
font-
|
|
266
|
+
box-shadow: none;
|
|
267
|
+
color: ${t.textStrong};
|
|
268
|
+
font-size: 30px;
|
|
269
|
+
font-variant-numeric: tabular-nums;
|
|
270
|
+
font-weight: 400;
|
|
271
|
+
letter-spacing: -0.02em;
|
|
272
|
+
outline: 0;
|
|
273
|
+
}
|
|
274
|
+
.edel-sw-input[data-empty="true"] {
|
|
275
|
+
color: ${t.textMuted};
|
|
276
|
+
}
|
|
277
|
+
.edel-sw-input::placeholder {
|
|
278
|
+
color: ${t.textMuted};
|
|
279
|
+
}
|
|
280
|
+
.edel-sw-box-sub {
|
|
281
|
+
display: flex;
|
|
282
|
+
align-items: center;
|
|
283
|
+
justify-content: space-between;
|
|
284
|
+
gap: 8px;
|
|
285
|
+
min-height: 17px;
|
|
286
|
+
color: ${t.textMuted};
|
|
287
|
+
font-size: 12px;
|
|
288
|
+
font-variant-numeric: tabular-nums;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
/* Overlapping Center Flip Button (verbatim from bridge-pair__arrow) */
|
|
292
|
+
.edel-sw-flip {
|
|
293
|
+
position: absolute;
|
|
294
|
+
top: 50%;
|
|
295
|
+
left: 50%;
|
|
296
|
+
z-index: 3;
|
|
297
|
+
display: grid;
|
|
298
|
+
place-items: center;
|
|
299
|
+
width: 32px;
|
|
300
|
+
height: 32px;
|
|
301
|
+
padding: 0;
|
|
302
|
+
border: 4px solid ${t.cardBg};
|
|
303
|
+
border-radius: 11px;
|
|
304
|
+
background:
|
|
305
|
+
linear-gradient(${t.surfaceHover}, ${t.surfaceHover}) padding-box,
|
|
306
|
+
${t.cardBg} padding-box;
|
|
123
307
|
color: ${t.text};
|
|
124
|
-
|
|
308
|
+
cursor: pointer;
|
|
309
|
+
outline: 0;
|
|
310
|
+
box-sizing: content-box;
|
|
311
|
+
transform: translate(-50%, -50%);
|
|
312
|
+
transition: background-color 140ms ${ease}, color 140ms ${ease}, box-shadow 140ms ${ease};
|
|
313
|
+
}
|
|
314
|
+
.edel-sw-flip:hover {
|
|
315
|
+
background:
|
|
316
|
+
linear-gradient(${t.surface4}, ${t.surface4}) padding-box,
|
|
317
|
+
${t.cardBg} padding-box;
|
|
318
|
+
color: ${t.accent};
|
|
125
319
|
}
|
|
320
|
+
.edel-sw-flip:focus-visible {
|
|
321
|
+
box-shadow: 0 0 0 1.5px rgba(${t.accentRgb}, 0.55);
|
|
322
|
+
}
|
|
323
|
+
.edel-sw-flip-icon {
|
|
324
|
+
display: block;
|
|
325
|
+
transition: transform 220ms ${ease};
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
/* Token Pill Trigger & Canton Mini-Badge (verbatim from bridge-token-button & bridge-on-chain) */
|
|
126
329
|
.edel-sw-token-picker {
|
|
127
|
-
|
|
128
|
-
flex-shrink: 0;
|
|
330
|
+
flex: none;
|
|
129
331
|
}
|
|
130
332
|
.edel-sw-token-trigger {
|
|
131
333
|
display: inline-flex;
|
|
334
|
+
flex: none;
|
|
132
335
|
align-items: center;
|
|
133
336
|
gap: 8px;
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
border:
|
|
337
|
+
height: 38px;
|
|
338
|
+
padding: 0 10px 0 7px;
|
|
339
|
+
border: 0;
|
|
137
340
|
border-radius: 999px;
|
|
138
|
-
|
|
341
|
+
background: ${t.surfaceHover};
|
|
342
|
+
color: ${t.textStrong};
|
|
343
|
+
font: inherit;
|
|
139
344
|
font-size: 14px;
|
|
140
|
-
font-weight:
|
|
345
|
+
font-weight: 500;
|
|
141
346
|
cursor: pointer;
|
|
142
|
-
outline:
|
|
143
|
-
transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
|
|
347
|
+
outline: 0;
|
|
144
348
|
white-space: nowrap;
|
|
349
|
+
transition: background-color 140ms ${ease}, box-shadow 140ms ${ease};
|
|
145
350
|
}
|
|
146
351
|
.edel-sw-token-trigger:hover {
|
|
147
|
-
background: ${t.
|
|
148
|
-
border-color: #52E0A8;
|
|
352
|
+
background: ${t.surface4};
|
|
149
353
|
}
|
|
150
354
|
.edel-sw-token-trigger:focus-visible,
|
|
151
355
|
.edel-sw-token-trigger[aria-expanded="true"] {
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
356
|
+
background: ${t.surface4};
|
|
357
|
+
box-shadow: inset 0 0 0 1.5px rgba(${t.accentRgb}, 0.55);
|
|
358
|
+
}
|
|
359
|
+
.edel-sw-on-chain {
|
|
360
|
+
position: relative;
|
|
361
|
+
display: inline-flex;
|
|
362
|
+
align-items: center;
|
|
363
|
+
justify-content: center;
|
|
364
|
+
flex: none;
|
|
365
|
+
}
|
|
366
|
+
.edel-sw-on-chain-badge {
|
|
367
|
+
position: absolute;
|
|
368
|
+
right: -3px;
|
|
369
|
+
bottom: -3px;
|
|
370
|
+
display: grid;
|
|
371
|
+
place-items: center;
|
|
372
|
+
border-radius: 50%;
|
|
373
|
+
background: ${t.cardBg};
|
|
155
374
|
}
|
|
156
375
|
.edel-sw-token-icon {
|
|
157
376
|
display: block;
|
|
158
377
|
flex-shrink: 0;
|
|
159
|
-
border-radius:
|
|
378
|
+
border-radius: 50%;
|
|
160
379
|
}
|
|
161
380
|
.edel-sw-token-symbol {
|
|
162
381
|
letter-spacing: -0.01em;
|
|
@@ -164,199 +383,151 @@ export function getIsolatedWidgetCss(theme) {
|
|
|
164
383
|
.edel-sw-token-chevron {
|
|
165
384
|
color: ${t.textMuted};
|
|
166
385
|
flex-shrink: 0;
|
|
167
|
-
transition: transform
|
|
386
|
+
transition: transform 160ms ${ease};
|
|
168
387
|
}
|
|
169
388
|
.edel-sw-token-trigger[aria-expanded="true"] .edel-sw-token-chevron {
|
|
170
389
|
transform: rotate(180deg);
|
|
171
|
-
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
/* Searchable Token Dropdown (verbatim from bridge-select) */
|
|
393
|
+
@keyframes edel-sw-select-in {
|
|
394
|
+
from {
|
|
395
|
+
opacity: 0;
|
|
396
|
+
transform: translateY(-6px) scale(0.98);
|
|
397
|
+
}
|
|
172
398
|
}
|
|
173
399
|
.edel-sw-token-menu {
|
|
174
400
|
position: absolute;
|
|
175
401
|
top: calc(100% + 6px);
|
|
176
402
|
right: 0;
|
|
177
|
-
|
|
178
|
-
max-height: 236px;
|
|
179
|
-
overflow-y: auto;
|
|
180
|
-
padding: 5px;
|
|
181
|
-
border-radius: 14px;
|
|
182
|
-
background: ${t.cardBg};
|
|
183
|
-
border: 1px solid ${t.borderStrong};
|
|
184
|
-
box-shadow: 0 14px 32px rgba(0, 0, 0, 0.36);
|
|
403
|
+
left: 0;
|
|
185
404
|
z-index: 20;
|
|
186
405
|
display: flex;
|
|
187
406
|
flex-direction: column;
|
|
188
|
-
gap:
|
|
407
|
+
gap: 4px;
|
|
408
|
+
max-height: 340px;
|
|
409
|
+
overflow: hidden;
|
|
410
|
+
padding: 6px;
|
|
411
|
+
border-radius: 14px;
|
|
412
|
+
background: ${t.panel2};
|
|
413
|
+
box-shadow: ${t.shadowPop}, inset 0 0 0 1px rgba(${t.tintRgb}, 0.08);
|
|
414
|
+
animation: edel-sw-select-in 160ms ${ease} both;
|
|
189
415
|
}
|
|
190
|
-
.edel-sw-token-
|
|
416
|
+
.edel-sw-token-search {
|
|
191
417
|
display: flex;
|
|
418
|
+
flex: none;
|
|
192
419
|
align-items: center;
|
|
193
|
-
justify-content: space-between;
|
|
194
420
|
gap: 8px;
|
|
195
|
-
|
|
196
|
-
padding:
|
|
197
|
-
border:
|
|
198
|
-
|
|
421
|
+
height: 38px;
|
|
422
|
+
padding: 0 10px;
|
|
423
|
+
border-radius: 10px;
|
|
424
|
+
background: ${t.surfaceBg};
|
|
425
|
+
color: ${t.textMuted};
|
|
426
|
+
}
|
|
427
|
+
.edel-sw-token-search input {
|
|
428
|
+
flex: 1;
|
|
429
|
+
min-width: 0;
|
|
430
|
+
border: 0;
|
|
199
431
|
background: transparent;
|
|
200
|
-
color: ${t.
|
|
432
|
+
color: ${t.textStrong};
|
|
433
|
+
font: inherit;
|
|
201
434
|
font-size: 13px;
|
|
202
|
-
|
|
203
|
-
|
|
435
|
+
outline: 0;
|
|
436
|
+
}
|
|
437
|
+
.edel-sw-token-search input::placeholder {
|
|
438
|
+
color: ${t.textMuted};
|
|
439
|
+
}
|
|
440
|
+
.edel-sw-token-list {
|
|
441
|
+
display: flex;
|
|
442
|
+
flex: 1 1 auto;
|
|
443
|
+
flex-direction: column;
|
|
444
|
+
gap: 2px;
|
|
445
|
+
min-height: 0;
|
|
446
|
+
max-height: 264px;
|
|
447
|
+
overflow-x: hidden;
|
|
448
|
+
overflow-y: auto;
|
|
449
|
+
overscroll-behavior: contain;
|
|
450
|
+
}
|
|
451
|
+
.edel-sw-token-option {
|
|
452
|
+
display: grid;
|
|
453
|
+
flex: none;
|
|
454
|
+
grid-template-columns: 28px minmax(0, 1fr) auto 16px;
|
|
455
|
+
align-items: center;
|
|
456
|
+
gap: 10px;
|
|
457
|
+
width: 100%;
|
|
458
|
+
min-height: 52px;
|
|
459
|
+
padding: 8px 10px;
|
|
460
|
+
border: 0;
|
|
461
|
+
border-radius: 10px;
|
|
462
|
+
background: transparent;
|
|
463
|
+
color: inherit;
|
|
464
|
+
font: inherit;
|
|
204
465
|
text-align: left;
|
|
205
|
-
|
|
206
|
-
|
|
466
|
+
cursor: pointer;
|
|
467
|
+
outline: 0;
|
|
468
|
+
transition: background-color 120ms ${ease};
|
|
207
469
|
}
|
|
208
470
|
.edel-sw-token-option:hover,
|
|
209
471
|
.edel-sw-token-option:focus-visible {
|
|
210
472
|
background: ${t.surfaceHover};
|
|
211
|
-
outline: none;
|
|
212
473
|
}
|
|
213
474
|
.edel-sw-token-option[aria-selected="true"] {
|
|
214
475
|
background: ${t.surfaceBg};
|
|
215
|
-
color: ${theme === "dark" ? "#52E0A8" : t.accent};
|
|
216
476
|
}
|
|
217
|
-
.edel-sw-token-option-
|
|
218
|
-
display:
|
|
219
|
-
|
|
220
|
-
|
|
477
|
+
.edel-sw-token-option-text {
|
|
478
|
+
display: grid;
|
|
479
|
+
min-width: 0;
|
|
480
|
+
line-height: 17px;
|
|
221
481
|
}
|
|
222
|
-
.edel-sw-token-
|
|
482
|
+
.edel-sw-token-option-text strong {
|
|
483
|
+
color: ${t.textStrong};
|
|
484
|
+
font-size: 13.5px;
|
|
485
|
+
font-weight: 500;
|
|
486
|
+
}
|
|
487
|
+
.edel-sw-token-option-text span {
|
|
488
|
+
overflow: hidden;
|
|
489
|
+
color: ${t.textMuted};
|
|
223
490
|
font-size: 12px;
|
|
224
|
-
|
|
491
|
+
text-overflow: ellipsis;
|
|
492
|
+
white-space: nowrap;
|
|
225
493
|
}
|
|
226
|
-
.edel-sw-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
position: relative;
|
|
231
|
-
z-index: 2;
|
|
494
|
+
.edel-sw-token-option-aside {
|
|
495
|
+
color: ${t.text2};
|
|
496
|
+
font-size: 12px;
|
|
497
|
+
font-variant-numeric: tabular-nums;
|
|
232
498
|
}
|
|
233
|
-
.edel-sw-
|
|
234
|
-
width: 34px;
|
|
235
|
-
height: 34px;
|
|
236
|
-
border-radius: 10px;
|
|
237
|
-
border: 1px solid ${t.borderStrong};
|
|
238
|
-
background: ${t.cardBg};
|
|
239
|
-
color: ${t.accent};
|
|
240
|
-
font-size: 16px;
|
|
241
|
-
font-weight: 700;
|
|
242
|
-
cursor: pointer;
|
|
243
|
-
outline: none;
|
|
499
|
+
.edel-sw-token-check {
|
|
244
500
|
display: inline-flex;
|
|
245
501
|
align-items: center;
|
|
246
502
|
justify-content: center;
|
|
247
|
-
|
|
248
|
-
}
|
|
249
|
-
.edel-sw-flip:focus-visible {
|
|
250
|
-
outline: none;
|
|
251
|
-
border-color: #52E0A8;
|
|
252
|
-
box-shadow: 0 0 0 2px rgba(82, 224, 168, 0.28);
|
|
253
|
-
}
|
|
254
|
-
.edel-sw-fees {
|
|
255
|
-
margin-top: 14px;
|
|
256
|
-
padding: 12px 14px;
|
|
257
|
-
border-radius: 12px;
|
|
258
|
-
background: ${t.bg};
|
|
259
|
-
border: 1px solid ${t.border};
|
|
260
|
-
font-size: 12px;
|
|
261
|
-
display: flex;
|
|
262
|
-
flex-direction: column;
|
|
263
|
-
gap: 6px;
|
|
503
|
+
color: ${t.accent};
|
|
264
504
|
}
|
|
265
|
-
.edel-sw-
|
|
266
|
-
|
|
267
|
-
justify-content: space-between;
|
|
505
|
+
.edel-sw-token-empty {
|
|
506
|
+
padding: 16px 10px;
|
|
268
507
|
color: ${t.textMuted};
|
|
269
|
-
|
|
270
|
-
.edel-sw-fee-line strong {
|
|
271
|
-
color: ${t.text};
|
|
272
|
-
font-weight: 600;
|
|
273
|
-
}
|
|
274
|
-
.edel-sw-ttl-bar {
|
|
275
|
-
height: 4px;
|
|
276
|
-
width: 100%;
|
|
277
|
-
border-radius: 999px;
|
|
278
|
-
background: ${t.surfaceBg};
|
|
279
|
-
overflow: hidden;
|
|
280
|
-
margin-top: 4px;
|
|
281
|
-
}
|
|
282
|
-
.edel-sw-ttl-fill {
|
|
283
|
-
height: 100%;
|
|
284
|
-
background: ${t.accent};
|
|
285
|
-
transition: width 0.25s linear;
|
|
286
|
-
}
|
|
287
|
-
.edel-sw-cta {
|
|
288
|
-
margin-top: 14px;
|
|
289
|
-
width: 100%;
|
|
290
|
-
padding: 13px 16px;
|
|
291
|
-
border-radius: 12px;
|
|
292
|
-
border: none;
|
|
293
|
-
background: ${t.accent};
|
|
294
|
-
color: ${t.accentText};
|
|
295
|
-
font-size: 15px;
|
|
296
|
-
font-weight: 700;
|
|
297
|
-
cursor: pointer;
|
|
298
|
-
outline: none;
|
|
299
|
-
transition: background-color 0.15s ease, box-shadow 0.15s ease;
|
|
300
|
-
}
|
|
301
|
-
.edel-sw-cta:focus-visible {
|
|
302
|
-
outline: none;
|
|
303
|
-
box-shadow: 0 0 0 2px rgba(82, 224, 168, 0.35);
|
|
304
|
-
}
|
|
305
|
-
.edel-sw-cta:disabled {
|
|
306
|
-
opacity: 0.5;
|
|
307
|
-
cursor: not-allowed;
|
|
308
|
-
}
|
|
309
|
-
.edel-sw-tracker {
|
|
310
|
-
margin-top: 14px;
|
|
311
|
-
padding: 12px 14px;
|
|
312
|
-
border-radius: 12px;
|
|
313
|
-
background: ${t.surfaceBg};
|
|
314
|
-
border: 1px solid ${t.border};
|
|
315
|
-
}
|
|
316
|
-
.edel-sw-steps {
|
|
317
|
-
display: flex;
|
|
318
|
-
justify-content: space-between;
|
|
319
|
-
gap: 4px;
|
|
320
|
-
margin-top: 8px;
|
|
321
|
-
}
|
|
322
|
-
.edel-sw-step {
|
|
323
|
-
flex: 1;
|
|
508
|
+
font-size: 12.5px;
|
|
324
509
|
text-align: center;
|
|
325
|
-
font-size: 10px;
|
|
326
|
-
font-weight: 600;
|
|
327
|
-
padding: 5px 4px;
|
|
328
|
-
border-radius: 8px;
|
|
329
|
-
border: 1px solid ${t.border};
|
|
330
|
-
color: ${t.textMuted};
|
|
331
|
-
background: ${t.cardBg};
|
|
332
|
-
}
|
|
333
|
-
.edel-sw-step[data-state="active"] {
|
|
334
|
-
border-color: ${t.accent};
|
|
335
|
-
color: ${t.accent};
|
|
336
|
-
}
|
|
337
|
-
.edel-sw-step[data-state="done"] {
|
|
338
|
-
border-color: ${t.success};
|
|
339
|
-
background: ${t.accent};
|
|
340
|
-
color: ${t.accentText};
|
|
341
510
|
}
|
|
511
|
+
|
|
512
|
+
/* Max Slippage Presets (verbatim from bridge-preset) */
|
|
342
513
|
.edel-sw-slippage {
|
|
343
|
-
|
|
514
|
+
display: grid;
|
|
515
|
+
gap: 8px;
|
|
344
516
|
padding: 10px 12px;
|
|
345
|
-
border-radius:
|
|
346
|
-
|
|
347
|
-
border: 1px solid ${t.border};
|
|
517
|
+
border-radius: 14px;
|
|
518
|
+
box-shadow: inset 0 0 0 1px rgba(${t.tintRgb}, 0.08);
|
|
348
519
|
}
|
|
349
520
|
.edel-sw-slippage-header {
|
|
350
521
|
display: flex;
|
|
351
522
|
align-items: center;
|
|
352
523
|
justify-content: space-between;
|
|
353
|
-
font-size:
|
|
524
|
+
font-size: 12.5px;
|
|
354
525
|
color: ${t.textMuted};
|
|
355
|
-
margin-bottom: 8px;
|
|
356
526
|
}
|
|
357
527
|
.edel-sw-slippage-header strong {
|
|
358
528
|
color: ${t.text};
|
|
359
|
-
font-weight:
|
|
529
|
+
font-weight: 500;
|
|
530
|
+
font-variant-numeric: tabular-nums;
|
|
360
531
|
}
|
|
361
532
|
.edel-sw-slippage-pills {
|
|
362
533
|
display: flex;
|
|
@@ -368,80 +539,201 @@ export function getIsolatedWidgetCss(theme) {
|
|
|
368
539
|
}
|
|
369
540
|
.edel-sw-pill {
|
|
370
541
|
flex: 1;
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
border:
|
|
374
|
-
|
|
375
|
-
|
|
542
|
+
height: 28px;
|
|
543
|
+
padding: 0 9px;
|
|
544
|
+
border: 0;
|
|
545
|
+
border-radius: 999px;
|
|
546
|
+
background: rgba(${t.tintRgb}, 0.06);
|
|
547
|
+
color: ${t.text2};
|
|
548
|
+
font: inherit;
|
|
376
549
|
font-size: 12px;
|
|
377
|
-
font-
|
|
550
|
+
font-variant-numeric: tabular-nums;
|
|
551
|
+
font-weight: 500;
|
|
378
552
|
cursor: pointer;
|
|
379
|
-
outline:
|
|
553
|
+
outline: 0;
|
|
380
554
|
text-align: center;
|
|
381
|
-
transition:
|
|
555
|
+
transition: background-color 140ms ${ease}, color 140ms ${ease};
|
|
556
|
+
}
|
|
557
|
+
.edel-sw-pill:hover {
|
|
558
|
+
background: ${t.surface4};
|
|
559
|
+
color: ${t.textStrong};
|
|
382
560
|
}
|
|
383
561
|
.edel-sw-pill:focus-visible {
|
|
384
|
-
|
|
385
|
-
border-color: #52E0A8;
|
|
386
|
-
box-shadow: 0 0 0 2px rgba(82, 224, 168, 0.28);
|
|
562
|
+
box-shadow: inset 0 0 0 1.5px rgba(${t.accentRgb}, 0.55);
|
|
387
563
|
}
|
|
388
564
|
.edel-sw-pill[data-active="true"] {
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
color: ${t.accentText};
|
|
565
|
+
background: rgba(${t.accentRgb}, 0.14);
|
|
566
|
+
color: ${t.accent};
|
|
392
567
|
}
|
|
393
568
|
.edel-sw-custom-wrap {
|
|
394
569
|
display: flex;
|
|
395
570
|
align-items: center;
|
|
396
|
-
flex: 1.
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
border-radius:
|
|
400
|
-
padding: 0
|
|
401
|
-
transition:
|
|
402
|
-
}
|
|
403
|
-
.edel-sw-custom-wrap:focus-within {
|
|
404
|
-
border-color: #52E0A8;
|
|
405
|
-
box-shadow: 0 0 0 2px rgba(82, 224, 168, 0.28);
|
|
571
|
+
flex: 1.25;
|
|
572
|
+
height: 28px;
|
|
573
|
+
background: rgba(${t.tintRgb}, 0.06);
|
|
574
|
+
border-radius: 999px;
|
|
575
|
+
padding: 0 10px;
|
|
576
|
+
transition: box-shadow 140ms ${ease}, background-color 140ms ${ease};
|
|
406
577
|
}
|
|
578
|
+
.edel-sw-custom-wrap:focus-within,
|
|
407
579
|
.edel-sw-custom-wrap[data-active="true"] {
|
|
408
|
-
|
|
580
|
+
background: rgba(${t.accentRgb}, 0.1);
|
|
581
|
+
box-shadow: inset 0 0 0 1px rgba(${t.accentRgb}, 0.45);
|
|
409
582
|
}
|
|
410
583
|
.edel-sw-custom-input {
|
|
411
584
|
width: 100%;
|
|
412
585
|
background: transparent;
|
|
413
|
-
border:
|
|
414
|
-
outline:
|
|
415
|
-
color: ${t.
|
|
586
|
+
border: 0;
|
|
587
|
+
outline: 0;
|
|
588
|
+
color: ${t.textStrong};
|
|
416
589
|
font-size: 12px;
|
|
417
|
-
font-
|
|
418
|
-
|
|
590
|
+
font-variant-numeric: tabular-nums;
|
|
591
|
+
font-weight: 500;
|
|
419
592
|
min-width: 0;
|
|
420
593
|
}
|
|
594
|
+
.edel-sw-custom-input::placeholder {
|
|
595
|
+
color: ${t.textMuted};
|
|
596
|
+
}
|
|
421
597
|
.edel-sw-custom-suffix {
|
|
422
|
-
font-size:
|
|
598
|
+
font-size: 11.5px;
|
|
423
599
|
color: ${t.textMuted};
|
|
424
600
|
margin-left: 2px;
|
|
425
601
|
}
|
|
602
|
+
|
|
603
|
+
/* Quote Details Card (verbatim from bridge-quote & bridge-rows) */
|
|
604
|
+
.edel-sw-fees {
|
|
605
|
+
display: grid;
|
|
606
|
+
gap: 0;
|
|
607
|
+
padding: 10px 12px;
|
|
608
|
+
border-radius: 14px;
|
|
609
|
+
box-shadow: inset 0 0 0 1px rgba(${t.tintRgb}, 0.08);
|
|
610
|
+
font-size: 12.5px;
|
|
611
|
+
}
|
|
612
|
+
.edel-sw-fee-line {
|
|
613
|
+
display: flex;
|
|
614
|
+
align-items: baseline;
|
|
615
|
+
justify-content: space-between;
|
|
616
|
+
gap: 12px;
|
|
617
|
+
padding: 6px 0;
|
|
618
|
+
border-top: 1px solid rgba(${t.tintRgb}, 0.06);
|
|
619
|
+
color: ${t.textMuted};
|
|
620
|
+
line-height: 18px;
|
|
621
|
+
}
|
|
622
|
+
.edel-sw-fee-line:first-child {
|
|
623
|
+
border-top: 0;
|
|
624
|
+
padding-top: 0;
|
|
625
|
+
}
|
|
626
|
+
.edel-sw-fee-line strong {
|
|
627
|
+
color: ${t.text};
|
|
628
|
+
font-weight: 500;
|
|
629
|
+
font-variant-numeric: tabular-nums;
|
|
630
|
+
text-align: right;
|
|
631
|
+
white-space: nowrap;
|
|
632
|
+
}
|
|
633
|
+
.edel-sw-ttl-bar {
|
|
634
|
+
height: 3px;
|
|
635
|
+
width: 100%;
|
|
636
|
+
border-radius: 999px;
|
|
637
|
+
background: rgba(${t.tintRgb}, 0.1);
|
|
638
|
+
overflow: hidden;
|
|
639
|
+
margin-top: 6px;
|
|
640
|
+
}
|
|
641
|
+
.edel-sw-ttl-fill {
|
|
642
|
+
height: 100%;
|
|
643
|
+
background: ${t.accent};
|
|
644
|
+
transition: width 0.25s linear;
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
/* Active Order Tracker */
|
|
648
|
+
.edel-sw-tracker {
|
|
649
|
+
display: grid;
|
|
650
|
+
gap: 8px;
|
|
651
|
+
padding: 12px 14px;
|
|
652
|
+
border-radius: 14px;
|
|
653
|
+
background: ${t.surfaceBg};
|
|
654
|
+
box-shadow: inset 0 0 0 1px rgba(${t.tintRgb}, 0.08);
|
|
655
|
+
}
|
|
656
|
+
.edel-sw-steps {
|
|
657
|
+
display: flex;
|
|
658
|
+
justify-content: space-between;
|
|
659
|
+
gap: 4px;
|
|
660
|
+
}
|
|
661
|
+
.edel-sw-step {
|
|
662
|
+
flex: 1;
|
|
663
|
+
text-align: center;
|
|
664
|
+
font-size: 10.5px;
|
|
665
|
+
font-weight: 500;
|
|
666
|
+
padding: 5px 4px;
|
|
667
|
+
border-radius: 8px;
|
|
668
|
+
background: rgba(${t.tintRgb}, 0.05);
|
|
669
|
+
color: ${t.textMuted};
|
|
670
|
+
}
|
|
671
|
+
.edel-sw-step[data-state="active"] {
|
|
672
|
+
background: rgba(${t.accentRgb}, 0.14);
|
|
673
|
+
box-shadow: inset 0 0 0 1px rgba(${t.accentRgb}, 0.45);
|
|
674
|
+
color: ${t.accent};
|
|
675
|
+
}
|
|
676
|
+
.edel-sw-step[data-state="done"] {
|
|
677
|
+
background: ${t.buttonPrimaryBg};
|
|
678
|
+
color: ${t.buttonPrimaryText};
|
|
679
|
+
font-weight: 600;
|
|
680
|
+
}
|
|
426
681
|
.edel-sw-submit-btn {
|
|
427
|
-
margin-top: 10px;
|
|
428
682
|
width: 100%;
|
|
429
|
-
|
|
683
|
+
min-height: 38px;
|
|
684
|
+
padding: 0 14px;
|
|
430
685
|
border-radius: 10px;
|
|
431
|
-
border: 1px solid ${t.
|
|
432
|
-
background:
|
|
686
|
+
border: 1px solid rgba(${t.accentRgb}, 0.45);
|
|
687
|
+
background: rgba(${t.accentRgb}, 0.12);
|
|
433
688
|
color: ${t.accent};
|
|
434
689
|
font-size: 13px;
|
|
435
|
-
font-weight:
|
|
690
|
+
font-weight: 600;
|
|
436
691
|
cursor: pointer;
|
|
692
|
+
transition: background-color 140ms ${ease};
|
|
693
|
+
}
|
|
694
|
+
.edel-sw-submit-btn:hover:not(:disabled) {
|
|
695
|
+
background: rgba(${t.accentRgb}, 0.2);
|
|
437
696
|
}
|
|
438
697
|
.edel-sw-submit-btn:disabled {
|
|
439
698
|
opacity: 0.5;
|
|
440
699
|
cursor: not-allowed;
|
|
441
700
|
}
|
|
701
|
+
|
|
702
|
+
/* Primary Mint CTA Button (verbatim from bridge-cta & alpine-forest-2) */
|
|
703
|
+
.edel-sw-cta {
|
|
704
|
+
width: 100%;
|
|
705
|
+
min-height: 46px;
|
|
706
|
+
padding: 0 16px;
|
|
707
|
+
border-radius: 12px;
|
|
708
|
+
border: 0;
|
|
709
|
+
background: ${t.buttonPrimaryBg};
|
|
710
|
+
color: ${t.buttonPrimaryText};
|
|
711
|
+
font-size: 14.5px;
|
|
712
|
+
font-weight: 600;
|
|
713
|
+
cursor: pointer;
|
|
714
|
+
outline: 0;
|
|
715
|
+
transition: background-color 140ms ${ease}, color 140ms ${ease}, box-shadow 140ms ${ease};
|
|
716
|
+
}
|
|
717
|
+
.edel-sw-cta:hover:not(:disabled) {
|
|
718
|
+
background: ${t.buttonPrimaryHover};
|
|
719
|
+
}
|
|
720
|
+
.edel-sw-cta:focus-visible {
|
|
721
|
+
box-shadow: 0 0 0 2px rgba(${t.accentRgb}, 0.45);
|
|
722
|
+
}
|
|
723
|
+
.edel-sw-cta:disabled {
|
|
724
|
+
background: ${t.buttonDisabledBg};
|
|
725
|
+
color: ${t.buttonDisabledText};
|
|
726
|
+
cursor: not-allowed;
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
/* Error Notice (verbatim from bridge-notice[data-tone="error"]) */
|
|
442
730
|
.edel-sw-error {
|
|
443
|
-
|
|
444
|
-
|
|
731
|
+
padding: 10px 12px;
|
|
732
|
+
border-radius: 12px;
|
|
733
|
+
background: ${t.dangerSoft};
|
|
734
|
+
box-shadow: inset 0 0 0 1px ${t.dangerLine};
|
|
735
|
+
font-size: 12.5px;
|
|
736
|
+
line-height: 18px;
|
|
445
737
|
color: ${t.danger};
|
|
446
738
|
}
|
|
447
739
|
`.trim();
|