Allow percentages for line height

+1 for percentages.

Agree, 100%! Heheh, we need percentage-based line height.

Agree.

  • This could be made even more powerful, by allowing number fields to accept string vars (where a % could be entered) - kinda dirty, but this would solve the % feature (?)
  • Even more powerful if variables accepted calculations referring to other vars like =[line-height-default]*1.5
3 Likes

I totally agree with this.

+1 for this feature

Hi Figma, congratulations on reaching this milestone! It’s awe-inspiring. I wanted to share an idea regarding typography. Specifically, I’d like to talk about the text property. Instead of specifying the exact number of pixels for line height, I prefer using relative numbers like 1.5, 1.6, or 2. This approach offers more flexibility and maintaining consistency across different text easier.

However, I’m open to using exact pixel values when necessary.

image

This topic is already in discussion! Please vote for it :slight_smile: Allow percentages for line height

thanks @Franni

+1 for this feature :+1:t2:

+1 for this feature, for line-height and letter-spacing. It’s not a scalable feature for design systems, as-is. Thanks for your work on this!

+1. this would be very helpful for a beginner like me :smiling_face_with_tear:

This is needed. I don’t know how it released without this function. Now I have to convert to px based and when the inevitable release happens later this year I’ll have to convert them all back to % again.