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
Describe the bug
Unable to modify the default viewport breakpoints of the token s when generating a theme. However, it works correctly for other tokens (m, l, xl).
To Reproduce
viewport: {s: {minPx: 520},},
When running the reshaped theming command, the min-width for the token s in the generated media.css is incorrect, while it is correct for the other tokens.
Hey, right now it's not possible to add custom ones. We can add support for generating them in css, however that won't generate new viewports support in the component properties since we don't have the jsx generation supported right now. Would that still be helpful for you?
I can add more viewports to make them available as css custom media queries so you will be able to write custom styles using it. Existing viewports would still support customizing their values and those values will be respected when you use them via jsx props. For example, the s viewport right now allows customizing the maxPx right now but not minPx because if the smallest viewport and introducing a non 0 minPx value will product no css below that value
Describe the bug
Unable to modify the default viewport breakpoints of the token
s
when generating a theme. However, it works correctly for other tokens (m
,l
,xl
).To Reproduce
When running the
reshaped theming
command, themin-width
for the tokens
in the generatedmedia.css
is incorrect, while it is correct for the other tokens.Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: