docs: desaturate dark-mode background color

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
This commit is contained in:
Benjamin Franzke 2022-06-03 22:44:42 +02:00 committed by Zbigniew Jędrzejewski-Szmek
parent 67bca872ea
commit 4d74273d69

View File

@ -18,6 +18,7 @@
--sd-brand-green: hsl(145, 66%, 51%); /* #30D475; */ --sd-brand-green: hsl(145, 66%, 51%); /* #30D475; */
--sd-brand-white: #fff; --sd-brand-white: #fff;
--sd-black: hsl(270, 7%, 13%);
--sd-green: hsl(145, 66%, 43%); /* #26b763 */ --sd-green: hsl(145, 66%, 43%); /* #26b763 */
--sd-gray-extralight: hsl(30, 10%, 96%); /* #f6f5f4 */ --sd-gray-extralight: hsl(30, 10%, 96%); /* #f6f5f4 */
--sd-gray-light: hsl(30, 10%, 92%); --sd-gray-light: hsl(30, 10%, 92%);
@ -51,7 +52,7 @@
:root { :root {
color-scheme: dark; color-scheme: dark;
--sd-foreground-color: var(--sd-gray); --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-logo-color: var(--sd-brand-white);
--sd-link-color: var(--sd-brand-green); --sd-link-color: var(--sd-brand-green);
--sd-small-color: var(--sd-gray); --sd-small-color: var(--sd-gray);