Skip to content

Commit

Permalink
Change snackbar dark theme text color
Browse files Browse the repository at this point in the history
Fixes #129
  • Loading branch information
jtklein committed Apr 13, 2021
1 parent 3d309b2 commit 0bf4d9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/app/components/SnackbarMessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const variantIcon = {
info: InfoIcon,
};

const useStyles = makeStyles(theme => ({
const useStyles = makeStyles((theme) => ({
success: {
backgroundColor: theme.palette.output.main,
},
Expand All @@ -43,7 +43,7 @@ const useStyles = makeStyles(theme => ({
message: {
display: 'flex',
alignItems: 'center',
color: '#333',
color: theme.palette.primary.contrastText,
},
}));

Expand Down
5 changes: 2 additions & 3 deletions src/app/theme/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ const darkTheme = {
background: 'hsl(29, 5%, 5%)',
border: 'hsl(29, 80%, 38%)',
main: 'hsl(29, 80%, 30%)',
contrastText: '#333',
contrastText: '#ddd',
},
secondary: {
main: 'hsl(29, 80%, 30%)',
// main: 'hsl(180, 50%, 50%)',
contrastText: '#333',
contrastText: '#ddd',
},
model: {
background: 'hsla(33, 27%, 10%, 1)',
Expand Down

0 comments on commit 0bf4d9b

Please sign in to comment.