Improve the visibility of the “required” mark
authorAlexander Ebert <ebert@woltlab.com>
Fri, 26 May 2023 10:05:14 +0000 (12:05 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 26 May 2023 10:05:14 +0000 (12:05 +0200)
Fixes #5524

wcfsetup/install/files/style/layout/form.scss

index fcd53ba6750953a3388fbecf4668dd4ffff323c0..478a1c13ff678fe67cb3878a8749148903731b87 100644 (file)
@@ -235,6 +235,10 @@ input {
        color: rgba(204, 0, 1, 1) !important;
 }
 
+html[data-color-scheme="dark"] :is(.formFieldRequired, .customOptionRequired) {
+       color: #ff4444 !important;
+}
+
 /* password strength estimator */
 .inputAddonPasswordStrength {
        align-items: flex-start;