signer-test-sdk-react 0.0.22 → 0.0.23

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.
Files changed (93) hide show
  1. package/dist/src/AbstraxnProvider.d.ts +5 -13
  2. package/dist/src/AbstraxnProvider.js +14 -3126
  3. package/dist/src/AbstraxnProvider.js.map +1 -1
  4. package/dist/src/ConnectButton.css +1 -1
  5. package/dist/src/ExternalWalletButtons.css +1 -1
  6. package/dist/src/ExternalWalletButtons.js +2 -2
  7. package/dist/src/ExternalWalletButtons.js.map +1 -1
  8. package/dist/src/WalletModal.css +193 -373
  9. package/dist/src/WalletModal.d.ts +1 -1
  10. package/dist/src/WalletModal.js +108 -45
  11. package/dist/src/WalletModal.js.map +1 -1
  12. package/dist/src/chains.d.ts +4 -3
  13. package/dist/src/chains.js +154 -84
  14. package/dist/src/chains.js.map +1 -1
  15. package/dist/src/components/AbstraxnProvider/AbstraxnProvider.d.ts +12 -0
  16. package/dist/src/components/AbstraxnProvider/AbstraxnProvider.js +146 -0
  17. package/dist/src/components/AbstraxnProvider/AbstraxnProvider.js.map +1 -0
  18. package/dist/src/components/AbstraxnProvider/AbstraxnProviderInner.d.ts +25 -0
  19. package/dist/src/components/AbstraxnProvider/AbstraxnProviderInner.js +3086 -0
  20. package/dist/src/components/AbstraxnProvider/AbstraxnProviderInner.js.map +1 -0
  21. package/dist/src/components/AbstraxnProvider/AbstraxnProviderWithWagmi.d.ts +8 -0
  22. package/dist/src/components/AbstraxnProvider/AbstraxnProviderWithWagmi.js +46 -0
  23. package/dist/src/components/AbstraxnProvider/AbstraxnProviderWithWagmi.js.map +1 -0
  24. package/dist/src/components/AbstraxnProvider/AbstraxnProviderWithoutWagmi.d.ts +8 -0
  25. package/dist/src/components/AbstraxnProvider/AbstraxnProviderWithoutWagmi.js +12 -0
  26. package/dist/src/components/AbstraxnProvider/AbstraxnProviderWithoutWagmi.js.map +1 -0
  27. package/dist/src/components/AbstraxnProvider/context.d.ts +2 -0
  28. package/dist/src/components/AbstraxnProvider/context.js +6 -0
  29. package/dist/src/components/AbstraxnProvider/context.js.map +1 -0
  30. package/dist/src/components/AbstraxnProvider/index.d.ts +6 -0
  31. package/dist/src/components/AbstraxnProvider/index.js +7 -0
  32. package/dist/src/components/AbstraxnProvider/index.js.map +1 -0
  33. package/dist/src/components/AbstraxnProvider/useAbstraxnProviderBase.d.ts +30 -0
  34. package/dist/src/components/AbstraxnProvider/useAbstraxnProviderBase.js +49 -0
  35. package/dist/src/components/AbstraxnProvider/useAbstraxnProviderBase.js.map +1 -0
  36. package/dist/src/components/AbstraxnProvider/useAbstraxnWallet.d.ts +2 -0
  37. package/dist/src/components/AbstraxnProvider/useAbstraxnWallet.js +13 -0
  38. package/dist/src/components/AbstraxnProvider/useAbstraxnWallet.js.map +1 -0
  39. package/dist/src/components/AbstraxnProvider/useOAuthCallbacks.d.ts +22 -0
  40. package/dist/src/components/AbstraxnProvider/useOAuthCallbacks.js +242 -0
  41. package/dist/src/components/AbstraxnProvider/useOAuthCallbacks.js.map +1 -0
  42. package/dist/src/components/AbstraxnProvider/useWalletInitialization.d.ts +25 -0
  43. package/dist/src/components/AbstraxnProvider/useWalletInitialization.js +539 -0
  44. package/dist/src/components/AbstraxnProvider/useWalletInitialization.js.map +1 -0
  45. package/dist/src/components/AbstraxnProvider/utils.d.ts +41 -0
  46. package/dist/src/components/AbstraxnProvider/utils.js +139 -0
  47. package/dist/src/components/AbstraxnProvider/utils.js.map +1 -0
  48. package/dist/src/components/OnboardingUI/OnboardingUI.css +8 -5
  49. package/dist/src/components/OnboardingUI/OnboardingUIWeb.js +6 -0
  50. package/dist/src/components/OnboardingUI/OnboardingUIWeb.js.map +1 -1
  51. package/dist/src/components/WalletModal/components/ChainSelector.css +249 -102
  52. package/dist/src/components/WalletModal/components/ChainSelector.d.ts +7 -6
  53. package/dist/src/components/WalletModal/components/ChainSelector.js +68 -27
  54. package/dist/src/components/WalletModal/components/ChainSelector.js.map +1 -1
  55. package/dist/src/components/WalletModal/components/ExportKeyModal.css +89 -88
  56. package/dist/src/components/WalletModal/components/ExportKeyModal.d.ts +6 -1
  57. package/dist/src/components/WalletModal/components/ExportKeyModal.js +6 -11
  58. package/dist/src/components/WalletModal/components/ExportKeyModal.js.map +1 -1
  59. package/dist/src/components/WalletModal/components/ExportWarningModal.css +107 -2
  60. package/dist/src/components/WalletModal/components/ExportWarningModal.d.ts +7 -1
  61. package/dist/src/components/WalletModal/components/ExportWarningModal.js +5 -3
  62. package/dist/src/components/WalletModal/components/ExportWarningModal.js.map +1 -1
  63. package/dist/src/components/WalletModal/components/ManageWalletModal.css +90 -4
  64. package/dist/src/components/WalletModal/components/ManageWalletModal.d.ts +3 -3
  65. package/dist/src/components/WalletModal/components/ManageWalletModal.js +28 -13
  66. package/dist/src/components/WalletModal/components/ManageWalletModal.js.map +1 -1
  67. package/dist/src/components/WalletModal/components/PreviewTransactionModal.css +3 -4
  68. package/dist/src/components/WalletModal/components/ReceiveModal.css +93 -58
  69. package/dist/src/components/WalletModal/components/ReceiveModal.js +1 -1
  70. package/dist/src/components/WalletModal/components/ReceiveModal.js.map +1 -1
  71. package/dist/src/components/WalletModal/components/SendModal.css +170 -127
  72. package/dist/src/components/WalletModal/components/SendModal.d.ts +4 -6
  73. package/dist/src/components/WalletModal/components/SendModal.js +131 -39
  74. package/dist/src/components/WalletModal/components/SendModal.js.map +1 -1
  75. package/dist/src/components/WalletModal/components/SuccessModal.css +7 -8
  76. package/dist/src/components/WalletModal/components/TokenSelectorModal.css +240 -0
  77. package/dist/src/components/WalletModal/components/TokenSelectorModal.d.ts +21 -0
  78. package/dist/src/components/WalletModal/components/TokenSelectorModal.js +44 -0
  79. package/dist/src/components/WalletModal/components/TokenSelectorModal.js.map +1 -0
  80. package/dist/src/components/WalletModal/components/index.d.ts +2 -0
  81. package/dist/src/components/WalletModal/components/index.js +1 -0
  82. package/dist/src/components/WalletModal/components/index.js.map +1 -1
  83. package/dist/src/hooks.d.ts +301 -329
  84. package/dist/src/hooks.js +152 -123
  85. package/dist/src/hooks.js.map +1 -1
  86. package/dist/src/index.d.ts +1 -1
  87. package/dist/src/index.js +1 -1
  88. package/dist/src/index.js.map +1 -1
  89. package/dist/src/wagmiConfig.d.ts +1 -1
  90. package/dist/src/wagmiConfig.js +33 -20
  91. package/dist/src/wagmiConfig.js.map +1 -1
  92. package/dist/tsconfig.tsbuildinfo +1 -1
  93. package/package.json +1 -1
