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

How to use props in injectGlobal #70

Open
sudheerj opened this issue Mar 28, 2019 · 2 comments
Open

How to use props in injectGlobal #70

sudheerj opened this issue Mar 28, 2019 · 2 comments

Comments

@sudheerj
Copy link

Is dynamic props supported in injectGlobal? Because I would like to change page level(body element) background color based on theme selection. If not, Do we have any workarounds?

@sudheerj
Copy link
Author

sudheerj commented Apr 2, 2019

@liqueflies Do you have any plans to support https://www.styled-components.com/docs/api#createglobalstyle for this repo? It is required for accessing dynamic props in global styles

@liqueflies
Copy link
Collaborator

Please, read here

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

No branches or pull requests

2 participants