Skip to content

Commit

Permalink
style(settings): use primary color and underline for links
Browse files Browse the repository at this point in the history
  • Loading branch information
plebeius-eth committed Feb 24, 2024
1 parent 4b90287 commit 1001d7d
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,12 @@
.cryptoAddressInfo {
padding: 5px 20px 5px 0;
word-break: break-word;
}

.cryptoAddressInfo a {
color: var(--text-primary);
}

.cryptoAddressInfo a:hover {
text-decoration: underline;
}
2 changes: 1 addition & 1 deletion src/views/settings/address-settings/address-settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ const AddressSettings = () => {
{showCryptoAddressInfo && (
<div className={styles.cryptoAddressInfo}>
<a href='https://app.ens.domains/' target='_blank' rel='noopener noreferrer'>
https://app.ens.domains/
app.ens.domains
</a>
{` > address.eth > records > edit records > add record > record name: "plebbit-author-address" > record value: ${account?.signer?.address} > save`}
</div>
Expand Down
8 changes: 8 additions & 0 deletions src/views/settings/avatar-settings/avatar-settings.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,12 @@

.state {
padding-top: 10px;
}

.copyMessage a {
color: var(--text-primary);
}

.copyMessage a:hover {
text-decoration: underline;
}
5 changes: 4 additions & 1 deletion src/views/settings/avatar-settings/avatar-settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,10 @@ const AvatarSettings = () => {
/>
</div>
<div className={styles.copyMessage}>
<button onClick={copyMessageToSign}>{hasCopied ? 'copied' : 'copy'}</button> message to sign
<button onClick={copyMessageToSign}>{hasCopied ? 'copied' : 'copy'}</button> message to sign on{' '}
<a href='https://etherscan.io/verifiedSignatures' target='_blank' rel='noopener noreferrer'>
etherscan
</a>
</div>
<div className={styles.pasteSignature}>
<span className={styles.settingTitle}>paste signature</span>
Expand Down

0 comments on commit 1001d7d

Please sign in to comment.