diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index edaba1aaa..aa109c35f 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -123,27 +123,23 @@ $: { if (browser) { const isCloudClass = isCloud ? 'is-cloud' : ''; - const isStudioClass = PUBLIC_CONSOLE_PROFILE === 'studio' ? 'is-studio' : ''; if ($app.theme === 'auto') { const darkThemeMq = window.matchMedia('(prefers-color-scheme: dark)'); if (darkThemeMq.matches) { - document.body.setAttribute( - 'class', - `theme-dark ${isCloudClass} ${isStudioClass} no-transition` - ); + document.body.setAttribute('class', `theme-dark ${isCloudClass} no-transition`); $app.themeInUse = 'dark'; } else { document.body.setAttribute( 'class', - `theme-light ${isCloudClass} ${isStudioClass} no-transition` + `theme-light ${isCloudClass} no-transition` ); $app.themeInUse = 'light'; } } else { document.body.setAttribute( 'class', - `theme-${$app.theme} ${isCloudClass} ${isStudioClass} no-transition` + `theme-${$app.theme} ${isCloudClass} no-transition` ); $app.themeInUse = $app.theme; }