formaat-design / reshaped

Community repository for storing examples, reporting issues and tracking roadmap
https://reshaped.so
97 stars 3 forks source link

Font Scaling Support? #221

Closed petewins closed 4 months ago

petewins commented 4 months ago

Hi, this is more of an inquiry than a feature request. I've been using reshaped and noticed all tokens including font sizes are pixel based. Browser zooming works since everything scales together but the browser's font size will be ignored

I was wondering about this design choice and if theres are any thing we need be wary of using only pixels

https://www.joshwcomeau.com/css/surprising-truth-about-pixels-and-accessibility/

blvdmitry commented 4 months ago

Hey, 100% something we would like to implement. We've looked into this before and since it would be a breaking change for the theme format, we've parked it for the major release this summer alongside the design updates based on what Figma will release at Figma config. Here is another similar request that we user for tracking: https://github.com/formaat-design/reshaped/issues/221