Styled-jsx: Theme support?

Created on 3 Jan 2018  路  2Comments  路  Source: vercel/styled-jsx

What is the preferred way to do theming with styled-jsx? Some examples in the readme reference a theme and say that theming is supported, but there aren't any specific examples of how this should be done.

Most other css-in-js libraries use a ThemeProvider, would that be where styled-jsx is going?

Most helpful comment

Along these same lines... the README mentions Dynamic styles and theme support but I don't see any examples or documentation about how to make themes work in styled-jsx out of the box. Can some documentation be added for this on the README?

All 2 comments

Along these same lines... the README mentions Dynamic styles and theme support but I don't see any examples or documentation about how to make themes work in styled-jsx out of the box. Can some documentation be added for this on the README?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

etiennejcharles picture etiennejcharles  路  3Comments

adamyonk picture adamyonk  路  3Comments

davibe picture davibe  路  5Comments

TonyHYK picture TonyHYK  路  4Comments

callumlocke picture callumlocke  路  5Comments