remove style from head due to ssr duplicate
This commit is contained in:
parent
aee0523adc
commit
6428a9192f
1 changed files with 2 additions and 2 deletions
|
@ -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)" />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue