diff --git a/docs/src/pages/_layout.svelte b/docs/src/pages/_layout.svelte index 7dd0f43d34..17ca12ef6f 100644 --- a/docs/src/pages/_layout.svelte +++ b/docs/src/pages/_layout.svelte @@ -85,7 +85,10 @@ bind:theme="{$theme}" on:update="{(e) => { const theme = e.detail.theme; - document.documentElement.style.setProperty("color-scheme", ["white", "g10"].includes(theme) ? "light" : "dark"); + document.documentElement.style.setProperty( + 'color-scheme', + ['white', 'g10'].includes(theme) ? 'light' : 'dark' + ); }}" >