« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/misc-templates.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc-templates.js')
-rw-r--r--src/misc-templates.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/misc-templates.js b/src/misc-templates.js
index 8a61bf7..21dca90 100644
--- a/src/misc-templates.js
+++ b/src/misc-templates.js
@@ -309,6 +309,7 @@ function unbound_getThemeString(color, {
     primary,
     dark,
     dim,
+    dimGhost,
     bg,
     bgBlack,
     shadow,
@@ -318,6 +319,7 @@ function unbound_getThemeString(color, {
     `--primary-color: ${primary}`,
     `--dark-color: ${dark}`,
     `--dim-color: ${dim}`,
+    `--dim-ghost-color: ${dimGhost}`,
     `--bg-color: ${bg}`,
     `--bg-black-color: ${bgBlack}`,
     `--shadow-color: ${shadow}`,
@@ -737,7 +739,7 @@ function unbound_img({
       wrapped = html.tag('a',
         {
           id,
-          class: ['box', hide && 'js-hide'],
+          class: ['box', hide && 'js-hide', 'image-link'],
           href: typeof link === 'string' ? link : originalSrc,
         },
         wrapped);