Closed josh-bagwell closed 1 week ago
Breakpoint tokens currently do not work as intended.
This is due to css variables not being supported inside of media queries currently.
The below will not work:
[`@media screen and (max-width: ${cssVar(system.breakpoints.m)})`]: {}
But this will:
[`@media screen and (max-width: 48rem)`]: {}
What ends up happening is the value for the breakpoint is not used since css variables are not supported by media queries.
Value should be in px
close with #124
🐛 Bug Report
Expected Behavior
Breakpoint tokens currently do not work as intended.
This is due to css variables not being supported inside of media queries currently.
The below will not work:
But this will:
Actual Behavior
What ends up happening is the value for the breakpoint is not used since css variables are not supported by media queries.