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
{{ message }}
This repository was archived by the owner on Jun 12, 2025. It is now read-only.
I tried to change the breakpoints in the config and it doesn't seem to work. I provided a theme just like in the example and all options seem to work as intended except the breakpoints.
The values don't make sense but container.xl works, padding etc works too. grid.breakpoints.xl doesn't change the media query for that breakpoint. I dug around a little and found the following line of code:
Hi,
I tried to change the breakpoints in the config and it doesn't seem to work. I provided a theme just like in the example and all options seem to work as intended except the breakpoints.
The values don't make sense but container.xl works, padding etc works too. grid.breakpoints.xl doesn't change the media query for that breakpoint. I dug around a little and found the following line of code:
emotion-grid/src/utils/media.ts
Line 8 in d41431d
It seems like config() is called without the theme and therefore it uses the defaults.
Is this behaviour intended? It doesn't make sense to me. Would be happy to hear from you.