Improved the readability of dark mode color presets
authorAlexander Ebert <ebert@woltlab.com>
Mon, 19 Jun 2023 12:08:10 +0000 (14:08 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 19 Jun 2023 12:08:10 +0000 (14:08 +0200)
The new set of colors provides a contrast of at least 4.5:1

wcfsetup/install/files/style/font-awesome/000-woltlab.scss

index 333f5fbefa2b4bc77932fca92f81b81a47598ed4..e157a0080dda3796091fca5f57c621494862fbd4 100644 (file)
@@ -171,14 +171,14 @@ fa-icon {
 }
 
 html[data-color-scheme="dark"] fa-icon {
-  --preset-black: #333;
-  --preset-blue: #204f7e;
-  --preset-brown: #795548;
-  --preset-green: #1b5e20;
+  --preset-black: #8c8c8c;
+  --preset-blue: #478cd1;
+  --preset-brown: #ad8476;
+  --preset-green: #2ea336;
   --preset-orange: #f57c00;
-  --preset-pink: #e10fb0;
-  --preset-purple: #673ab7;
-  --preset-red: #c1183d;
+  --preset-pink: #f23ac8;
+  --preset-purple: #9c7bd5;
+  --preset-red: #eb5c7b;
   --preset-yellow: #ffeb3b;
 }