15 lines
583 B
CSS
15 lines
583 B
CSS
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; } |