refactor: drop tailwind-merge

This commit is contained in:
rusconn
2024-03-29 21:33:45 +09:00
parent 2741082c84
commit 4114f29818
12 changed files with 47 additions and 48 deletions

View File

@@ -10,8 +10,9 @@ export function ThemeToggle() {
return (
<Button
className="h-10 w-10 p-0"
className="inline-flex aspect-square items-center justify-center"
variant="ghost"
size="taller"
onClick={() => setTheme(resolvedTheme === "light" ? "dark" : "light")}
>
<icons.Sun className="h-7 w-7 rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0" />