Skip to content

Commit

Permalink
Adjust theme button size (#13)
Browse files Browse the repository at this point in the history
Co-authored-by: Gyles Fohl <[email protected]>
  • Loading branch information
Burzmalian and Gyles Fohl authored Aug 19, 2024
1 parent 397706f commit ba9f10c
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 ba9f10c

Please sign in to comment.