Move to REM units #91
Replies: 3 comments 11 replies
-
We never really looked into this since all our designs are in pixels :) |
Beta Was this translation helpful? Give feedback.
-
Hey @fynnfeldpausch Do you have links to particularly convincing resources on REM? I'm thinking of dropping less variables and there's one that we use as a single measure of size in our design, which is 4px. I'm thinking we can drop it in favor of .25rem but I want to study this more since it's been a while I looked into the REM vs PX subject. |
Beta Was this translation helpful? Give feedback.
-
So I discussed it with a fellow team and they brought to our attention additional benefit of being able to slightly scale the whole app on various handheld devices. Say you have designed mobile app for iPhone SE with 320px width. Then on Pixel text and overall UI could look too small. With REM you can easily scale it depending on media queries. That sounds like a big benefit. And also it seems like changing apparent REM size to 4px might be confusing for people and make it harder to adopt Taiga UI so looks like we will not do it and keep it as is. I've created an issue to track this as a feature: |
Beta Was this translation helpful? Give feedback.
-
There are numerous examples and articles out there discussing the advantages of REM units over PX units. Do you guys see a possibility to switch from PX to REM units at some point in the future?
Beta Was this translation helpful? Give feedback.
All reactions