diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-12-09 16:50:10 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-01-01 20:35:27 -0400 |
commit | 399fc354d02471d09ca3a145c68718d3fa7b0b69 (patch) | |
tree | f85069d86e12544c885485567cd17218ba68f533 | |
parent | 5fb2ef2bfae90831d0e8a5fee7163dfd96d70382 (diff) |
content: make dim color (image background) darker
-rw-r--r-- | src/util/colors.js | 2 |
1 files changed, 1 insertions, 1 deletions
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]); |