We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e78e9e3 commit f8bfbbbCopy full SHA for f8bfbbb
apps/web/src/components/theme-toggle.tsx
@@ -19,10 +19,11 @@ export function ThemeToggle({ className }: ThemeToggleProps) {
19
onClick={() => setTheme(theme === "dark" ? "light" : "dark")}
20
>
21
{theme === "dark" ? (
22
- <Sun className="!size[1.1rem]" />
23
- ) : (<Moon className="!size[1.1rem]" />)}
+ <Sun className="!size-[1.1rem]" />
+ ) : (<Moon className="!size-[1.1rem]" />)}
24
<span className="sr-only">{theme === "dark" ? "Light" : "Dark"}</span>
25
</Button>
26
);
27
}
28
29
+
0 commit comments