« get me outta code hell

content, css: track banners - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/common-util
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2026-03-14 15:51:01 -0300
committer(quasar) nebula <qznebula@protonmail.com>2026-03-14 15:51:01 -0300
commita76cadc34f4e3a2d48816d3d01968fc3283e1af0 (patch)
tree2c2eaa2b224ce9ece93f1de361acf58e15a951ef /src/common-util
parent28471913b2da726ab07b7549310d976c1b31bb54 (diff)
content, css: track banners preview
Diffstat (limited to 'src/common-util')
-rw-r--r--src/common-util/colors.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common-util/colors.js b/src/common-util/colors.js
index 7298c46a..50e51cd9 100644
--- a/src/common-util/colors.js
+++ b/src/common-util/colors.js
@@ -14,6 +14,7 @@ export function getColors(themeColor, {
   const dim = primary.desaturate(2).darken(1.5);
   const deep = primary.saturate(1.2).luminance(0.035);
   const deepGhost = deep.alpha(0.8);
+  const abyss = primary.saturate(0.6).luminance(0.012);
   const light = chroma.average(['#ffffff', primary], 'rgb', [4, 1]);
   const lightGhost = primary.luminance(0.8).saturate(4).alpha(0.08);
 
@@ -31,6 +32,7 @@ export function getColors(themeColor, {
     dim: dim.hex(),
     deep: deep.hex(),
     deepGhost: deepGhost.hex(),
+    abyss: abyss.hex(),
     light: light.hex(),
     lightGhost: lightGhost.hex(),