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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user