So, we're currently attempting to have a single Zope host multiple Plone pages, but they are all supposed to use the same LESS file in the file system. All sites are supposed to have the same layout, but use different colors which would be changed via 'plone.lessvariables' in the registry after GenericSetup. The preferred scenario would be if we could mimic the Bundle Builder behavior that occurs when navigating to /@@resourceregistry-controlpanel and pressing "Build" on the specific bundle, because then Plone compiles a CSS file within the local site.
I'm aware of how to compile LESS files via the "plone-compile-resources" script, however that script generates a single compiled CSS file which would cause all Plone sites to have the same colors. I've also dabbled with the idea of having a theme:parameter within the manifest.cfg that would load the LESS variable and change the CSS afterwards via a Diazo rule entry in the rules.xml, but I've had no luck.
From my understanding, the TTW Bundle Builder essentially submits a form with the action 'less-build-config' with the bundle name to /@@resourceregistry-controlpanel, which then seems to trigger the less-variables.js and less.js to run and compile all LESS files. I'm unsure if that's all there is to it, or if that's the "proper way" to trigger the script and would appreciate any insight on the matter.