Cleaned up the theme a bit
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user