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'm trying to change the default breakpoints, but it's not working. I followed the docs and used ThemeProvider, but Rebass is still using the default breakpoints. Instead of using emotion-theming, I use @emotion/react because of this error:
Error: `emotion-theming` has been removed and all its exports were moved to `@emotion/react` package
Rebass isn't up-to-date. That's why it isn't working as it should. I'm no longer using Rebass, because of the lack of upgrades... Instead now using TailwindCSS.
I'm trying to change the default breakpoints, but it's not working. I followed the docs and used
ThemeProvider
, but Rebass is still using the default breakpoints. Instead of usingemotion-theming
, I use@emotion/react
because of this error:I use these versions:
My code:
_app.js
index.js
CodeSandbox
I've also created a sandbox for reproduction: https://codesandbox.io/s/rebass-themeprovider-wcc6b
Expectations
The breakpoints should be
768px
and1024px
instead of40em
and52em
.The text was updated successfully, but these errors were encountered: