Heading children styles coming through as the string "heading" instead of theme values #1480
Answered
by
lachlanjc
erikdstock
asked this question in
Q&A
|
I'm trying to bootstrap a relatively simple next.js typescript x theme-ui 0.6.6 app and have the following in my theme: Sorry, I feel like i wrestle with this stage of setup every single time i start a new theme-ui project and I'm sure that I am just missing something simple. Current Repo is here where I am updating a simple mdx-theme-ui-next.js example to use typescript and the latest theme-ui. |
Answered by
lachlanjc
Feb 6, 2021
Replies: 1 comment 4 replies
|
Yep, I've run into this many times too. It's super frustrating. This is usually caused by having multiple installations of Emotion in a project, which means the theme context won't be properly inherited by components. It looks like you've specified |
4 replies
Answer selected by
lachlanjc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Yep, I've run into this many times too. It's super frustrating. This is usually caused by having multiple installations of Emotion in a project, which means the theme context won't be properly inherited by components. It looks like you've specified
@emotion/reactyourself inpackage.json. If you remove that & re-install/re-start, does it work?