Skip to content

Commit

Permalink
Dark Mode: Snackbar component (#14075)
Browse files Browse the repository at this point in the history
  • Loading branch information
darkwing authored Mar 21, 2022
1 parent b797e24 commit ea4181d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 3 additions & 3 deletions ui/components/ui/snackbar/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
@include H7;

padding: 0.75rem 1rem;
color: var(--Blue-600);
color: var(--color-text-default);
min-width: 360px;
width: fit-content;
background: var(--Blue-000);
border: 1px solid var(--Blue-200);
background: var(--color-info-muted);
border: 1px solid var(--color-info-default);
border-radius: 6px;
}
3 changes: 0 additions & 3 deletions ui/css/utilities/colors.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
:root {
// These are the colors of the MetaMask design system
// Only design system colors should be added, no superfluous variables
--Blue-000: #eaf6ff;
--Blue-200: #75c4fd;
--Blue-300: #43aefc;
--Blue-400: #1098fc;
--Blue-500: #037dd6;
--Blue-600: #0260a4;
// Greys
--Grey-000: #f2f3f4;
--Grey-100: #d6d9dc;
Expand Down

0 comments on commit ea4181d

Please sign in to comment.