Code
Code Component
Framer X

ThemeProvider and styled-components

The only way I found is to create a ThemeContainer, which uses ThemeProvider, and connect it to the themed items.

This works but it displays two copies of the UI. Anyone knows a better solution?

PS: If you find this tip difficult to understand, check out this course I prepared for you, where concepts are explained in a more digestible way. No programming experience required!

PPS: See other pro tips, or share / request a new tip.


download Want the complete source file? Enter your email address below:

I'll also send you new tips when available. No spam, unsubscribe any time!


© 2018 jimu Labs, Inc.