diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-08-02 12:45:30 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-08-02 12:45:30 -0300 |
commit | 00644623eb6c99a33b3b08771f4f23841f747b88 (patch) | |
tree | effb4db5cb5a317adc56614484180552c447cc70 /src/content/dependencies/generateStaticPage.js | |
parent | c699396105f5aaa2380ab3dee282e1f99f7055fb (diff) |
content: pass color directly through slots in various places
Primarily through generateColorStyle{Rules,Variables}, the former of which is also refactored into generatePageLayout, which now takes a direct color slot itself as well.
Diffstat (limited to 'src/content/dependencies/generateStaticPage.js')
-rw-r--r-- | src/content/dependencies/generateStaticPage.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/dependencies/generateStaticPage.js b/src/content/dependencies/generateStaticPage.js index cbd477e0..3e27fd43 100644 --- a/src/content/dependencies/generateStaticPage.js +++ b/src/content/dependencies/generateStaticPage.js @@ -21,7 +21,7 @@ export default { title: data.name, headingMode: 'sticky', - additionalStyleRules: + styleRules: (data.stylesheet ? [data.stylesheet] : []), |