From ee8f7c8c4ed3daec2ce0162389b67b651ac3b775 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Tue, 12 Mar 2024 19:22:54 +0000 Subject: [PATCH] faster theme loading --- src/components/ThemeSwitch/index.astro | 3 --- src/layouts/Base/Head.astro | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/ThemeSwitch/index.astro b/src/components/ThemeSwitch/index.astro index b6c04853..08076aa2 100644 --- a/src/components/ThemeSwitch/index.astro +++ b/src/components/ThemeSwitch/index.astro @@ -18,6 +18,3 @@ import styles from './index.module.css' - - - diff --git a/src/layouts/Base/Head.astro b/src/layouts/Base/Head.astro index 92a9b2f7..a8963dc3 100644 --- a/src/layouts/Base/Head.astro +++ b/src/layouts/Base/Head.astro @@ -119,6 +119,9 @@ const faviconSvg = await getImage({ src: faviconSvgSrc, format: 'svg' }) ) } + + + {style && } {