change: theme-colorをsvelte管理にする

This commit is contained in:
moris 2024-12-15 22:24:26 +09:00
parent f330223245
commit c323f51394
2 changed files with 5 additions and 3 deletions

View File

@ -3,9 +3,6 @@
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#a1cc66" media="(prefers-color-scheme: light)">
<meta name="theme-color" content="#" media="(prefers-color-scheme: dark)">
<meta property="og:site_name" content="moris.day"> <meta property="og:site_name" content="moris.day">
%sveltekit.head% %sveltekit.head%
</head> </head>

View File

@ -18,6 +18,11 @@
}); });
</script> </script>
<svelte:head>
<meta name="theme-color" content="#a1cc66" media="(prefers-color-scheme: light)">
<meta name="theme-color" content="teal" media="(prefers-color-scheme: dark)">
</svelte:head>
<div id="root"> <div id="root">
<div id="scroll"></div> <div id="scroll"></div>
{#if dev} {#if dev}