Get style string without using inline-css
Hi!
I am trying to implement themes for parameters manager with sheetify, and due to namespacing css sheetify is ideal for that. The only issue is that whenever theme is changed, old theme’s css needs to be deleted, which is unclear how can be done with insert-css, here’s a ticket.
Is there any way to get css string without insert-css being engaged?
Thanks.
hey @dfcreative, you might be interested in what's been proposed in https://github.com/bendrucker/insert-styles/issues/.
@ahdinosaur cool, thanks, that is really good solution. I also done scope-css — a runtime tiny replacement to sheetify for dynamic styles, because sheetify can’t compile es6 strings with insertions.