Abmelde-Icon neben Hell/Dunkel im App-Kopf
Docker Image / test (push) Successful in 1m55s
Docker Image / image (push) Successful in 32s

This commit is contained in:
loki committed 2026-10-11 19:47:49 +02:00
1 parent f881c0afb9
commit 6bdac93521
1 file changed
+21 -2
+21 -2
View File
@@ -41,8 +41,7 @@ function MoonIcon() {
);
}
function SunIcon() {
return (
export function SunIcon() { return (
<svg
width="20"
height="20"
@@ -60,6 +59,26 @@ function SunIcon() {
);
}
export function LogoutIcon() {
return (
<svg
width="20"
height="20"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
aria-hidden="true"
>
<path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" />
<path d="M16 17l5-5-5-5" />
<path d="M21 12H9" />
</svg>
);
}
export function ThemeToggle({ variant = "text" }: { variant?: "text" | "icon" }) {
const [theme, setTheme] = useState<Theme>(() => themePreference());