Fix unreadable alert boxes in dark mode (#2001)

This commit is contained in:
Michał Droń 2022-04-26 15:29:47 +02:00 committed by GitHub
parent f257a248cc
commit f24f7b3089
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,7 @@ const useStyles = makeStyles(
color: theme.palette.error.contrastText color: theme.palette.error.contrastText
}, },
...theme.typography.body1, ...theme.typography.body1,
background: theme.palette.saleor.fail.light, background: theme.palette.alert.paper.error,
borderRadius: 8, borderRadius: 8,
marginBottom: theme.spacing(2), marginBottom: theme.spacing(2),
padding: theme.spacing(2.5) padding: theme.spacing(2.5)