From 3fb01a3022a3f47c0e1e6e76771a35fce23a128b Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 29 Dec 2023 23:58:38 -0400 Subject: content: generateColorStyleAttribute --- src/content/dependencies/generateContentHeading.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/content/dependencies/generateContentHeading.js') diff --git a/src/content/dependencies/generateContentHeading.js b/src/content/dependencies/generateContentHeading.js index 57bacbe5..816cc98a 100644 --- a/src/content/dependencies/generateContentHeading.js +++ b/src/content/dependencies/generateContentHeading.js @@ -1,9 +1,9 @@ export default { extraDependencies: ['html'], - contentDependencies: ['generateColorStyleVariables'], + contentDependencies: ['generateColorStyleAttribute'], relations: (relation) => ({ - colorVariables: relation('generateColorStyleVariables'), + colorStyle: relation('generateColorStyleAttribute'), }), slots: { @@ -22,10 +22,7 @@ export default { {tabindex: '0'}, slots.color && - {style: - relations.colorVariables - .slot('color', slots.color) - .content}, + relations.colorStyle.slot('color', slots.color), [ html.tag('span', {class: 'content-heading-main-title'}, -- cgit 1.3.0-6-gf8a5