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 4ebc08e commit b056d8eCopy full SHA for b056d8e
src/components/theme-toggle.tsx
@@ -13,13 +13,13 @@ export function ThemeToggle({
13
<Fragment>
14
<style>{`
15
:root, .light, .light-theme {
16
- --theme-toggle-sun-icon-display: block;
17
- --theme-toggle-moon-icon-display: none;
18
- }
19
- .dark, .dark-theme {
20
--theme-toggle-sun-icon-display: none;
21
--theme-toggle-moon-icon-display: block;
22
}
+ .dark, .dark-theme {
+ --theme-toggle-sun-icon-display: block;
+ --theme-toggle-moon-icon-display: none;
+ }
23
`}</style>
24
25
<Tooltip className="radix-themes-custom-fonts" content="Toggle theme">
0 commit comments