Light mode update

This commit is contained in:
2026-06-12 16:57:07 -07:00
parent fa37cffe47
commit ba32c96b7b
7 changed files with 211 additions and 47 deletions

View File

@@ -5,6 +5,12 @@
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Rats with Gats</title>
<script>
// Apply the saved theme before first paint to avoid a flash of the
// wrong palette. lib/theme.js owns this key afterwards.
document.documentElement.dataset.theme =
localStorage.getItem('pirats-theme') === 'dark' ? 'dark' : 'light';
</script>
</head>
<body>
<div id="app"></div>