I need to dynamically generate some CSS at build time from JS including the CSS selectors so I don't think define:vars will work. Basically I want to create:
html[data-theme="some-theme"] { ... }
html[data-theme="another-theme"] { ... }
/* more themes if necessary... */
where "some-theme" and "another-theme" are derived from a variable length list in the site config file. I want to put this generated CSS in a global style tag. Is this even possible?