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

@ -18,6 +18,8 @@ import NextNProgress from "nextjs-progressbar";
const customTheme = extendTheme(
{
initialColorMode: 'system',
useSystemColorMode: true,
styles: {
global: (props: any) => ({
body: {