Skip to content

Commit

Permalink
Added dark mode coloring
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Campbell committed Oct 21, 2020
1 parent 7b9f9ce commit f1a0bc6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/EmailHeader/EmailHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ export default function EmailHeader({ datetime, from_name, from_email, to, cc })
const theme = useTheme();
const useStyles = makeStyles({
"paperWrapper": {
padding: theme.spacing(1)
padding: theme.spacing(1),
marginTop: theme.spacing(1),
marginBottom: theme.spacing(1)
},
"removeNegativeMargin": {
margin: 0
},
"secondaryInformation": {
backgroundColor: theme.palette.grey[100],
backgroundColor: theme.palette.type === "light" ? theme.palette.grey[100] : theme.palette.grey[700],
marginTop: theme.spacing(1),
marginLeft: -theme.spacing(1),
marginRight: -theme.spacing(1),
Expand Down Expand Up @@ -70,8 +72,6 @@ export default function EmailHeader({ datetime, from_name, from_email, to, cc })
return recipientString;
};

// const toString = build

return(
<Paper variant="outlined" classes={{ root: classes.paperWrapper }}>
<Paper elevation={0} square>
Expand Down

0 comments on commit f1a0bc6

Please sign in to comment.