Solve bug, where respectPrefersColorScheme is not working

Signed-off-by: Nick Slowinski <nick@nick-slowinski.de>
Dieser Commit ist enthalten in:
Nick Slowinski 2024-08-06 21:33:52 +02:00
Ursprung 2dd8446a7a
Commit 42a199b2b9
Signiert von: nickslowinski
GPG-Schlüssel-ID: A28671573AA347CC

Datei anzeigen

@ -170,8 +170,6 @@ const config: Config = {
darkTheme: prismThemes.dracula, darkTheme: prismThemes.dracula,
}, },
colorMode: { colorMode: {
defaultMode: 'dark',
disableSwitch: false,
respectPrefersColorScheme: true, respectPrefersColorScheme: true,
}, },
} satisfies Preset.ThemeConfig, } satisfies Preset.ThemeConfig,