feat: add a white theme

This commit is contained in:
Pierre Ryssen
2026-03-11 16:02:55 +01:00
parent 9642f2511a
commit d5d7b15f16
22 changed files with 297 additions and 241 deletions

View File

@@ -0,0 +1,19 @@
"use client";
import { Moon, Sun } from "lucide-react";
import { useTheme } from "@/lib/theme";
export default function ThemeToggleButton() {
const { theme, toggle } = useTheme();
return (
<button
onClick={toggle}
aria-label="Changer de thème"
className="flex items-center justify-center w-8 h-8 rounded-md border border-wy-border text-wy-text-secondary hover:text-wy-text-primary hover:bg-white/[0.06] transition-all duration-150"
>
{theme === "dark" ? <Sun size={15} /> : <Moon size={15} />}
</button>
);
}