pixel art icons

This commit is contained in:
2026-02-05 12:39:53 +00:00
parent 5310b48442
commit e8a34ac287
3 changed files with 14 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
import { Moon, Sun } from "@nsmr/pixelart-react";
import { useTheme } from "@/components/theme-provider";
import { Button } from "@/components/ui/button";
@@ -11,7 +12,7 @@ function ThemeToggle() {
size="sm"
onClick={() => setTheme(isDark ? "light" : "dark")}
>
{isDark ? "light" : "dark"}
{isDark ? <Sun /> : <Moon />}
</Button>
);
}