I noticed that in my attempt to reorder JavaScript execution by reinstalling and uninstalling the TOC component (this has the fortuitous side effect, seemingly, of running the TOC JavaScript last) that the CSS rules are now applied using this order ![]()
I feel like the topic of ordering for theme component code-placement is pretty important. If the ordering is officially “undefined” there’s no way components can hope to interact.
Perhaps component interaction is a non-goal. But I think with an ordering heuristic (e.g. declare that a component file occur before or after another component’s file of the the same name - this would presumably be defined in about.json) this problem is not-so-hard.
For my part, I’m starting to think that forking the TOC component is the right course based on what I’m trying to do.