My MantineProvider has the colorScheme set to dark but the content of the AppShell is still in light mode.
function App({ Component, pageProps }: AppProps) {
const [opened, setOpened] = React.useState(false);
return (
<NavContext.Provider value={{ opened, setOpened }}>
<MantineProvider theme={{ colorScheme: "dark" }}>
<Component {...pageProps} />
</MantineProvider>
</NavContext.Provider>
);
}