mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 07:55:18 +00:00
website: detect system color scheme
This commit is contained in:
parent
a12a46c635
commit
cfa9e04377
@ -18,6 +18,8 @@ import NextNProgress from "nextjs-progressbar";
|
|||||||
|
|
||||||
const customTheme = extendTheme(
|
const customTheme = extendTheme(
|
||||||
{
|
{
|
||||||
|
initialColorMode: 'system',
|
||||||
|
useSystemColorMode: true,
|
||||||
styles: {
|
styles: {
|
||||||
global: (props: any) => ({
|
global: (props: any) => ({
|
||||||
body: {
|
body: {
|
||||||
|
Loading…
Reference in New Issue
Block a user