@@ -1,4 +1,46 @@
1
1
  /* Wallet Modal Styles */
2
+
3
+ /* GeistSans Font */
4
+ @font-face {
5
+ font-family: 'GeistSans';
6
+ src: url('https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/Geist-Regular.woff2') format('woff2');
7
+ font-weight: 400;
8
+ font-style: normal;
9
+ font-display: swap;
10
+ }
11
+
12
+ @font-face {
13
+ font-family: 'GeistSans';
14
+ src: url('https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/Geist-Medium.woff2') format('woff2');
15
+ font-weight: 500;
16
+ font-style: normal;
17
+ font-display: swap;
18
+ }
19
+
20
+ @font-face {
21
+ font-family: 'GeistSans';
22
+ src: url('https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/Geist-SemiBold.woff2') format('woff2');
23
+ font-weight: 600;
24
+ font-style: normal;
25
+ font-display: swap;
26
+ }
27
+
28
+ @font-face {
29
+ font-family: 'GeistSans';
30
+ src: url('https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/Geist-Bold.woff2') format('woff2');
31
+ font-weight: 700;
32
+ font-style: normal;
33
+ font-display: swap;
34
+ }
35
+
36
+ @font-face {
37
+ font-family: 'GeistMono';
38
+ src: url('https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-mono/GeistMono-Regular.woff2') format('woff2');
39
+ font-weight: 400;
40
+ font-style: normal;
41
+ font-display: swap;
42
+ }
43
+
2
44
  .wallet-modal-overlay {
3
45
  position: fixed;
4
46
  top: 0;
@@ -10,11 +52,23 @@
10
52
  justify-content: center;
11
53
  z-index: 10000;
12
54
  animation: fadeIn 0.2s ease-out;
55
+ font-family: 'GeistSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
56
+ will-change: opacity;
57
+ backface-visibility: hidden;
58
+ -webkit-backface-visibility: hidden;
59
+ transform: translateZ(0);
60
+ -webkit-transform: translateZ(0);
61
+ /* Theme variables (overridable via inline style from uiConfig.colors) */
62
+ --abstraxn-primary: #111827;
63
+ --abstraxn-primary-hover: #1f2937;
64
+ --abstraxn-primary-text: #ffffff;
13
65
  }
14
66
 
15
67
  /* Dark Theme (Default) */
