remove style from head due to ssr duplicate

This commit is contained in:
Chris Kruining 2024-12-02 13:32:38 +01:00
parent aee0523adc
commit 6428a9192f
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2

View file

@ -60,11 +60,11 @@ export default function Editor(props: ParentProps) {
<Meta name="color-scheme" content={theme.colorScheme} /> <Meta name="color-scheme" content={theme.colorScheme} />
<Meta name="theme-color" content={`oklch(${lightness()} .02 ${theme.hue})`} /> <Meta name="theme-color" content={`oklch(${lightness()} .02 ${theme.hue})`} />
<Style>{` <style>{`
:root { :root {
--hue: ${theme.hue}deg !important; --hue: ${theme.hue}deg !important;
} }
`}</Style> `}</style>
<Link rel="icon" href="/images/favicon.dark.svg" media="screen and (prefers-color-scheme: dark)" /> <Link rel="icon" href="/images/favicon.dark.svg" media="screen and (prefers-color-scheme: dark)" />
<Link rel="icon" href="/images/favicon.light.svg" media="screen and (prefers-color-scheme: light)" /> <Link rel="icon" href="/images/favicon.light.svg" media="screen and (prefers-color-scheme: light)" />