airbnb / react-with-styles

Use CSS-in-JavaScript with themes for React without being tightly coupled to one implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ThemeProvider

rpelorosso opened this issue · comments

Hi! I'm reading http://airbnb.io/projects/react-with-styles/ which mentions a ThemeProvider component that allows to change the theme used.

I've noticed that I don't see it mentioned in the Github repository readme and that it doesn't seem to work with react-with-styles 2.3.1.

Was it deprecated? If so, how can I change the selected theme, and register a theme with a name?

Thank you!

Yes, it was removed in #93.

Currently, only one universal theme is supported.

Thank you @ljharb ! That's a shame :(

Could you elaborate a bit on your use case?