diff options
Diffstat (limited to 'src/static/client.js')
-rw-r--r-- | src/static/client.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/static/client.js b/src/static/client.js index 32fb2abe..e9286ab0 100644 --- a/src/static/client.js +++ b/src/static/client.js @@ -222,8 +222,14 @@ let fastHover = false; let endFastHoverTimeout = null; function colorLink(a, color) { + console.warn('Info card link colors temporarily disabled: chroma.js required, no dependency linking for client.js yet'); + return; + + // eslint-disable-next-line no-unreachable + const chroma = {}; + if (color) { - const {primary, dim} = getColors(color); + const {primary, dim} = getColors(color, {chroma}); a.style.setProperty('--primary-color', primary); a.style.setProperty('--dim-color', dim); } |