mirror of
https://github.com/BarkProductions/barkman.git
synced 2026-06-13 06:11:55 +00:00
Set default color scheme to auto in MantineProvider
Added the `defaultColorScheme="auto"` prop to the MantineProvider in App.tsx. This enables automatic color scheme detection, improving the user experience by aligning with the system's settings.
This commit is contained in:
@@ -10,7 +10,7 @@ const queryClient = new QueryClient()
|
|||||||
import { MantineProvider } from '@mantine/core';
|
import { MantineProvider } from '@mantine/core';
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
return <MantineProvider>{ (
|
return <MantineProvider defaultColorScheme="auto">{ (
|
||||||
<QueryClientProvider client={queryClient}>
|
<QueryClientProvider client={queryClient}>
|
||||||
<>
|
<>
|
||||||
<Routes>
|
<Routes>
|
||||||
|
|||||||
Reference in New Issue
Block a user