diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-01-01 00:19:42 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-01-01 15:34:01 -0400 |
commit | 86418c8f864fcd251589440c69ec99c6ea58ae70 (patch) | |
tree | 7b46631bf297b21f25f38e5b0fb6a9a6ee4b0e82 /src/content/dependencies/image.js | |
parent | fc46f002300a5cec8deec2ec404dcfc29c2e8d63 (diff) |
content: image-box color context
Diffstat (limited to 'src/content/dependencies/image.js')
-rw-r--r-- | src/content/dependencies/image.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/content/dependencies/image.js b/src/content/dependencies/image.js index bc3cc17..fb4b59b 100644 --- a/src/content/dependencies/image.js +++ b/src/content/dependencies/image.js @@ -158,7 +158,10 @@ export default { if (slots.color) { const colorStyle = - relations.colorStyle.slot('color', slots.color); + relations.colorStyle.slots({ + color: slots.color, + context: 'image-box', + }); if (willLink) { linkAttributes.add(colorStyle); |