feat: update theme

This commit is contained in:
Ali BARIN
2021-11-24 23:15:22 +01:00
parent 3260bf8215
commit 232c224ccf
6 changed files with 138 additions and 9 deletions

View File

@@ -17,7 +17,11 @@ export default function AppBar({ onMenuClick }: AppBarProps) {
return (
<Box sx={{ flexGrow: 1 }}>
<HideOnScroll>
<MuiAppBar sx={{ zIndex: (theme) => theme.zIndex.drawer + 1 }}>
<MuiAppBar
sx={{
background: (theme) => theme.palette.primary.dark,
zIndex: (theme) => theme.zIndex.drawer + 1
}}>
<Toolbar>
<IconButton
size="large"

View File

@@ -28,7 +28,7 @@ export default function ListItemLink(props: ListItemLinkProps) {
<li>
<ListItem button component={CustomLink}>
<ListItemIcon>{icon}</ListItemIcon>
<ListItemText primary={primary} />
<ListItemText primary={primary} primaryTypographyProps={{ variant: 'body2' }} />
</ListItem>
</li>
);

View File

@@ -8,7 +8,7 @@ export default function PageTitle(props: PageTitleProps) {
const { children } = props;
return (
<Typography variant="h4">
<Typography variant="h3">
{children}
</Typography>
);

View File

@@ -30,6 +30,7 @@ export const SearchIconWrapper = styled('div')(({ theme }) => ({
export const InputBase = styled(MuiInput)(({ theme }) => ({
color: 'inherit',
width: '100%',
fontWeight: 400,
maxWidth: '100%',
'& .MuiInput-input': {
padding: theme.spacing(1, 1, 1, 0),