Improve the hover background of labels in dark mode
authorAlexander Ebert <ebert@woltlab.com>
Thu, 29 Jun 2023 11:50:35 +0000 (13:50 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 29 Jun 2023 11:50:35 +0000 (13:50 +0200)
See https://www.woltlab.com/community/thread/300408-incorrect-hover-text-color-for-default-colored-labels-in-dark-mode/

wcfsetup/install/files/style/ui/darkMode.scss

index 1355e329a34657c3493a9a5eb6bf284d0087eed9..c63dc729068131847b0fa2b944c49350cc8438bd 100644 (file)
@@ -58,7 +58,7 @@ html[data-color-scheme="dark"] {
        }
 
        a.badge:hover {
-               --color: var(--wcfContentBackground);
+               --background-color: #252d3c;
                text-decoration: none;
 
                &.black {