« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/content/dependencies/generateListingIndexList.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/content/dependencies/generateListingIndexList.js b/src/content/dependencies/generateListingIndexList.js
index e4a2f5c7..0d8900e4 100644
--- a/src/content/dependencies/generateListingIndexList.js
+++ b/src/content/dependencies/generateListingIndexList.js
@@ -1,7 +1,7 @@
 import {empty, stitchArrays} from '../../util/sugar.js';
 
 export default {
-  contentDependencies: ['generateColorStyleVariables', 'linkListing'],
+  contentDependencies: ['linkListing'],
   extraDependencies: ['html', 'language', 'wikiData'],
 
   sprawl({listingTargetSpec, wikiInfo}) {
@@ -19,8 +19,6 @@ export default {
               !listing.featureFlag ||
               sprawl.wikiInfo[listing.featureFlag]));
 
-    query.wikiColor = sprawl.wikiInfo.color;
-
     query.targets =
       sprawl.listingTargetSpec
         .filter((target, index) => !empty(targetListings[index]));
@@ -34,8 +32,6 @@ export default {
 
   relations(relation, query) {
     return {
-      wikiColorVariables: relation('generateColorStyleVariables', query.wikiColor),
-
       listingLinks:
         query.targetListings
           .map(listings =>
@@ -109,7 +105,7 @@ export default {
                   class: targetIndex === data.currentTargetIndex && 'current',
                 },
                 [
-                  html.tag('summary', {style: relations.wikiColorVariables},
+                  html.tag('summary',
                     html.tag('span', {class: 'group-name'}, targetTitle)),
 
                   listingLinkList,