Lesson

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.

Duration
4 min
Access
Free
Transcript
Available

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.