You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think you might be running into the same issue I described in #1130
That seems to be a general issue with theme-ui in Next.js. As far as I could find, it might be a Next.js issue. In both TS and JSX. But they closed the issue there... Still trying to get to the bottom of it. More details in #1130
To verify if you're having the same issue, can you check if heading styles are missing
only in MDX pages, with # Headings
or also when you import { Styled } from 'theme-ui' and then render <Styled.h1>Some Heading</Styled.h1>
Describe the bug
Heading component doesn't get theme styles from styles: { h2: {} } for example.
Additional context
NextJS app with typescript. Something to do with as="" prop?
The text was updated successfully, but these errors were encountered: