website: detect system color scheme

This commit is contained in:
Kingkor Roy Tirtho 2023-03-08 20:56:41 +06:00
parent a12a46c635
commit cfa9e04377

View File

@ -17,7 +17,9 @@ import Footer from "components/Footer";
import NextNProgress from "nextjs-progressbar";
const customTheme = extendTheme(
{
{
initialColorMode: 'system',
useSystemColorMode: true,
styles: {
global: (props: any) => ({
body: {