diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-04-30 21:45:59 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-05-31 12:11:46 -0300 |
commit | d01dda56dbd80f2aad9973201c27ed23b23162c3 (patch) | |
tree | fd830edf0ad67f6a11cef7c962613b308dfd0378 /src/util | |
parent | 6dbf976005f097b3737aa87d2d09239f7a37f330 (diff) |
content, client, css: search results hover cue
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/colors.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/colors.js b/src/util/colors.js index 50339cd3..7298c46a 100644 --- a/src/util/colors.js +++ b/src/util/colors.js @@ -15,6 +15,7 @@ export function getColors(themeColor, { const deep = primary.saturate(1.2).luminance(0.035); const deepGhost = deep.alpha(0.8); const light = chroma.average(['#ffffff', primary], 'rgb', [4, 1]); + const lightGhost = primary.luminance(0.8).saturate(4).alpha(0.08); const bg = primary.luminance(0.008).desaturate(3.5).alpha(0.8); const bgBlack = primary.saturate(1).luminance(0.0025).alpha(0.8); @@ -31,6 +32,7 @@ export function getColors(themeColor, { deep: deep.hex(), deepGhost: deepGhost.hex(), light: light.hex(), + lightGhost: lightGhost.hex(), bg: bg.hex(), bgBlack: bgBlack.hex(), |