Open fflaten opened 2 years ago
seems correct: no unit seems to make it hard to use in CSS functions.
We could always include a unit for consistency.
Also worth taking a look at the direction of CSS, maybe this will be easier in the future?
For example https://www.bram.us/2022/07/08/the-future-of-css-variable-units-powered-by-custom-properties/
Zero-valued variables should always include a unit to be compatible with
min/max/calc
functions. Ex.--ifm-footer-padding-horizontal: 0
set in a default media-query will not work atm. Overriding to0px
fixes it.