diff --git a/src/pages/App.tsx b/src/pages/App.tsx index 5284480..65151a9 100644 --- a/src/pages/App.tsx +++ b/src/pages/App.tsx @@ -5,6 +5,7 @@ import "@fontsource/roboto/700.css"; import { AppBar, Box, + createTheme, Drawer, Icon, IconButton, @@ -13,6 +14,7 @@ import { ListItemButton, ListItemIcon, ListItemText, + ThemeProvider, Toolbar, Typography, } from "@mui/material"; @@ -37,11 +39,17 @@ const sidebarItems: Item[] = [ const drawerWidth = 240; +const darkTheme = createTheme({ + colorSchemes: { + dark: true, + }, +}); + function App({ error }: { error?: boolean }) { const [isOpen, setOpen] = useState(false); return ( - <> + theme.zIndex.drawer + 1 }} @@ -103,7 +111,7 @@ function App({ error }: { error?: boolean }) { {error && } {localStorage.getItem("key") ? : } - + ); }