feat: remove themes

This commit is contained in:
Barrett Ruth 2026-01-07 13:43:40 -06:00
parent 1d2f556b32
commit 142d0876a6
6 changed files with 2 additions and 99 deletions

View file

@ -26,14 +26,9 @@ const promptText = topic ? `barrett@ruth:~$ ${topic}` : "barrett@ruth:~$";
<span class="terminal-cursor"></span>
</div>
</a>
<span id="theme-toggle">☼⊂ʕ•ᴥ•ʔ</span>
</header>
<style>
#theme-toggle {
cursor: pointer;
user-select: none;
}
@media (max-width: 640px) {
header {
flex-direction: row;

View file

@ -13,17 +13,6 @@ const {
<!doctype html>
<html lang="en">
<head>
<script is:inline>
(function () {
const stored = localStorage.getItem("theme");
const theme =
stored ||
(matchMedia("(prefers-color-scheme: dark)").matches
? "dark"
: "light");
document.documentElement.setAttribute("data-theme", theme);
})();
</script>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />

View file

@ -6,9 +6,8 @@ export type CollectionKey =
| "meditations"
| "autonomous-racing"
| "git"
| "gists"
| "death";
export type PostCollection = Exclude<CollectionKey, "git" | "gists">;
export type PostCollection = Exclude<CollectionKey, "git">;
export type AnyCollectionEntry =
| CollectionEntry<"algorithms">
@ -16,5 +15,4 @@ export type AnyCollectionEntry =
| CollectionEntry<"meditations">
| CollectionEntry<"autonomous-racing">
| CollectionEntry<"death">
| CollectionEntry<"git">
| CollectionEntry<"gists">;
| CollectionEntry<"git">;