erikras / erikras/styled-components-theme
Feature request: Theme object not known upfront
Open
- Dominant language
- JavaScript
- Stars
- 306
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
Hi Erikras,
Would it be possible to document usage when the theme is dynamic. In my case, the "colors" object comes as JSON from the server. So I can't easily call createTheme on it, without duplicating the code.
Cloud the createTheme detect what fields are in the props.theme object?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.