Skip to main content

I use percentages in a project for the letter spacing. I can’t use variables to achieve this value. It always defaults to pixels.

Thank you for providing feedback! I will share this with our internal team. Your input is highly valued, and we will take it into consideration for future enhancements.


What unit is currently used? I tried converting the percentage to REM but the text shifts when I assign the variable, so REM clearly isn’t the right unit.


It defaults to pixels on Letter-Spacing. I tried using a decimal but then it was just a decimal of a pixel.

This issue is also present on line height.


This is weird 😦 I cannot use line-height variables for our “label” text style because of this issue. I need to add 10% as a value, but % character is not permitted.



Actually, this problem exists since 2021… Any news about it? Thank you very much.



I just ran into this problem. What good is having a variable scoped to line-height if it ONLY supports a px value ??


Same issue. Cant setup negative 2% or value 😦


If pixel values are considered “number variables” then percentage values should be considered number variables too. Please get this fixed.


I’d just like to add to this as well. Would make it a lot easier to set up consistent styles.


Reply