1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

Update global link hover color from orange to blue (--Blue-400) (#13344)

* base-styles.scss: update a:hover to --Blue-400
- deprecates #df6b0e

* preserve a.warning:hover orange color w/ #ceafa22

* Revert "preserve a.warning:hover orange color w/ #ceafa22"

This reverts commit d0efb923808bbc43e7f955fd8ce3e95f6a124c1f.

* create-account: rm .warning style from help link
- supports #ceafa2
This commit is contained in:
Ariella Vu 2022-01-19 18:59:52 +00:00 committed by GitHub
parent f087e501a1
commit 683aa22b56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View File

@ -45,7 +45,6 @@ html {
/*
This warning class is used in the following files still:
/ui/pages/create-account/import-account/json.js
/ui/pages/confirm-add-suggested-token/confirm-add-suggested-token.component.js
*/
.warning {
@ -72,7 +71,7 @@ a {
}
a:hover {
color: #df6b0e;
color: var(--Blue-400);
}
input.large-input,

View File

@ -56,6 +56,10 @@
margin-top: 34px;
}
&__help-link {
color: var(--primary-blue);
}
&__input-password {
@include Paragraph;

View File

@ -28,7 +28,7 @@ class JsonImportSubview extends Component {
<div className="new-account-import-form__json">
<p>{this.context.t('usedByClients')}</p>
<a
className="warning"
className="new-account-import-form__help-link"
href={HELP_LINK}
target="_blank"
rel="noopener noreferrer"