From: Benjamin Franzke Date: Fri, 3 Jun 2022 20:44:42 +0000 (+0200) Subject: docs: desaturate dark-mode background color X-Git-Tag: v252-rc1~833 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4d74273d69d364fd2a97d9867feac26861964514;p=thirdparty%2Fsystemd.git 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 --- 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);