Merge branch 'feature/add-basic-authentication' of https://github.com/ajnart/homarr into feature/add-basic-authentication

This commit is contained in:
Meier Lukas
2023-07-29 16:16:08 +02:00
4 changed files with 144 additions and 20 deletions

View File

@@ -14,6 +14,7 @@ import {
TextInput,
ThemeIcon,
UnstyledButton,
useMantineTheme,
} from '@mantine/core';
import {
IconAlertTriangle,
@@ -47,11 +48,12 @@ interface MainLayoutProps {
export const MainLayout = ({ children }: MainLayoutProps) => {
const { t } = useTranslation();
const { attributes } = usePackageAttributesStore();
const theme = useMantineTheme();
return (
<AppShell
styles={{
root: {
background: '#f1f1f1',
background: theme.colorScheme === 'dark' ? theme.colors.dark[6] : theme.colors.gray[1],
},
}}
navbar={