« get me outta code hell

basic image overlays - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-02-26 17:44:53 -0400
committer(quasar) nebula <qznebula@protonmail.com>2023-02-26 17:59:10 -0400
commitae5f68ba51bbbe308cc56e70e70209652c869843 (patch)
tree87527a981c6131f2a40a07c8e8dbada39548bf2f /src/util
parentf36f93b702729f14021746d56b192b25ac3ed1b7 (diff)
basic image overlays
Diffstat (limited to 'src/util')
-rw-r--r--src/util/colors.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/colors.js b/src/util/colors.js
index c9ef69bf..8aa7bda9 100644
--- a/src/util/colors.js
+++ b/src/util/colors.js
@@ -12,6 +12,7 @@ export function getColors(themeColor, {
 
   const dark = primary.luminance(0.02);
   const dim = primary.desaturate(2).darken(1.5);
+  const dimGhost = dim.alpha(0.8);
   const light = chroma.average(['#ffffff', primary], 'rgb', [4, 1]);
 
   const bg = primary.luminance(0.008).desaturate(3.5).alpha(0.8);
@@ -26,6 +27,7 @@ export function getColors(themeColor, {
 
     dark: dark.hex(),
     dim: dim.hex(),
+    dimGhost: dimGhost.hex(),
     light: light.hex(),
 
     bg: bg.hex(),