mirror of
https://github.com/umami-software/umami.git
synced 2026-02-14 01:25:37 +01:00
Use system color scheme preference for theme detection
Configure ZenProvider to use colorScheme="system" to consistently respect OS/browser dark mode preference across all contexts including iframes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
a4e47e923d
commit
0699b05e57
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ export function Providers({ children }) {
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ZenProvider>
|
<ZenProvider colorScheme="system">
|
||||||
<RouterProvider navigate={navigate}>
|
<RouterProvider navigate={navigate}>
|
||||||
<MessagesProvider>
|
<MessagesProvider>
|
||||||
<QueryClientProvider client={client}>
|
<QueryClientProvider client={client}>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue