Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix colors on Dark theme
Krzysztof Bialoglowicz862cd20c3fb9
diff --git a/saleor/static/dashboard-next/components/AppLayout/AppLayout.tsx b/saleor/static/dashboard-next/components/AppLayout/AppLayout.tsxindex 6febb507ba..8479470bdc 100644--- a/saleor/static/dashboard-next/components/AppLayout/AppLayout.tsx+++ b/saleor/static/dashboard-next/components/AppLayout/AppLayout.tsx@@ -114,6 +114,11 @@ const styles = (theme: Theme) =>transition: '.2s ease-in-out',width: '42px',},+ menuIconDark: {+ '& span': {+ background: theme.palette.common.white,+ },+ },menuIconOpen: {'& span': {'&:nth-child(1), &:nth-child(4)': {@@ -255,7 +260,7 @@ const AppLayout = withStyles(styles, {<div><Container><div className={classes.header}>- <div className={classNames(classes.menuIcon, { [classes.menuIconOpen]: isDrawerOpened })} onClick={() => setDrawerState(!isDrawerOpened)}>+ <div className={classNames(classes.menuIcon, { [classes.menuIconOpen]: isDrawerOpened, [classes.menuIconDark]: isDark })} onClick={() => setDrawerState(!isDrawerOpened)}><span></span><span></span><span></span>