useMantineColorTheme
We want to read the current colorScheme, or set it to a value: dark or light.
Mantine saves the selected colorScheme in localStorage.
Before the App appears on-screen, Mantine checks the localStorage for any saved colorScheme, so that the first paint is done with the correct colorScheme.
const { colorScheme, setColorScheme } = useMantineColorScheme()
// also: toggleColorScheme and clearColorScheme