Page MenuHomePhabricator

D6828.id22918.diff
No OneTemporary

D6828.id22918.diff

diff --git a/web/account/siwe-login-form.react.js b/web/account/siwe-login-form.react.js
--- a/web/account/siwe-login-form.react.js
+++ b/web/account/siwe-login-form.react.js
@@ -117,6 +117,11 @@
[],
);
+ const signInButtonColor = React.useMemo(
+ () => ({ backgroundColor: '#6A20E3' }),
+ [],
+ );
+
if (!siweNonce || !primaryIdentityPublicKey) {
return (
<div className={css.loadingIndicator}>
@@ -143,7 +148,11 @@
<a href="https://comm.app/privacy">Privacy Policy</a>.
</p>
</div>
- <Button variant="filled" onClick={onSignInButtonClick}>
+ <Button
+ variant="filled"
+ onClick={onSignInButtonClick}
+ buttonColor={signInButtonColor}
+ >
Sign in using this wallet
</Button>
<OrBreak />
diff --git a/web/account/traditional-login-form.react.js b/web/account/traditional-login-form.react.js
--- a/web/account/traditional-login-form.react.js
+++ b/web/account/traditional-login-form.react.js
@@ -133,6 +133,11 @@
return 'Sign in';
}, [inputDisabled]);
+ const signInButtonColor = React.useMemo(
+ () => ({ backgroundColor: '#6A20E3' }),
+ [],
+ );
+
return (
<form method="POST">
<div>
@@ -173,6 +178,7 @@
inputDisabled
}
onClick={onSubmit}
+ buttonColor={signInButtonColor}
>
{loginButtonContent}
</Button>

File Metadata

Mime Type
text/plain
Expires
Sat, Jan 11, 6:38 AM (21 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2849273
Default Alt Text
D6828.id22918.diff (1 KB)

Event Timeline