it's needed for certain calculated styling features such as:
font-size: calc(var(--font-base-size) * var(--font-h1-size-mod));
where the base size is a rem and I'm looking to calculate different heading sizes based on one base size value to globally change font styles across the site quickly and consistently. Or if I wanted unitless line height.
I also want to use unitless variables to control the number of grid rows/columns in various contexts, etc.
Attachments Open full size
it's needed for certain calculated styling features such as:
where the base size is a rem and I'm looking to calculate different heading sizes based on one base size value to globally change font styles across the site quickly and consistently. Or if I wanted unitless line height.
Attachments Open full size
Yes!!!
Attachments Open full size
Unitless is also needed to change z-index, etc.
Attachments Open full size
Yes!!
Attachments Open full size
Yes we need the percentage unit in size variables! It's often used for sizing elements
Attachments Open full size
Yes please!!!
Attachments Open full size
Indeed - it is needed! By the way - in the interaction settings you can assign percentages to variables. Why not in the variables panel?
Attachments Open full size
This is extremely needed.
Attachments Open full size