style(next): improve the color contrast for switches

This commit is contained in:
Adorian Doran 2025-01-31 21:26:19 +02:00
parent 48b4f37f91
commit b56b42bea0

View File

@ -451,6 +451,14 @@ optgroup {
--icon-button-size: 28px;
}
div.switch-widget {
--switch-off-track-background: var(--cmd-button-background-color);
--switch-on-track-background: var(--cmd-button-text-color);
--switch-off-thumb-background: var(--cmd-button-text-color);
--switch-on-thumb-background: var(--main-background-color);
}
/* Links */
body a.tn-link,