Skip to main content
ValentinaG
New Participant
April 22, 2024
Solved

LAUNCHED - Text Line Height Variables Scoping

When setting the variables for my library’s typography styles, I noticed that my text sizing variables were not showing up for ‘Line height’ even tho I had ‘Text content’ number scoping settings toggled on.

I then realized they are only showing for ‘Line height’ if I have ‘Show in all supported properties’ selected. Is this because it’s planned to add semantic text content scoping in the near future? I would expect that all my variables that have ‘Text content’ toggled on will appear for Line height.

It’s a small detail, but now I have all my text variables visible for properties in which I may not want them like effects, stroke and opacity.

This topic has been closed for replies.
Celine_
Celine_Solution
Community Support
May 31, 2024

Hi everyone,
Scoping is available for typography variables!

To get more information, you can check our Help Center article: Scope a variable , and additional information under this thread:

15 replies

Pattaya_Upara
May 17, 2024

Looks more like bug than other intentions since Text content variables are very new to Figma.

“Line height, Letter spacing, and Paragraph spacing” should also be grouped as Text content in “Number scoping”

Celine_
Figmate
Community Support
May 23, 2024

Hey everyone, thanks for flagging this and your feedback!

I confirm that it is not supported at this moment. Our team is aware of it that variables with the ‘Text content’ scope are showing up for any typography values, and for now we’d recommend that you don’t scope variables intended for typography. They plan to add a specific scope within the next month, though I’m not able to share the exact date as it may change if any problems are found before then.

When it goes live you should see it announced on our Release Notes or Twitter / ‘X’.
Thanks for your patience in the meantime!

David_Luna
May 30, 2024

@Celine_Figma if there is a way to communicate to all Figma users that this is not working? This would save us a lot of time trying to figure out what is happening and trying to fix it.

Celine_
Figmate
Celine_Solution
Community Support
May 31, 2024

Hi everyone,
Scoping is available for typography variables!

To get more information, you can check our Help Center article: Scope a variable , and additional information under this thread:

EvanMacAlpine
New Participant
May 31, 2024

Amazing! Thanks for the update @Celine_Figma . And thanks to the Figma design/dev teams working on this. Seems to be working great so far. This feature will make navigating variables so much simpler for end users! 🙌