@funkit/connect 8.2.0 → 8.2.1-next.0
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/CHANGELOG.md +34 -12
- package/dist/{chunk-QHRAQNOB.js → chunk-FBCU3TQA.js} +8 -2
- package/dist/{chunk-WIDI2TYC.js → chunk-MGQZMUZ2.js} +42 -2
- package/dist/{chunk-JIC2XXGY.js → chunk-OTMBU2BL.js} +8 -2
- package/dist/clients/fanatics.css +4006 -3298
- package/dist/clients/fanatics.d.ts +18 -7
- package/dist/clients/fanatics.js +495 -337
- package/dist/components/Box/Box.d.ts +47 -47
- package/dist/components/Dialog/Dialog.d.ts +3 -1
- package/dist/components/Dialog/DialogContent.css.d.ts +9 -0
- package/dist/components/FunInput/FunInput.d.ts +4 -0
- package/dist/components/FunPayments/FunPaymentMethods.d.ts +7 -0
- package/dist/components/FunSelectBrokerage/FunBrokerageItem.d.ts +4 -1
- package/dist/components/FunSkeletonLoader/FunSkeletonBlock.d.ts +8 -3
- package/dist/components/FunTransactionSummary/FunTxSummaryComponents.d.ts +1 -0
- package/dist/components/HelpAlert/HelpAlert.d.ts +1 -0
- package/dist/components/Icons/ApplePayIcon.d.ts +4 -0
- package/dist/components/Icons/FanaticsCreditCardIcon.d.ts +4 -0
- package/dist/components/Icons/GooglePayIcon.d.ts +4 -0
- package/dist/components/Icons/RevolutPayIcon.d.ts +4 -0
- package/dist/components/Icons/SepaBankIcon.d.ts +4 -0
- package/dist/components/Icons/VenmoIcon.d.ts +4 -0
- package/dist/components/Tabs/Tabs.d.ts +2 -2
- package/dist/components/Text/Text.d.ts +1 -0
- package/dist/components/TransactionStatus/AnimatedText.d.ts +10 -0
- package/dist/components/TransactionStatus/DotsDivider.d.ts +2 -0
- package/dist/components/TransactionStatus/StepSpinner.d.ts +17 -0
- package/dist/components/TransactionStatus/TransactionStatus.d.ts +5 -7
- package/dist/components/TransactionStatus/TransactionStatusLoading.d.ts +6 -0
- package/dist/css/sprinkles.css.d.ts +217 -49
- package/dist/domains/paymentMethods.d.ts +8 -1
- package/dist/index.css +4061 -3315
- package/dist/index.js +3639 -2676
- package/dist/modals/CheckoutModal/ConfirmationStep/CheckoutPrimaryInfo.d.ts +2 -1
- package/dist/modals/CheckoutModal/InputAmount/state.d.ts +2 -0
- package/dist/providers/FunkitConfigContext.d.ts +86 -11
- package/dist/providers/FunkitThemeProvider.d.ts +255 -3
- package/dist/themes/baseTheme.js +1 -1
- package/dist/themes/darkTheme.js +2 -2
- package/dist/themes/lightTheme.js +2 -2
- package/dist/utils/checkout.d.ts +6 -0
- package/dist/utils/customer.d.ts +2 -3
- package/dist/utils/flags/config.d.ts +2 -2
- package/dist/wallets/walletConnectors/index.js +20 -20
- package/package.json +3 -3
- package/dist/hooks/useUsableWalletAssetsForCheckout.d.ts +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,44 @@
|
|
|
1
1
|
# @funkit/connect
|
|
2
2
|
|
|
3
|
+
## 8.2.1-next.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 87c0f00: feat(connect): split decimal based on locale
|
|
8
|
+
- 761464a: feat(connect): fanatics checkout history
|
|
9
|
+
- 29ac86d: Add configurable props to custom source banner component
|
|
10
|
+
- 203029c: feat(connect): add theme level control to set font size for you send you receive component
|
|
11
|
+
- 4833bc1: Do not unnecessarily fetch Lighter accounts
|
|
12
|
+
- ad0a860: fix(connect): input screen decimal color check
|
|
13
|
+
- 9ffd984: feat(connect): ability to pass custom icons to payment method icons
|
|
14
|
+
- d9821eb: swapped based use cash tab UI implementation
|
|
15
|
+
- 2f4c5c2: feat(connect): add theme styling for cash crypto toggle
|
|
16
|
+
- 9f3ff5c: fix(connect): transparent caret color bug
|
|
17
|
+
- 0b0e4e8: fanatics modal mobile view improvements
|
|
18
|
+
- 9f98ac4: feat(connect): add dynamic chain icon mask on FunAvatar component
|
|
19
|
+
- 49376c3: fix: getBalance computation no longer relies on deprecated field
|
|
20
|
+
- 0d1a649: feat(connect): customizable payment method icons
|
|
21
|
+
- 38be23d: feat: new inputAmountFiatDecimalsColor theme variable
|
|
22
|
+
- ce0e7ff: fix(connect): cdn url path
|
|
23
|
+
- ff96c90: feat(connect): hide destination field in payment summary for simplifiedUi config
|
|
24
|
+
- aabec47: feat(connect): ui customization to hide secondary token symbol on FunAssetItem
|
|
25
|
+
- 1f1c515: chore(connect): fanatics confirmation step
|
|
26
|
+
- cc8ed95: feat(connect): fanatics connect exchange screen
|
|
27
|
+
- a677e72: refactor(connect): break up TransactionStatus into separate files
|
|
28
|
+
- 52208da: fix(connect): fix stale value with flush sync
|
|
29
|
+
- 5bba47b: fix(connect): update default theme value horizontal padding on confirmation screen
|
|
30
|
+
- 0c04e6e: chore: deprecate unused hook useUsableWalletAssetsForCheckout
|
|
31
|
+
- 2f67612: fix font sizes for fanatics
|
|
32
|
+
- Updated dependencies [c939c70]
|
|
33
|
+
- Updated dependencies [78f741f]
|
|
34
|
+
- @funkit/fun-relay@2.2.3-next.0
|
|
35
|
+
- @funkit/api-base@2.1.2-next.0
|
|
36
|
+
|
|
3
37
|
## 8.2.0
|
|
4
38
|
|
|
5
39
|
### Minor Changes
|
|
6
40
|
|
|
7
41
|
- cf97880: Add client configuration exports with wildcard pattern support
|
|
8
|
-
|
|
9
42
|
- Add `/clients/*` export path in package.json for client configurations
|
|
10
43
|
- Create `src/clients/` directory with exportable client configurations
|
|
11
44
|
- Update build system to compile clients directory
|
|
@@ -113,14 +146,12 @@
|
|
|
113
146
|
- f4552b0: Expose recent deposits hooks for SDK users with comprehensive documentation
|
|
114
147
|
|
|
115
148
|
Add two new public hooks for fetching recent deposits/direct executions:
|
|
116
|
-
|
|
117
149
|
- `useFunkitRecentDeposits`: Auto-integrates with FunkitProvider context
|
|
118
150
|
- `useFunkitRecentDepositsImpl`: Standalone implementation with explicit parameters
|
|
119
151
|
|
|
120
152
|
Both hooks return purified checkout history items suitable for external use and include full JSDoc documentation with usage examples.
|
|
121
153
|
|
|
122
154
|
- fa6cb1f: Add soft-close feature for checkout modal when transaction is in progress
|
|
123
|
-
|
|
124
155
|
- When a transaction is in progress (checkoutProgress.step >= 1), the close button now hides the modal instead of closing it, preserving state
|
|
125
156
|
- Added `useSoftHiddenCheckout` hook for managing soft-hidden checkout state
|
|
126
157
|
- Added internal `onCheckoutConflict` handler to resolve conflicts when `beginCheckout` is called while a checkout is soft-hidden
|
|
@@ -294,7 +325,6 @@
|
|
|
294
325
|
- f4552b0: Expose recent deposits hooks for SDK users with comprehensive documentation
|
|
295
326
|
|
|
296
327
|
Add two new public hooks for fetching recent deposits/direct executions:
|
|
297
|
-
|
|
298
328
|
- `useFunkitRecentDeposits`: Auto-integrates with FunkitProvider context
|
|
299
329
|
- `useFunkitRecentDepositsImpl`: Standalone implementation with explicit parameters
|
|
300
330
|
|
|
@@ -423,7 +453,6 @@
|
|
|
423
453
|
### Minor Changes
|
|
424
454
|
|
|
425
455
|
- fa6cb1f: Add soft-close feature for checkout modal when transaction is in progress
|
|
426
|
-
|
|
427
456
|
- When a transaction is in progress (checkoutProgress.step >= 1), the close button now hides the modal instead of closing it, preserving state
|
|
428
457
|
- Added `useSoftHiddenCheckout` hook for managing soft-hidden checkout state
|
|
429
458
|
- Added internal `onCheckoutConflict` handler to resolve conflicts when `beginCheckout` is called while a checkout is soft-hidden
|
|
@@ -1056,12 +1085,10 @@
|
|
|
1056
1085
|
- d307de8: Add support for custom withdrawal callbacks to enable server-side withdrawal processing
|
|
1057
1086
|
|
|
1058
1087
|
Introduces a new withdrawal configuration type that allows customers (e.g., Kalshi) to handle withdrawals via callbacks instead of direct blockchain transactions. The withdrawal config now supports two modes:
|
|
1059
|
-
|
|
1060
1088
|
- Wallet-based (existing): Direct blockchain transactions via WithdrawalClient
|
|
1061
1089
|
- Callback-based (new): Server-side processing via withdrawCallback function
|
|
1062
1090
|
|
|
1063
1091
|
Key changes:
|
|
1064
|
-
|
|
1065
1092
|
- Split FunkitWithdrawalConfig into discriminated union types (WalletWithdrawalConfig, CustomWithdrawalConfig)
|
|
1066
1093
|
- Add WithdrawalParam interface with quoteId and funQuote
|
|
1067
1094
|
- Update withdrawal flow to route callback-based withdrawals to DirectExecutionNotifCenter (pending screen)
|
|
@@ -1141,12 +1168,10 @@
|
|
|
1141
1168
|
- d307de8: Add support for custom withdrawal callbacks to enable server-side withdrawal processing
|
|
1142
1169
|
|
|
1143
1170
|
Introduces a new withdrawal configuration type that allows customers (e.g., Kalshi) to handle withdrawals via callbacks instead of direct blockchain transactions. The withdrawal config now supports two modes:
|
|
1144
|
-
|
|
1145
1171
|
- Wallet-based (existing): Direct blockchain transactions via WithdrawalClient
|
|
1146
1172
|
- Callback-based (new): Server-side processing via withdrawCallback function
|
|
1147
1173
|
|
|
1148
1174
|
Key changes:
|
|
1149
|
-
|
|
1150
1175
|
- Split FunkitWithdrawalConfig into discriminated union types (WalletWithdrawalConfig, CustomWithdrawalConfig)
|
|
1151
1176
|
- Add WithdrawalParam interface with quoteId and funQuote
|
|
1152
1177
|
- Update withdrawal flow to route callback-based withdrawals to DirectExecutionNotifCenter (pending screen)
|
|
@@ -1500,7 +1525,6 @@
|
|
|
1500
1525
|
This removes all EtherFi-related code including API keys, theme components, customer functions, and UI customizations. The EtherFi integration was marked as obsolete and has been completely removed from the codebase.
|
|
1501
1526
|
|
|
1502
1527
|
**Breaking Changes:**
|
|
1503
|
-
|
|
1504
1528
|
- Removed `ETHERFI_API_KEY` constant from `@funkit/api-base`
|
|
1505
1529
|
- Removed `isEtherFiCustomer` function from `@funkit/connect`
|
|
1506
1530
|
- Removed `EtherFiIcon` component from `@funkit/connect`
|
|
@@ -3740,12 +3764,10 @@
|
|
|
3740
3764
|
### Patch Changes
|
|
3741
3765
|
|
|
3742
3766
|
- 47087b4: Features
|
|
3743
|
-
|
|
3744
3767
|
1. Multichain asset display and checkout selection
|
|
3745
3768
|
2. `textCustomizations` in `funkitConfig`
|
|
3746
3769
|
|
|
3747
3770
|
Fixes
|
|
3748
|
-
|
|
3749
3771
|
1. Deprecate unsupported mesh brokerage options (Stash, ETrade)
|
|
3750
3772
|
2. Fix EOA checkout initCode issue with new wrapper funWallet
|
|
3751
3773
|
3. Fix EOA checkout wrapper funWallet regeneration on chain switch
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
baseTheme
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MGQZMUZ2.js";
|
|
5
5
|
|
|
6
6
|
// src/themes/lightTheme.ts
|
|
7
7
|
var accentColors = {
|
|
@@ -67,6 +67,9 @@ var lightTheme = ({
|
|
|
67
67
|
inputBackground: "#FFFFFF",
|
|
68
68
|
inputBorderBase: "#F0F0F0",
|
|
69
69
|
inputBorderHover: "#E5E5E5",
|
|
70
|
+
// tab
|
|
71
|
+
activeTabBorderColor: "#F7F7F7",
|
|
72
|
+
activeTabBackground: "#F7F7F7",
|
|
70
73
|
// button
|
|
71
74
|
actionColor: "#000",
|
|
72
75
|
actionColorHover: "rgba(0, 0, 0, 0.7)",
|
|
@@ -108,6 +111,7 @@ var lightTheme = ({
|
|
|
108
111
|
inputAmountQuickOptionHoverBorder: "rgba(0, 0, 0, 0.35)",
|
|
109
112
|
inputAmountQuickOptionActiveBorder: "rgba(0, 0, 0, 0.35)",
|
|
110
113
|
inputAmountQuickOptionFocusedBorder: "rgba(0, 0, 0, 0.35)",
|
|
114
|
+
inputAmountFiatDecimalsColor: customColors?.inputAmountFiatDecimalsColor ?? "none",
|
|
111
115
|
youPayYouReceiveBackground: "#FFF",
|
|
112
116
|
// modalBackground
|
|
113
117
|
youPayYouReceiveBorder: "#F0F0F0",
|
|
@@ -159,7 +163,9 @@ var lightTheme = ({
|
|
|
159
163
|
optionBoxBackgroundUninteractive: customColors?.optionBoxBackgroundUninteractive ?? "transparent",
|
|
160
164
|
dropdownActiveItemBackgroundBase: customColors?.dropdownActiveItemBackgroundBase ?? customColors?.modalBackground ?? "#FFF",
|
|
161
165
|
dropdownActiveItemBackgroundHover: customColors?.dropdownActiveItemBackgroundHover ?? customColors?.offBackground ?? "#F7F7F7",
|
|
162
|
-
dropdownActiveItemBackgroundDisabled: customColors?.dropdownActiveItemBackgroundDisabled ?? "transparent"
|
|
166
|
+
dropdownActiveItemBackgroundDisabled: customColors?.dropdownActiveItemBackgroundDisabled ?? "transparent",
|
|
167
|
+
txSummaryBoxBackground: customColors?.txSummaryBoxBackground ?? customColors?.modalBackground ?? "#FFF",
|
|
168
|
+
txSummaryBoxBorder: customColors?.txSummaryBoxBorder ?? customColors?.lightStroke ?? "#F7F7F7"
|
|
163
169
|
},
|
|
164
170
|
shadows: {
|
|
165
171
|
connectButton: "0px 4px 12px rgba(0, 0, 0, 0.1)",
|
|
@@ -151,6 +151,8 @@ var baseTheme = ({
|
|
|
151
151
|
modalOverlay: blurs[overlayBlur].modalOverlay
|
|
152
152
|
},
|
|
153
153
|
dimensions: {
|
|
154
|
+
connectExchangeIconSize: "48px",
|
|
155
|
+
dollarValueSkeletonHeight: "60px",
|
|
154
156
|
inputAmountQuickOptionButtonHeight: "36px",
|
|
155
157
|
inputAmountMinHeight: "76px",
|
|
156
158
|
modalBottomBarButtonHeight: "34px",
|
|
@@ -163,30 +165,47 @@ var baseTheme = ({
|
|
|
163
165
|
buttonTextPrimary: customFontFamily,
|
|
164
166
|
buttonTextSecondary: customFontFamily,
|
|
165
167
|
buttonTextTertiary: customFontFamily,
|
|
166
|
-
|
|
168
|
+
header: customFontFamily,
|
|
169
|
+
inputAmount: customFontFamily,
|
|
170
|
+
txStatusDescription: customFontFamily,
|
|
171
|
+
txStatusTitle: customFontFamily
|
|
167
172
|
} : {
|
|
168
173
|
body: fontStacks[fontStack],
|
|
169
174
|
buttonTextPrimary: fontStacks[fontStack],
|
|
170
175
|
buttonTextSecondary: fontStacks[fontStack],
|
|
171
176
|
buttonTextTertiary: fontStacks[fontStack],
|
|
177
|
+
header: fontStacks[fontStack],
|
|
172
178
|
inputAmount: fontStacks[fontStack],
|
|
179
|
+
txStatusDescription: fontStacks[fontStack],
|
|
180
|
+
txStatusTitle: fontStacks[fontStack],
|
|
173
181
|
...customFontFamily
|
|
174
182
|
},
|
|
175
183
|
fontWeight: {
|
|
176
184
|
...DEFAULT_FONT_WEIGHTS,
|
|
185
|
+
inputAmount: DEFAULT_FONT_WEIGHTS.medium,
|
|
177
186
|
modalTopbarTitle: DEFAULT_FONT_WEIGHTS.medium,
|
|
178
187
|
modalBottomBarButtonText: DEFAULT_FONT_WEIGHTS.medium,
|
|
179
188
|
paymentMethodItemSubtitle: DEFAULT_FONT_WEIGHTS.regular,
|
|
180
189
|
paymentMethodItemTitle: DEFAULT_FONT_WEIGHTS.medium,
|
|
181
190
|
selectAssetItemSubtitle: DEFAULT_FONT_WEIGHTS.regular,
|
|
182
191
|
selectAssetItemTitle: DEFAULT_FONT_WEIGHTS.medium,
|
|
192
|
+
transferTokenLabelFontWeight: DEFAULT_FONT_WEIGHTS.medium,
|
|
193
|
+
txBreakdown: DEFAULT_FONT_WEIGHTS.regular,
|
|
194
|
+
txStatusDescription: DEFAULT_FONT_WEIGHTS.regular,
|
|
195
|
+
txStatusTitle: DEFAULT_FONT_WEIGHTS.medium,
|
|
196
|
+
txSummaryLabel: DEFAULT_FONT_WEIGHTS.medium,
|
|
197
|
+
txSummaryValue: DEFAULT_FONT_WEIGHTS.medium,
|
|
183
198
|
...customFontWeights
|
|
184
199
|
},
|
|
185
200
|
fontSize: {
|
|
186
201
|
...FONT_SIZINGS[fontSizing],
|
|
202
|
+
body: FONT_SIZINGS[fontSizing][14],
|
|
203
|
+
"header-14": { fontSize: "14px", lineHeight: "14px" },
|
|
204
|
+
"header-36": { fontSize: "36px", lineHeight: "36px" },
|
|
187
205
|
buttonTextPrimary: FONT_SIZINGS[fontSizing][12],
|
|
188
206
|
buttonTextSecondary: FONT_SIZINGS[fontSizing][10],
|
|
189
207
|
buttonTextTertiary: FONT_SIZINGS[fontSizing][12],
|
|
208
|
+
dollarValue: FONT_SIZINGS[fontSizing][40],
|
|
190
209
|
inputAmount: FONT_SIZINGS[fontSizing][57],
|
|
191
210
|
modalTopbarSubtitle: FONT_SIZINGS[fontSizing][10],
|
|
192
211
|
modalTopbarTitle: FONT_SIZINGS[fontSizing][13],
|
|
@@ -195,6 +214,16 @@ var baseTheme = ({
|
|
|
195
214
|
paymentMethodItemTitle: FONT_SIZINGS[fontSizing][12],
|
|
196
215
|
selectAssetItemSubtitle: FONT_SIZINGS[fontSizing][10],
|
|
197
216
|
selectAssetItemTitle: FONT_SIZINGS[fontSizing][13],
|
|
217
|
+
txBreakdown: FONT_SIZINGS[fontSizing][12],
|
|
218
|
+
txStatusDescription: FONT_SIZINGS[fontSizing][13],
|
|
219
|
+
txStatusTitle: FONT_SIZINGS[fontSizing][13],
|
|
220
|
+
txSummaryLabel: FONT_SIZINGS[fontSizing][12],
|
|
221
|
+
txSummaryValue: FONT_SIZINGS[fontSizing][12],
|
|
222
|
+
youPayYouReceivePrimaryFontSize: FONT_SIZINGS[fontSizing][12],
|
|
223
|
+
youPayYouReceiveSecondaryFontSize: FONT_SIZINGS[fontSizing][10],
|
|
224
|
+
transferTokenLabelFontSize: FONT_SIZINGS[fontSizing][12],
|
|
225
|
+
depositAddressFontSize: FONT_SIZINGS[fontSizing][10],
|
|
226
|
+
funFeatureListItemFontSize: FONT_SIZINGS[fontSizing][12],
|
|
198
227
|
...customFontSizings
|
|
199
228
|
},
|
|
200
229
|
radii: {
|
|
@@ -220,9 +249,12 @@ var baseTheme = ({
|
|
|
220
249
|
borderWidths: {
|
|
221
250
|
activeOptionBorderWidth: "1px",
|
|
222
251
|
buttonTertiaryBorderWidth: "0px",
|
|
252
|
+
txSummaryBoxBorderWidth: "1px",
|
|
223
253
|
...customBorderWidths
|
|
224
254
|
},
|
|
225
255
|
spacing: {
|
|
256
|
+
confirmationStepMarginTop: "6px",
|
|
257
|
+
confirmationStepVerticalGap: "18px",
|
|
226
258
|
modalBaseHorizontalPadding: "6px",
|
|
227
259
|
modalBottomHorizontalPadding: "12px",
|
|
228
260
|
modalPaddingBottomUpper: "16px",
|
|
@@ -233,11 +265,19 @@ var baseTheme = ({
|
|
|
233
265
|
selectAssetItemTextGap: "0px",
|
|
234
266
|
selectBrokerageItemPaddingX: "12px",
|
|
235
267
|
selectBrokerageItemPaddingY: "11px",
|
|
268
|
+
txBreakdownMarginY: "18px",
|
|
269
|
+
txBreakdownPaddingX: "12px",
|
|
270
|
+
txSummaryBoxPaddingX: "12px",
|
|
271
|
+
txSummaryBoxPaddingY: "12px",
|
|
272
|
+
txSummaryLineItemPadding: "0px",
|
|
273
|
+
txSummaryDividerMarginX: "12px",
|
|
274
|
+
txSummaryDividerMarginY: "12px",
|
|
236
275
|
youPayYouReceivePaddingY: "8px",
|
|
237
276
|
...customSpacings
|
|
238
277
|
},
|
|
239
278
|
textTransforms: {
|
|
240
|
-
|
|
279
|
+
inputAmountQuickOptionButton: "none",
|
|
280
|
+
txStatusTitle: "none",
|
|
241
281
|
...customTextTransforms
|
|
242
282
|
}
|
|
243
283
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
baseTheme
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MGQZMUZ2.js";
|
|
5
5
|
|
|
6
6
|
// src/themes/darkTheme.ts
|
|
7
7
|
var accentColors = {
|
|
@@ -67,6 +67,9 @@ var darkTheme = ({
|
|
|
67
67
|
inputBackground: "#000000",
|
|
68
68
|
inputBorderBase: "#333333",
|
|
69
69
|
inputBorderHover: "#525252",
|
|
70
|
+
// tab
|
|
71
|
+
activeTabBorderColor: "#333333",
|
|
72
|
+
activeTabBackground: "#333333",
|
|
70
73
|
// button
|
|
71
74
|
actionColor: "#FFF",
|
|
72
75
|
actionColorHover: "rgba(255, 255, 255, 0.8)",
|
|
@@ -108,6 +111,7 @@ var darkTheme = ({
|
|
|
108
111
|
inputAmountQuickOptionHoverBorder: "rgba(255, 255, 255, 0.35)",
|
|
109
112
|
inputAmountQuickOptionActiveBorder: "rgba(255, 255, 255, 0.35)",
|
|
110
113
|
inputAmountQuickOptionFocusedBorder: "rgba(255, 255, 255, 0.35)",
|
|
114
|
+
inputAmountFiatDecimalsColor: customColors?.inputAmountFiatDecimalsColor ?? "none",
|
|
111
115
|
youPayYouReceiveBackground: "#000000",
|
|
112
116
|
// modalBackground
|
|
113
117
|
youPayYouReceiveBorder: "#333333",
|
|
@@ -159,7 +163,9 @@ var darkTheme = ({
|
|
|
159
163
|
optionBoxBackgroundUninteractive: customColors?.optionBoxBackgroundUninteractive ?? "transparent",
|
|
160
164
|
dropdownActiveItemBackgroundBase: customColors?.dropdownActiveItemBackgroundBase ?? customColors?.modalBackground ?? "#000000",
|
|
161
165
|
dropdownActiveItemBackgroundHover: customColors?.dropdownActiveItemBackgroundHover ?? customColors?.offBackground ?? "#1F1F1F",
|
|
162
|
-
dropdownActiveItemBackgroundDisabled: customColors?.dropdownActiveItemBackgroundDisabled ?? "transparent"
|
|
166
|
+
dropdownActiveItemBackgroundDisabled: customColors?.dropdownActiveItemBackgroundDisabled ?? "transparent",
|
|
167
|
+
txSummaryBoxBackground: customColors?.txSummaryBoxBackground ?? customColors?.modalBackground ?? "#000",
|
|
168
|
+
txSummaryBoxBorder: customColors?.txSummaryBoxBorder ?? customColors?.lightStroke ?? "#333333"
|
|
163
169
|
},
|
|
164
170
|
shadows: {
|
|
165
171
|
connectButton: "0px 4px 12px rgba(0, 0, 0, 0.1)",
|