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
When using the included media query utilities the css template literal did not work when using @xstyled/emotion for example
${up('md',css` height: 300px; `,)}
shown here in the docs would result in a style tag to be placed on the media query. I believe this is because the breakpoint function doesn't reduce the second property to an object take a look here. I've attempted to circumvent this by creating theme/media.js
which allows me to do
馃悰 Bug Report
When using the included media query utilities the css template literal did not work when using
@xstyled/emotion
for exampleshown here in the docs would result in a style tag to be placed on the media query. I believe this is because the breakpoint function doesn't reduce the second property to an object take a look here. I've attempted to circumvent this by creating
theme/media.js
which allows me to do
To Reproduce
Use a css template literal as a value to any export from breakpoints.js
Expected behavior
The functions should handle the css template literal
The text was updated successfully, but these errors were encountered: