Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

disable system theme for now (to avoid dark mode)

Carl-Gerhard Lindesvärd715867678ad1
diff --git a/apps/dashboard/src/components/dark-mode-toggle.tsx b/apps/dashboard/src/components/dark-mode-toggle.tsx
index dff96bc03..2e4b96f3c 100644
--- a/apps/dashboard/src/components/dark-mode-toggle.tsx
+++ b/apps/dashboard/src/components/dark-mode-toggle.tsx
@@ -34,9 +34,9 @@ export default function DarkModeToggle({ className }: Props) {
<DropdownMenuItem onClick={() => setTheme('dark')}>
Dark
</DropdownMenuItem>
- <DropdownMenuItem onClick={() => setTheme('system')}>
+ {/* <DropdownMenuItem onClick={() => setTheme('system')}>
System
- </DropdownMenuItem>
+ </DropdownMenuItem> */}
</DropdownMenuContent>
</DropdownMenu>
);