Fix navbar color

This commit is contained in:
koalasat
2025-07-14 15:26:15 +02:00
parent d1af50a0e3
commit d3832a0edf

View File

@ -71,7 +71,11 @@ const AppBar = ({ changePage }: AppBarProps): React.JSX.Element => {
return (
<Box sx={{ flexGrow: 1 }}>
<Bar position='fixed' sx={{ top: 'auto', bottom: 0 }} color='white'>
<Bar
position='fixed'
sx={{ top: 'auto', bottom: 0 }}
color={theme.palette.mode === 'dark' ? 'default' : 'white'}
>
<Toolbar style={{ display: 'flex', justifyContent: 'space-between', flexGrow: 1 }}>
<Button
size='large'