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
Is this a new page or a change to an existing one?
Existing one
Describe the enhancement
We should advise consumers that any logic they have using the pixel values of our previous breakpoint tokens will need to be updated to account for the fact that they're now in rems.
As an example one consumer function I've seen so far stripped the px from the token value then parsed it as an integer, now an additional step of multiplying that int by 16 (the standard rem to pixel conversion) will need to be added.
The text was updated successfully, but these errors were encountered:
Is this a new page or a change to an existing one?
Existing one
Describe the enhancement
We should advise consumers that any logic they have using the pixel values of our previous breakpoint tokens will need to be updated to account for the fact that they're now in rems.
As an example one consumer function I've seen so far stripped the
px
from the token value then parsed it as an integer, now an additional step of multiplying that int by 16 (the standard rem to pixel conversion) will need to be added.The text was updated successfully, but these errors were encountered: