Cleaned up the theme a bit

This commit is contained in:
2026-02-14 01:11:01 -07:00
parent e99e042eea
commit 6233380682
38 changed files with 126 additions and 168 deletions

View File

@@ -17,8 +17,8 @@ const { title } = Astro.props;
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<meta name="generator" content={Astro.generator} />
<title>{title}</title>
<script>
const theme = localStorage.getItem('theme') || 'macchiato';
<script is:inline>
const theme = localStorage.getItem('theme') || 'sunset';
document.documentElement.setAttribute('data-theme', theme);
</script>
</head>