Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Set up emotion-theming within a ReactJS application


    This lesson takes a look at the theming aspect of the emotion-js library. Specifically, we'll walk through the steps of setting up a ReactJS application to use a global theme object which contains our styles.

    By the end of the lesson, we'll have migrated styled components away from using hard-coded CSS values to instead get access to these values via the theme object which the <EmotionProvider> component passes down to all of it's children as a prop.