Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get style string without using inline-css #84

Open
dy opened this issue Jul 19, 2016 · 2 comments
Open

Get style string without using inline-css #84

dy opened this issue Jul 19, 2016 · 2 comments

Comments

@dy
Copy link

@dy dy commented Jul 19, 2016

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.

@ahdinosaur
Copy link
Member

@ahdinosaur ahdinosaur commented Jul 19, 2016

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

@dy
Copy link
Author

@dy dy commented Jul 19, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.