chore: heygermany customer project
This commit is contained in:
15
apps/website/views/[lang]/globals.css
Normal file
15
apps/website/views/[lang]/globals.css
Normal file
@@ -0,0 +1,15 @@
|
||||
a {
|
||||
text-decoration: inherit;
|
||||
}
|
||||
|
||||
/* Theme toggle button - swap Sun/Moon icons based on data-mantine-color-scheme attribute */
|
||||
/* Used to avoid ssr hydration issues with icon rendering */
|
||||
.theme-toggle .icon-sun,
|
||||
.theme-toggle .icon-moon { display: inline-block; }
|
||||
|
||||
/* Default (light) shows Sun, hides Moon */
|
||||
.theme-toggle .icon-moon { display: none; }
|
||||
|
||||
/* When Mantine flips the <html> attribute, CSS swaps icons */
|
||||
[data-mantine-color-scheme='dark'] .theme-toggle .icon-sun { display: none; }
|
||||
[data-mantine-color-scheme='dark'] .theme-toggle .icon-moon { display: inline-block; }
|
||||
Reference in New Issue
Block a user