/**
* ThemeToggle — a moon/sun rendered as ink strokes, not a Material icon.
* Deliberately hand-drawn feel: the moon has a slight crescent bite, the sun
* has four short rays. Both drawn with strokeLinecap="round".
*/
import { motion } from "motion/react";
import { useTheme } from "@/hooks/useTheme";
export function ThemeToggle() {
const { theme, toggle } = useTheme();
const dark = theme === "dark";
return (
);
}
function Sun() {
return (
);
}
function Moon() {
// A crescent drawn as one path — feels like a pen stroke, not an icon.
return (
);
}