admin: added "system" theme option, check user pref

This commit is contained in:
dswbx
2025-02-18 08:20:41 +01:00
parent bd362607ae
commit 0823b182f6
9 changed files with 32 additions and 23 deletions

View File

@@ -44,7 +44,7 @@ function AdminInternal() {
const { theme } = useTheme();
return (
<MantineProvider {...createMantineTheme(theme ?? "light")}>
<MantineProvider {...createMantineTheme(theme as any)}>
<Notifications />
<FlashMessage />
<BkndModalsProvider>