sheetify icon indicating copy to clipboard operation
sheetify copied to clipboard

Get style string without using inline-css

Open dy opened this issue 9 years ago • 2 comments

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.

dy avatar Jul 19 '16 06:07 dy

hey @dfcreative, you might be interested in what's been proposed in https://github.com/bendrucker/insert-styles/issues/.

ahdinosaur avatar Jul 19 '16 10:07 ahdinosaur

@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.

dy avatar Jul 19 '16 18:07 dy