Switch default theme to "dark"

This commit is contained in:
c47 2023-12-10 07:34:12 +01:00
parent 9c1da7c917
commit 18a983c7ce
51 changed files with 154 additions and 154 deletions

View file

@ -36,10 +36,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -43,10 +43,10 @@ I&rsquo;m a trans-woman, living in Berlin. I&rsquo;m a sysadmin and I work a lot
</head>
<body class="" id="top">
<body class=" dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -41,10 +41,10 @@
</head>
<body class="" id="top">
<body class=" dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -43,10 +43,10 @@ Calendars are quite a big topic for me. For very long time I avoided to use CalD
</head>
<body class="" id="top">
<body class=" dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -43,10 +43,10 @@ Ich fand eine Zubereitung im Netz, in deren Kommentarbereich darauf hingewiesen
</head>
<body class="" id="top">
<body class=" dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -41,10 +41,10 @@
</head>
<body class="" id="top">
<body class=" dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -43,10 +43,10 @@ function! LastMod() if expand(&#39;%:p:h&#39;) =~ &#39;path/to/my/hugo-website/w
</head>
<body class="" id="top">
<body class=" dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -43,10 +43,10 @@ Andere Aspekte hingegen koennen ihre Wichtigkeit oder ihren Reiz verlieren - ode
</head>
<body class="" id="top">
<body class=" dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -46,10 +46,10 @@ I installed neovim I used it a few times that day and maybe the next day I start
</head>
<body class="" id="top">
<body class=" dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -45,10 +45,10 @@ It makes me happy that there are so many alternatives nowadays that we can use a
</head>
<body class="" id="top">
<body class=" dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -49,10 +49,10 @@ Kontakt: &#x69;&#x6e;&#x66;&#x6f;&#x40;&#x6e;&#x69;&#x78;&#x72;&#x65;&#x2e;&#x6e
</head>
<body class="" id="top">
<body class=" dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -2,7 +2,7 @@
<html lang="en" dir="auto">
<head>
<meta name="generator" content="Hugo 0.118.2"><meta charset="utf-8">
<meta name="generator" content="Hugo 0.119.0"><meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="robots" content="index, follow">
@ -39,10 +39,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -43,10 +43,10 @@
</head>
<body class="" id="top">
<body class=" dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -47,10 +47,10 @@ IP-Adresse Zugriffsdatum und -Uhrzeit Statusmeldung des Zugriffs useragent, also
</head>
<body class="" id="top">
<body class=" dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>

View file

@ -38,10 +38,10 @@
</head>
<body class="list" id="top">
<body class="list dark" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
}
</script>