diff options
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 bc3cc173..fb4b59b6 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); |