diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-02-26 17:44:53 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-02-26 17:59:10 -0400 |
commit | ae5f68ba51bbbe308cc56e70e70209652c869843 (patch) | |
tree | 87527a981c6131f2a40a07c8e8dbada39548bf2f /src/misc-templates.js | |
parent | f36f93b702729f14021746d56b192b25ac3ed1b7 (diff) |
basic image overlays
Diffstat (limited to 'src/misc-templates.js')
-rw-r--r-- | src/misc-templates.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/misc-templates.js b/src/misc-templates.js index 8a61bf7f..21dca90e 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); |