]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
docs: desaturate dark-mode background color
authorBenjamin Franzke <benjaminfranzke@googlemail.com>
Fri, 3 Jun 2022 20:44:42 +0000 (22:44 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 10 Jun 2022 11:52:31 +0000 (13:52 +0200)
The documentations dark-mode background color as
added in #23417 was perceived to be too purple-y [1]
and is therefore replaced by a desaturated black
that is derived from the systemd brand-black using
12% less HSL saturation.

[1] https://github.com/systemd/systemd/pull/23417#issuecomment-1146323820

docs/style.css

index 56ed036603ae1c808db77cc5e1afe60cfdf9b652..ee0fc7f754ec637029b8ec9babfa880216c78cf4 100644 (file)
@@ -18,6 +18,7 @@
   --sd-brand-green: hsl(145, 66%, 51%); /* #30D475; */
   --sd-brand-white: #fff;
 
+  --sd-black: hsl(270, 7%, 13%);
   --sd-green: hsl(145, 66%, 43%); /* #26b763 */
   --sd-gray-extralight: hsl(30, 10%, 96%); /* #f6f5f4 */
   --sd-gray-light: hsl(30, 10%, 92%);
@@ -51,7 +52,7 @@
   :root {
     color-scheme: dark;
     --sd-foreground-color: var(--sd-gray);
-    --sd-background-color: var(--sd-brand-black);
+    --sd-background-color: var(--sd-black);
     --sd-logo-color: var(--sd-brand-white);
     --sd-link-color: var(--sd-brand-green);
     --sd-small-color: var(--sd-gray);