From ae5f68ba51bbbe308cc56e70e70209652c869843 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 26 Feb 2023 17:44:53 -0400 Subject: basic image overlays --- src/misc-templates.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/misc-templates.js') 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); -- cgit 1.3.0-6-gf8a5