Skip to content

Commit 3f69a1a

Browse files
V48 (implementation-only): Permanent Connect button border; glow-only attention
Keep a solid orange default border on Connect Xverse/Leather so they stay distinct from Rescan. Attention animates scale and outer glow only — not border-color — so highlight does not trail after the run ends.
1 parent 5e2ca6a commit 3f69a1a

2 files changed

Lines changed: 23 additions & 10 deletions

File tree

uapi/components/auxillaries/AuxillariesWalletConnectionPanel/AuxillariesWalletConnectionPanel.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ export default function AuxillariesWalletConnectionPanel({
100100
}, []);
101101

102102
const connectButtonClassName = [
103-
'wallet-connect-provider-button inline-flex items-center justify-center rounded-none border border-orange-300/34 bg-orange-400/14 px-5 py-2.5 text-[11px] font-semibold uppercase tracking-[0.18em] text-orange-50 transition hover:border-orange-300/54 hover:bg-orange-400/22 disabled:cursor-wait disabled:opacity-60',
103+
/* Border/fill owned in CSS so default border never drops after attention. */
104+
'wallet-connect-provider-button inline-flex items-center justify-center rounded-none px-5 py-2.5 text-[11px] font-semibold uppercase tracking-[0.18em] transition disabled:cursor-wait disabled:opacity-60',
104105
attentionActive ? 'wallet-connect-attention-button' : '',
105106
]
106107
.filter(Boolean)

uapi/styles/auxillaries-bitcode.css

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,29 +1009,42 @@
10091009
}
10101010
}
10111011

1012+
/*
1013+
* Connect provider buttons: permanent orange border (always distinct from
1014+
* Rescan). Attention only animates scale + outer glow — not border-color or
1015+
* background — so nothing trails after the run settles.
1016+
*/
1017+
.wallet-required-section .wallet-connect-provider-button {
1018+
border: 1px solid rgba(251, 146, 60, 0.55) !important;
1019+
background: rgba(251, 146, 60, 0.14);
1020+
color: rgba(255, 247, 237, 0.96);
1021+
box-shadow: none;
1022+
}
1023+
1024+
.wallet-required-section .wallet-connect-provider-button:hover:not(:disabled) {
1025+
border-color: rgba(253, 186, 116, 0.78) !important;
1026+
background: rgba(251, 146, 60, 0.2);
1027+
}
1028+
10121029
@keyframes wallet-connect-button-attention {
1013-
/* No background animation — only border, glow, and scale. */
10141030
0%,
10151031
58%,
10161032
100% {
10171033
transform: translateY(0) scale(1);
10181034
box-shadow: none;
1019-
border-color: rgba(251, 146, 60, 0.34);
10201035
}
10211036
12%,
10221037
40% {
10231038
transform: translateY(-1px) scale(1.045);
1024-
border-color: rgba(254, 215, 170, 0.95);
10251039
box-shadow:
1026-
0 0 0 2px rgba(251, 146, 60, 0.75),
1040+
0 0 0 2px rgba(251, 146, 60, 0.55),
10271041
0 0 28px rgba(251, 146, 60, 0.65),
10281042
0 12px 28px rgba(0, 0, 0, 0.28);
10291043
}
10301044
48% {
10311045
transform: translateY(0) scale(1.015);
1032-
border-color: rgba(253, 186, 116, 0.72);
10331046
box-shadow:
1034-
0 0 0 1px rgba(251, 146, 60, 0.4),
1047+
0 0 0 1px rgba(251, 146, 60, 0.35),
10351048
0 0 14px rgba(251, 146, 60, 0.32);
10361049
}
10371050
}
@@ -1045,7 +1058,7 @@
10451058

10461059
.wallet-connect-attention-button {
10471060
animation: wallet-connect-button-attention 2.1s ease-in-out 1 both;
1048-
will-change: transform, box-shadow, border-color;
1061+
will-change: transform, box-shadow;
10491062
}
10501063

10511064
@media (prefers-reduced-motion: reduce) {
@@ -1069,9 +1082,8 @@
10691082
}
10701083

10711084
.wallet-connect-attention-button {
1072-
border-color: rgba(254, 215, 170, 0.9) !important;
10731085
box-shadow:
1074-
0 0 0 2px rgba(251, 146, 60, 0.65),
1086+
0 0 0 2px rgba(251, 146, 60, 0.55),
10751087
0 0 20px rgba(251, 146, 60, 0.4);
10761088
}
10771089
}

0 commit comments

Comments
 (0)