Restore theme toggle action icons (sun to light, moon to dark)

Show the destination theme on the toggle again instead of the active one.
This commit is contained in:
Raven Scott
2026-07-16 18:04:02 -04:00
parent 2e9cf6725f
commit d7ef9910d4
+6 -6
View File
@@ -854,17 +854,17 @@ tr:hover td {
display: block;
}
/* Icon reflects current theme: moon = dark/night, sun = light/day */
.theme-toggle .icon-moon {
/* Show action icon: sun in dark (switch to light); moon in light (switch to dark) */
.theme-toggle .icon-sun {
display: block;
}
.theme-toggle .icon-sun {
display: none;
}
html[data-theme='light'] .theme-toggle .icon-moon {
.theme-toggle .icon-moon {
display: none;
}
html[data-theme='light'] .theme-toggle .icon-sun {
display: none;
}
html[data-theme='light'] .theme-toggle .icon-moon {
display: block;
}