mirror of
https://github.com/hex248/ob248.com.git
synced 2026-02-08 02:33:02 +00:00
pixel art icons
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user