I am currently working on standardizing the styling in an application. As part of the process, I want to use rems (ie scaling based on the browser font size) instead of pixels (px) where it improves usability/user experience. I know it's a best practice to scale the website font size by using rems. I also know it's NOT good to scale a border's thickness or radius by using rems.
In general, which aspects of an input would be best to scale with font size from a user-experience perspective? I already know some aspects (font size) would be best to scale with rems and some aspects (border) would not. So, for example, would it be better for the padding on the inside of a text field to grow with rems or remain the same with pixels? Should the margin between inputs change? Should the distance between the text and the icons in a text field change? Anything else? Thank you!
(Image source: https://uxdesign.cc/text-fields-forms-design-ui-components-series-2b32b2beebd0)
