feat: add light mode support across all templates

This commit is contained in:
2026-05-07 12:21:03 +02:00
parent 0879dde851
commit 7412c9ed68
12 changed files with 200 additions and 196 deletions

View File

@@ -1,14 +1,14 @@
{{define "footer"}}
<footer class="mt-auto border-t border-neutral-800 bg-background-sidebar py-8 px-6 md:px-12">
<footer class="mt-auto border-t border-border bg-background-sidebar py-8 px-6 md:px-12">
<div class="flex flex-col items-center justify-between gap-6 sm:flex-row">
<div class="flex items-center gap-3">
<img src="/static/readme-logo-light.svg" alt="MAL" class="h-6 w-6" />
<span class="text-neutral-300 font-semibold text-lg tracking-tight">MyAnimeList</span>
<span class="text-foreground-muted font-semibold text-lg tracking-tight">MyAnimeList</span>
</div>
<div class="flex items-center gap-6">
<button
id="footer-theme-toggle"
class="text-neutral-500 transition-colors hover:text-neutral-300 focus:outline-none"
class="text-neutral-500 transition-colors hover:text-foreground focus:outline-none"
aria-label="Toggle theme"
>
<svg class="theme-icon-dark size-5" viewBox="0 0 24 24" stroke="currentColor" fill="none" stroke-width="2">