Skip to content

Commit

Permalink
Adjust theme button size
Browse files Browse the repository at this point in the history
  • Loading branch information
Gyles Fohl authored and Gyles Fohl committed Aug 19, 2024
1 parent 397706f commit 5338c49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/ThemeToggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ export function ThemeToggle() {
className="rounded-full bg-muted p-2.5 text-muted-foreground"
onClick={() => setTheme(theme === Theme.LIGHT ? Theme.DARK : Theme.LIGHT)}
>
{theme === Theme.LIGHT && <SunIcon className="h-[1.2rem] w-[1.2rem]" />}
{theme === Theme.DARK && <MoonIcon className="h-[1.2rem] w-[1.2rem]" />}
{theme === Theme.LIGHT && <SunIcon className="h-4 w-4" />}
{theme === Theme.DARK && <MoonIcon className="h-4 w-4" />}
<span className="sr-only">Toggle theme</span>
</button>
);
Expand Down

0 comments on commit 5338c49

Please sign in to comment.