From 399fc354d02471d09ca3a145c68718d3fa7b0b69 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 9 Dec 2023 16:50:10 -0400 Subject: content: make dim color (image background) darker --- src/util/colors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util') diff --git a/src/util/colors.js b/src/util/colors.js index 8aa7bda9..feb52567 100644 --- a/src/util/colors.js +++ b/src/util/colors.js @@ -11,7 +11,7 @@ export function getColors(themeColor, { const primary = chroma(themeColor); const dark = primary.luminance(0.02); - const dim = primary.desaturate(2).darken(1.5); + const dim = primary.saturate(1.2).luminance(0.035); const dimGhost = dim.alpha(0.8); const light = chroma.average(['#ffffff', primary], 'rgb', [4, 1]); -- cgit 1.3.0-6-gf8a5