16
68
  .wallet-modal-overlay.wallet-modal-theme-dark {
17
69
  background: rgba(0, 0, 0, 0.5);
70
+ --abstraxn-primary: #4b5563;
71
+ --abstraxn-primary-hover: #6b7280;
18
72
  }
19
73
 
20
74
  /* Light Theme */
@@ -22,7 +76,32 @@
22
76
  background: rgba(0, 0, 0, 0.3);
23
77
  }
24
78
 
79
+ /* Shared primary button (uses theme variables above) */
80
+ .wallet-modal-primary-btn {
81
+ width: 100%;
82
+ padding: 14px 24px;
83
+ border-radius: 12px;
84
+ border: none;
85
+ font-size: 16px;
86
+ font-weight: 600;
87
+ cursor: pointer;
88
+ transition: all 0.2s;
89
+ background: var(--abstraxn-primary);
90
+ color: var(--abstraxn-primary-text);
91
+ }
92
+
93
+ .wallet-modal-primary-btn:hover:not(:disabled) {
94
+ background: var(--abstraxn-primary-hover);
95
+ transform: translateY(-1px);
96
+ }
97
+
98
+ .wallet-modal-primary-btn:disabled {
99
+ opacity: 0.6;
100
+ cursor: not-allowed;
101
+ }
102
+
25
103
  .wallet-modal-content {
104
+ position: relative;
26
105
  border-radius: 16px;
27
106
  width: 90%;
28
107
  max-width: 400px;
@@ -35,6 +114,17 @@
35
114
  flex-direction: column;
36
115
  gap: 20px;
37
116
  box-sizing: border-box;
117
+ font-family: 'GeistSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
118
+ font-size: 14px;
119
+ will-change: transform, opacity;
120
+ backface-visibility: hidden;
121
+ -webkit-backface-visibility: hidden;
122
+ transform: translate3d(0, 0, 0);
123
+ -webkit-transform: translate3d(0, 0, 0);
124
+ }
125
+
126
+ .wallet-modal-content.selector-open {
127
+ overflow: hidden;
38
128
  }
39
129
 
40
130
  /* Dark Theme Content */
@@ -61,11 +151,11 @@
61
151
 
62
152
  @keyframes slideUp {
63
153
  from {
64
- transform: translateY(20px);
154
+ transform: translate3d(0, 20px, 0);
65
155
  opacity: 0;
66
156
  }
67
157
  to {
68
- transform: translateY(0);
158
+ transform: translate3d(0, 0, 0);
69
159
  opacity: 1;
70
160
  }
71
161
  }
@@ -146,7 +236,7 @@
146
236
  gap: 8px;
147
237
  cursor: pointer;
148
238
  transition: opacity 0.2s;
149
- font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Courier New', monospace;
239
+ font-family: 'GeistMono', 'SF Mono', 'Monaco', 'Roboto Mono', monospace;
150
240
  }
151
241
 
152
242
  .wallet-modal-theme-dark .wallet-modal-address {
@@ -285,16 +375,16 @@
285
375
 
286
376
  .wallet-modal-action-btn {
287
377
  border-radius: 12px;
288
- padding: 16px;
378
+ padding: 12px 8px;
289
379
  display: flex;
290
- flex-direction: column;
380
+ flex-direction: row;
291
381
  align-items: center;
292
382
  justify-content: center;
293
- gap: 8px;
383
+ gap: 12px;
294
384
  cursor: pointer;
295
385
  transition: all 0.2s;
296
- font-size: 14px;
297
- font-weight: 500;
386
+ font-size: 15px;
387
+ font-weight: 600;
298
388
  border: 1px solid;
299
389
  text-align: center;
300
390
  }
@@ -306,7 +396,7 @@
306
396
  }
307
397
 
308
398
  .wallet-modal-theme-light .wallet-modal-action-btn {
309
- background: #f9fafb;
399
+ background: #ffffff;
310
400
  border-color: #e5e7eb;
311
401
  color: #111827;
312
402
  }
@@ -328,11 +418,11 @@
328
418
  }
329
419
 
330
420
  .wallet-modal-theme-dark .wallet-modal-action-btn svg {
331
- color: #a855f7;
421
+ color: #9ca3af;
332
422
  }
333
423
 
334
424
  .wallet-modal-theme-light .wallet-modal-action-btn svg {
335
- color: #9333ea;
425
+ color: #6b7280;
336
426
  }
337
427
 
338
428
  /* Asset Display */
@@ -348,6 +438,11 @@
348
438
  border: 1px solid;
349
439
  }
350
440
 
441
+ .wallet-modal-asset:hover {
442
+ border-color: #9333ea;
443
+ background: rgba(147, 51, 234, 0.02);
444
+ }
445
+
351
446
  .wallet-modal-theme-dark .wallet-modal-asset {
352
447
  background: #2a2a2a;
353
448
  border-color: #3a3a3a;
@@ -375,22 +470,35 @@
375
470
  flex: 1;
376
471
  }
377
472
 
