Skip to content

Commit

Permalink
Dark Mode: Ensure actionable message button colors are the same color…
Browse files Browse the repository at this point in the history
… as previously (MetaMask#14271)
  • Loading branch information
darkwing authored Mar 30, 2022
1 parent 4ac0f82 commit 8c7b643
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions ui/components/ui/actionable-message/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@
.actionable-message__action--secondary {
text-decoration: underline;
}

button {
background: var(--color-warning-default);
color: var(--color-warning-inverse);
}
}

&--danger {
Expand All @@ -120,6 +125,11 @@
.actionable-message__message {
text-align: left;
}

button {
background: var(--color-error-default);
color: var(--color-error-inverse);
}
}

&--success {
Expand All @@ -128,6 +138,11 @@
&::before {
background: var(--color-success-muted);
}

button {
background: var(--color-success-default);
color: var(--color-success-inverse);
}
}

&--left-aligned {
Expand Down

0 comments on commit 8c7b643

Please sign in to comment.