From 4d74273d69d364fd2a97d9867feac26861964514 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Fri, 3 Jun 2022 22:44:42 +0200 Subject: [PATCH] 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 --- docs/style.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/style.css b/docs/style.css index 56ed036603a..ee0fc7f754e 100644 --- a/docs/style.css +++ b/docs/style.css @@ -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);