378
- .wallet-modal-asset-icon {
473
+ .wallet-modal-asset-icon-wrapper {
474
+ position: relative;
379
475
  width: 40px;
380
476
  height: 40px;
477
+ flex-shrink: 0;
478
+ }
479
+
480
+ .wallet-modal-asset-icon-img {
481
+ width: 100%;
482
+ height: 100%;
483
+ border-radius: 50%;
484
+ object-fit: cover;
485
+ }
486
+
487
+ .wallet-modal-asset-icon {
488
+ width: 100%;
489
+ height: 100%;
381
490
  border-radius: 50%;
382
491
  background: linear-gradient(135deg, #627eea 0%, #4c6ef5 100%);
383
492
  display: flex;
384
493
  align-items: center;
385
494
  justify-content: center;
386
495
  color: white;
387
- flex-shrink: 0;
388
496
  }
389
497
 
390
498
  .wallet-modal-asset-details {
391
499
  display: flex;
392
500
  flex-direction: column;
393
- gap: 4px;
501
+ gap: 2px;
394
502
  flex: 1;
395
503
  min-width: 0;
396
504
  }
@@ -398,6 +506,7 @@
398
506
  .wallet-modal-asset-name {
399
507
  font-size: 16px;
400
508
  font-weight: 600;
509
+ text-align: left;
401
510
  }
402
511
 
403
512
  .wallet-modal-theme-dark .wallet-modal-asset-name {
@@ -410,9 +519,8 @@
410
519
 
411
520
  .wallet-modal-asset-balance {
412
521
  font-size: 14px;
413
- display: flex;
414
- align-items: center;
415
- gap: 8px;
522
+ font-weight: 500;
523
+ text-align: left;
416
524
  }
417
525
 
418
526
  .wallet-modal-theme-dark .wallet-modal-asset-balance {
@@ -424,11 +532,19 @@
424
532
  }
425
533
 
426
534
  .wallet-modal-asset-status {
427
- width: 8px;
428
- height: 8px;
535
+ position: absolute;
536
+ bottom: 0;
537
+ right: 0;
538
+ width: 10px;
539
+ height: 10px;
429
540
  border-radius: 50%;
430
541
  background: #10b981;
431
- flex-shrink: 0;
542
+ border: 2px solid white;
543
+ z-index: 1;
544
+ }
545
+
546
+ .wallet-modal-theme-dark .wallet-modal-asset-status {
547
+ border-color: #1a1a1a;
432
548
  }
433
549
 
434
550
  .wallet-modal-asset-arrow {
@@ -490,21 +606,6 @@
490
606
  flex-shrink: 0;
491
607
  }
492
608
 
493
- .wallet-modal-theme-dark .wallet-modal-menu-item svg {
494
- color: #9ca3af;
495
- }
496
-
497
- .wallet-modal-theme-light .wallet-modal-menu-item svg {
498
- color: #6b7280;
499
- }
500
-
501
- .wallet-modal-theme-dark .wallet-modal-menu-item:hover svg {
502
- color: #a855f7;
503
- }
504
-
505
- .wallet-modal-theme-light .wallet-modal-menu-item:hover svg {
506
- color: #9333ea;
507
- }
508
609
 
509
610
  /* Disconnect button - Red theme */
510
611
  .wallet-modal-menu-item-disconnect {
@@ -693,7 +794,7 @@
693
794
  display: flex;
694
795
  align-items: center;
695
796
  gap: 8px;
696
- font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Courier New', monospace;
797
+ font-family: 'GeistMono', 'SF Mono', 'Monaco', 'Roboto Mono', monospace;
697
798
  text-align: left;
698
799
  }
699
800
 
@@ -718,6 +819,7 @@
718
819
  border: none;
719
820
  cursor: pointer;
720
821
  padding: 8px;
822
+ margin: 0;
721
823
  display: flex;
722
824
  align-items: center;
723
825
  justify-content: center;
@@ -725,6 +827,7 @@
725
827
  transition: all 0.2s;
726
828
  width: 40px;
727
829
  height: 40px;
830
+ box-sizing: border-box;
728
831
  }
729
832
 
730
833
  .wallet-modal-back:disabled {
@@ -783,17 +886,19 @@
783
886
  color: #111827;
784
887
  }
785
888
 
786
- .wallet-modal-receive-title {
889
+ .wallet-modal-content .wallet-modal-receive-title {
787
890
  font-size: 20px;
788
- font-weight: 600;
891
+ font-weight: 500;
789
892
  margin: 0;
893
+ flex: 1;
894
+ text-align: center;
790
895
  }
791
896
 
792
- .wallet-modal-theme-dark .wallet-modal-receive-title {
897
+ .wallet-modal-content.wallet-modal-theme-dark .wallet-modal-receive-title {
793
898
  color: #ffffff;
794
899
  }
795
900
 
796
- .wallet-modal-theme-light .wallet-modal-receive-title {
901
+ .wallet-modal-content.wallet-modal-theme-light .wallet-modal-receive-title {
797
902
  color: #111827;
798
903
  }
799
904
 
@@ -856,7 +961,7 @@
856
961
 
857
962
  .wallet-modal-address-full {
858
963
  flex: 1;
859
- font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Courier New', monospace;
964
+ font-family: 'GeistMono', 'SF Mono', 'Monaco', 'Roboto Mono', monospace;
860
965
  font-size: 14px;
861
966
  word-break: break-all;
862
967
  text-align: left;
@@ -930,7 +1035,7 @@
930
1035
  display: flex;
931
1036
  flex-direction: column;
932
1037
  gap: 20px;
933
- padding: 20px 0;
1038
+ /* padding: 20px 0; */
934
1039
  }
935
1040
 
936
1041
  .wallet-modal-send-field {
@@ -1143,7 +1248,7 @@
1143
1248
  border: 1px solid;
1144
1249
  background: transparent;
1145
1250
  font-size: 14px;
1146
- font-family: monospace;
1251
+ font-family: 'GeistMono', 'SF Mono', monospace;
1147
1252
  outline: none;
1148
1253
  transition: all 0.2s;
1149
1254
  box-sizing: border-box;
@@ -1212,25 +1317,23 @@
1212
1317
  }
1213
1318
 
1214
1319
  .wallet-modal-theme-dark .wallet-modal-send-preview-btn {
1215
- background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
1216
- color: #ffffff;
1320
+ background: var(--abstraxn-primary);
1321
+ color: var(--abstraxn-primary-text);
1217
1322
  }
1218
1323
 
1219
1324
  .wallet-modal-theme-light .wallet-modal-send-preview-btn {
1220
- background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
1221
- color: #ffffff;
1325
+ background: var(--abstraxn-primary);
1326
+ color: var(--abstraxn-primary-text);
1222
1327
  }
1223
1328
 
1224
1329
  .wallet-modal-theme-dark .wallet-modal-send-preview-btn:hover:not(.disabled) {
1225
- background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
1330
+ background: var(--abstraxn-primary-hover);
1226
1331
  transform: translateY(-1px);
1227
- box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
1228
1332
  }
1229
1333
 
1230
1334
  .wallet-modal-theme-light .wallet-modal-send-preview-btn:hover:not(.disabled) {
1231
- background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
1335
+ background: var(--abstraxn-primary-hover);
1232
1336
  transform: translateY(-1px);
1233
- box-shadow: 0 4px 12px rgba(147, 51, 234, 0.2);
1234
1337
  }
1235
1338
 
1236
1339
  /* Preview Modal */
@@ -1316,14 +1419,13 @@
1316
1419
  }
1317
1420
 
1318
1421
  .wallet-modal-preview-btn-primary {
1319
- background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
1320
- color: #ffffff;
1422
+ background: var(--abstraxn-primary);
1423
+ color: var(--abstraxn-primary-text);
1321
1424
  }
1322
1425
 
1323
1426
  .wallet-modal-preview-btn-primary:hover:not(:disabled) {
1324
- background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
1427
+ background: var(--abstraxn-primary-hover);
1325
1428
  transform: translateY(-1px);
1326
- box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
1327
1429
  }
1328
1430
 
1329
1431
  .wallet-modal-preview-btn-secondary {
@@ -1367,17 +1469,17 @@
1367
1469
  justify-content: center;
1368
1470
  }
1369
1471
 
1370
- .wallet-modal-success-title {
1472
+ .wallet-modal-content .wallet-modal-success-title {
1371
1473
  font-size: 24px;
1372
- font-weight: 600;
1474
+ font-weight: 500;
1373
1475
  margin: 0;
1374
1476
  }
1375
1477
 
1376
- .wallet-modal-theme-dark .wallet-modal-success-title {
1478
+ .wallet-modal-content.wallet-modal-theme-dark .wallet-modal-success-title {
1377
1479
  color: #ffffff;
1378
1480
  }
1379
1481
 
1380
- .wallet-modal-theme-light .wallet-modal-success-title {
1482
+ .wallet-modal-content.wallet-modal-theme-light .wallet-modal-success-title {
1381
1483
  color: #111827;
1382
1484
  }
1383
1485
 
@@ -1426,14 +1528,13 @@
1426
1528
  font-weight: 600;
1427
1529
  cursor: pointer;
1428
1530
  transition: all 0.2s;
1429
- background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
1430
- color: #ffffff;
1531
+ background: var(--abstraxn-primary);
1532
+ color: var(--abstraxn-primary-text);
1431
1533
  }
1432
1534
 
1433
1535
  .wallet-modal-success-btn:hover {
1434
- background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
1536
+ background: var(--abstraxn-primary-hover);
1435
1537
  transform: translateY(-1px);
1436
- box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
1437
1538
  }
1438
1539
 
1439
1540
  .wallet-modal-action-btn-primary {
@@ -1444,13 +1545,14 @@
1444
1545
  font-weight: 600;
1445
1546
  cursor: pointer;
1446
1547
  transition: all 0.2s;
1447
- background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
1448
- color: #ffffff;
1548
+ background: var(--abstraxn-primary);
1549
+ color: var(--abstraxn-primary-text);
1449
1550
  }
1450
1551
 
1451
1552
  .wallet-modal-action-btn-primary:hover {
1452
1553
  transform: translateY(-2px);
1453
- box-shadow: 0 4px 12px rgba(147, 51, 234, 0.4);
1554
+ background: var(--abstraxn-primary-hover);
1555
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
1454
1556
  }
1455
1557
 
1456
1558
  /* Manage Modal */
@@ -1466,19 +1568,19 @@
1466
1568
  gap: 20px;
1467
1569
  }
1468
1570
 
1469
- .wallet-modal-manage-section-title {
1571
+ .wallet-modal-content .wallet-modal-manage-section-title {
1470
1572
  font-size: 16px;
1471
- font-weight: 600;
1573
+ font-weight: 500;
1472
1574
  margin: 0;
1473
1575
  text-align: left;
1474
1576
  letter-spacing: -0.01em;
1475
1577
  }
1476
1578
 
1477
- .wallet-modal-theme-dark .wallet-modal-manage-section-title {
1579
+ .wallet-modal-content.wallet-modal-theme-dark .wallet-modal-manage-section-title {
1478
1580
  color: #ffffff;
1479
1581
  }
1480
1582
 
1481
- .wallet-modal-theme-light .wallet-modal-manage-section-title {
1583
+ .wallet-modal-content.wallet-modal-theme-light .wallet-modal-manage-section-title {
1482
1584
  color: #111827;
1483
1585
  }
1484
1586
 
@@ -1544,7 +1646,7 @@
1544
1646
 
1545
1647
  .wallet-modal-manage-address-text {
1546
1648
  flex: 1;
1547
- font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Courier New', monospace;
1649
+ font-family: 'GeistMono', 'SF Mono', 'Monaco', 'Roboto Mono', monospace;
1548
1650
  font-size: 14px;
1549
1651
  word-break: break-all;
1550
1652
  min-width: 0;
@@ -1745,295 +1847,9 @@
1745
1847
  margin-bottom: 16px;
1746
1848
  }
1747
1849
 
1748
- .wallet-modal-chain-selector {
1749
- position: relative;
1750
- width: 100%;
1751
- }
1752
-
1753
- .wallet-modal-chain-selector-btn {
1754
- width: 100%;
1755
- padding: 12px 16px;
1756
- border-radius: 12px;
1757
- border: 1px solid;
1758
- background: transparent;
1759
- cursor: pointer;
1760
- transition: all 0.2s;
1761
- display: flex;
1762
- align-items: center;
1763
- justify-content: space-between;
1764
- gap: 12px;
1765
- }
1766
-
1767
- .wallet-modal-theme-dark .wallet-modal-chain-selector-btn {
1768
- border-color: #3a3a3a;
1769
- background: #2a2a2a;
1770
- color: #ffffff;
1771
- }
1772
-
1773
- .wallet-modal-theme-light .wallet-modal-chain-selector-btn {
1774
- border-color: #e5e7eb;
1775
- background: #f9fafb;
1776
- color: #111827;
1777
- }
1778
-
1779
- .wallet-modal-theme-dark .wallet-modal-chain-selector-btn:hover {
1780
- background: #3a3a3a;
1781
- border-color: #4a4a4a;
1782
- }
1783
-
1784
- .wallet-modal-theme-light .wallet-modal-chain-selector-btn:hover {
1785
- background: #f3f4f6;
1786
- border-color: #d1d5db;
1787
- }
1788
-
1789
- .wallet-modal-chain-selector-current {
1790
- display: flex;
1791
- align-items: center;
1792
- gap: 12px;
1793
- flex: 1;
1794
- min-width: 0;
1795
- }
1796
-
1797
- .wallet-modal-chain-icon {
1798
- width: 24px;
1799
- height: 24px;
1800
- border-radius: 6px;
1801
- display: flex;
1802
- align-items: center;
1803
- justify-content: center;
1804
- flex-shrink: 0;
1805
- background: rgba(147, 51, 234, 0.1);
1806
- }
1807
-
1808
- .wallet-modal-theme-dark .wallet-modal-chain-icon {
1809
- color: #a855f7;
1810
- }
1811
-
1812
- .wallet-modal-theme-light .wallet-modal-chain-icon {
1813
- color: #9333ea;
1814
- }
1815
-
1816
- .wallet-modal-chain-info {
1817
- display: flex;
1818
- flex-direction: column;
1819
- gap: 2px;
1820
- flex: 1;
1821
- min-width: 0;
1822
- text-align: left;
1823
- }
1824
-
1825
- .wallet-modal-chain-name {
1826
- font-size: 15px;
1827
- font-weight: 500;
1828
- }
1829
-
1830
- .wallet-modal-theme-dark .wallet-modal-chain-name {
1831
- color: #ffffff;
1832
- }
1833
-
1834
- .wallet-modal-theme-light .wallet-modal-chain-name {
1835
- color: #111827;
1836
- }
1837
-
1838
- .wallet-modal-chain-type {
1839
- font-size: 12px;
1840
- font-weight: 400;
1841
- opacity: 0.7;
1842
- }
1843
-
1844
- .wallet-modal-theme-dark .wallet-modal-chain-type {
1845
- color: #9ca3af;
1846
- }
1847
-
1848
- .wallet-modal-theme-light .wallet-modal-chain-type {
1849
- color: #6b7280;
1850
- }
1851
-
1852
- .wallet-modal-chain-arrow {
1853
- flex-shrink: 0;
1854
- transition: transform 0.2s;
1855
- }
1856
-
1857
- .wallet-modal-chain-arrow.open {
1858
- transform: rotate(180deg);
1859
- }
1860
-
1861
- .wallet-modal-chain-selector-placeholder {
1862
- padding: 12px 16px;
1863
- border-radius: 12px;
1864
- border: 1px solid;
1865
- text-align: left;
1866
- font-size: 15px;
1867
- width: 100%;
1868
- }
1869
-
1870
- .wallet-modal-theme-dark .wallet-modal-chain-selector-placeholder {
1871
- border-color: #3a3a3a;
1872
- background: #2a2a2a;
1873
- color: #9ca3af;
1874
- }
1875
-
1876
- .wallet-modal-theme-light .wallet-modal-chain-selector-placeholder {
1877
- border-color: #e5e7eb;
1878
- background: #f9fafb;
1879
- color: #6b7280;
1880
- }
1881
-
1882
- .wallet-modal-chain-dropdown {
1883
- position: absolute;
1884
- top: calc(100% + 8px);
1885
- left: 0;
1886
- right: 0;
1887
- width: 100%;
1888
- z-index: 10001;
1889
- border-radius: 12px;
1890
- border: 1px solid;
1891
- overflow: hidden;
1892
- box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
1893
- }
1894
-
1895
- .wallet-modal-theme-dark .wallet-modal-chain-dropdown {
1896
- background: #1a1a1a;
1897
- border-color: #3a3a3a;
1898
- }
1899
-
1900
- .wallet-modal-theme-light .wallet-modal-chain-dropdown {
1901
- background: #ffffff;
1902
- border-color: #e5e7eb;
1903
- }
1904
-
1905
- .wallet-modal-chain-tabs {
1906
- display: flex;
1907
- border-bottom: 1px solid;
1908
- padding: 8px;
1909
- gap: 4px;
1910
- }
1911
-
1912
- .wallet-modal-theme-dark .wallet-modal-chain-tabs {
1913
- border-color: #3a3a3a;
1914
- }
1915
-
1916
- .wallet-modal-theme-light .wallet-modal-chain-tabs {
1917
- border-color: #e5e7eb;
1918
- }
1919
-
1920
- .wallet-modal-chain-tab {
1921
- flex: 1;
1922
- padding: 8px 12px;
1923
- border-radius: 8px;
1924
- border: none;
1925
- background: transparent;
1926
- cursor: pointer;
1927
- font-size: 13px;
1928
- font-weight: 500;
1929
- transition: all 0.2s;
1930
- }
1931
-
1932
- .wallet-modal-theme-dark .wallet-modal-chain-tab {
1933
- color: #9ca3af;
1934
- }
1935
-
1936
- .wallet-modal-theme-light .wallet-modal-chain-tab {
1937
- color: #6b7280;
1938
- }
1939
-
1940
- .wallet-modal-theme-dark .wallet-modal-chain-tab.active {
1941
- background: #2a2a2a;
1942
- color: #ffffff;
1943
- }
1944
-
1945
- .wallet-modal-theme-light .wallet-modal-chain-tab.active {
1946
- background: #f3f4f6;
1947
- color: #111827;
1948
- }
1949
-
1950
- .wallet-modal-chain-list {
1951
- max-height: 300px;
1952
- overflow-y: auto;
1953
- padding: 4px;
1954
- }
1955
-
1956
- .wallet-modal-chain-item {
1957
- width: 100%;
1958
- padding: 12px;
1959
- border-radius: 8px;
1960
- border: none;
1961
- background: transparent;
1962
- cursor: pointer;
1963
- display: flex;
1964
- align-items: center;
1965
- gap: 12px;
1966
- transition: all 0.2s;
1967
- text-align: left;
1968
- }
1969
-
1970
- .wallet-modal-theme-dark .wallet-modal-chain-item {
1971
- color: #ffffff;
1972
- }
1973
-
1974
- .wallet-modal-theme-light .wallet-modal-chain-item {
1975
- color: #111827;
1976
- }
1977
-
1978
- .wallet-modal-theme-dark .wallet-modal-chain-item:hover {
1979
- background: #2a2a2a;
1980
- }
1981
-
1982
- .wallet-modal-theme-light .wallet-modal-chain-item:hover {
1983
- background: #f3f4f6;
1984
- }
1985
-
1986
- .wallet-modal-theme-dark .wallet-modal-chain-item.active {
1987
- background: rgba(147, 51, 234, 0.15);
1988
- }
1989
-
1990
- .wallet-modal-theme-light .wallet-modal-chain-item.active {
1991
- background: rgba(147, 51, 234, 0.1);
1992
- }
1993
-
1994
- .wallet-modal-chain-item .wallet-modal-chain-icon {
1995
- width: 28px;
1996
- height: 28px;
1997
- }
1998
-
1999
- .wallet-modal-chain-item .wallet-modal-chain-info {
2000
- flex: 1;
2001
- min-width: 0;
2002
- }
2003
-
2004
- .wallet-modal-chain-item .wallet-modal-chain-name {
2005
- font-size: 14px;
2006
- }
2007
-
2008
- .wallet-modal-chain-badge {
2009
- font-size: 10px;
2010
- font-weight: 500;
2011
- padding: 2px 6px;
2012
- border-radius: 4px;
2013
- text-transform: uppercase;
2014
- letter-spacing: 0.5px;
2015
- }
2016
-
2017
- .wallet-modal-theme-dark .wallet-modal-chain-badge {
2018
- background: rgba(251, 191, 36, 0.2);
2019
- color: #fbbf24;
2020
- }
2021
-
2022
- .wallet-modal-theme-light .wallet-modal-chain-badge {
2023
- background: rgba(251, 191, 36, 0.15);
2024
- color: #d97706;
2025
- }
2026
-
2027
- .wallet-modal-chain-item svg:last-child {
2028
- flex-shrink: 0;
2029
- color: #10b981;
2030
- }
1850
+ /* Balance Display */
2031
1851
 
2032
1852
  /* Export Warning Modal */
2033
- .wallet-modal-export-warning {
2034
- /* Same size as other modals - no max-width override */
2035
- }
2036
-
2037
1853
  .wallet-modal-export-warning-content {
2038
1854
  display: flex;
2039
1855
  flex-direction: column;
@@ -2276,8 +2092,8 @@
2276
2092
  font-weight: 600;
2277
2093
  cursor: pointer;
2278
2094
  transition: all 0.2s;
2279
- background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
2280
- color: #ffffff;
2095
+ background: var(--abstraxn-primary);
2096
+ color: var(--abstraxn-primary-text);
2281
2097
  box-sizing: border-box;
2282
2098
  display: flex;
2283
2099
  align-items: center;
@@ -2286,7 +2102,7 @@
2286
2102
  }
2287
2103
 
2288
2104
  .wallet-modal-theme-dark .wallet-modal-export-warning-reveal:not(.disabled) {
2289
- background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
2105
+ background: var(--abstraxn-primary);
2290
2106
  }
2291
2107
 
2292
2108
  .wallet-modal-export-warning-reveal:hover:not(.disabled) {
@@ -2294,11 +2110,11 @@
2294
2110
  }
2295
2111
 
2296
2112
  .wallet-modal-theme-dark .wallet-modal-export-warning-reveal:hover:not(.disabled) {
2297
- box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
2113
+ background: var(--abstraxn-primary-hover);
2298
2114
  }
2299
2115
 
2300
2116
  .wallet-modal-theme-light .wallet-modal-export-warning-reveal:hover:not(.disabled) {
2301
- box-shadow: 0 4px 12px rgba(147, 51, 234, 0.4);
2117
+ background: var(--abstraxn-primary-hover);
2302
2118
  }
2303
2119
 
2304
2120
  .wallet-modal-loading-spinner {
@@ -2344,17 +2160,19 @@
2344
2160
  margin-bottom: 24px;
2345
2161
  }
2346
2162
 
2347
- .wallet-modal-export-title {
2163
+ .wallet-modal-content .wallet-modal-export-title {
2348
2164
  font-size: 20px;
2349
- font-weight: 600;
2165
+ font-weight: 500;
2350
2166
  margin: 0;
2167
+ flex: 1;
2168
+ text-align: center;
2351
2169
  }
2352
2170
 
2353
- .wallet-modal-theme-dark .wallet-modal-export-title {
2171
+ .wallet-modal-content.wallet-modal-theme-dark .wallet-modal-export-title {
2354
2172
  color: #ffffff;
2355
2173
  }
2356
2174
 
2357
- .wallet-modal-theme-light .wallet-modal-export-title {
2175
+ .wallet-modal-content.wallet-modal-theme-light .wallet-modal-export-title {
2358
2176
  color: #111827;
2359
2177
  }
2360
2178
 
@@ -2367,7 +2185,7 @@
2367
2185
  .wallet-modal-export-key-display {
2368
2186
  padding: 16px;
2369
2187
  border-radius: 12px;
2370
- font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Courier New', monospace;
2188
+ font-family: 'GeistMono', 'SF Mono', 'Monaco', 'Roboto Mono', monospace;
2371
2189
  font-size: 13px;
2372
2190
  line-height: 1.6;
2373
2191
  word-break: break-all;
@@ -2474,15 +2292,15 @@
2474
2292
  font-weight: 600;
2475
2293
  cursor: pointer;
2476
2294
  transition: all 0.2s;
2477
- color: #ffffff;
2295
+ color: var(--abstraxn-primary-text);
2478
2296
  }
2479
2297
 
2480
2298
  .wallet-modal-theme-dark .wallet-modal-export-done-btn {
2481
- background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
2299
+ background: var(--abstraxn-primary);
2482
2300
  }
2483
2301
 
2484
2302
  .wallet-modal-theme-light .wallet-modal-export-done-btn {
2485
- background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
2303
+ background: var(--abstraxn-primary);
2486
2304
  }
2487
2305
 
2488
2306
  .wallet-modal-export-done-btn:hover {
@@ -2490,10 +2308,12 @@
2490
2308
  }
2491
2309
 
2492
2310
  .wallet-modal-theme-dark .wallet-modal-export-done-btn:hover {
2493
- box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
2311
+ background: var(--abstraxn-primary-hover);
2312
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
2494
2313
  }
2495
2314
 
2496
2315
  .wallet-modal-theme-light .wallet-modal-export-done-btn:hover {
2497
- box-shadow: 0 4px 12px rgba(147, 51, 234, 0.4);
2316
+ background: var(--abstraxn-primary-hover);
2317
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
2498
2318
  }
2499
2319