Much awaited feature is finally here. Thanks to the entire Figma team. Gonna save tons of work here with this typography variable.
9 ай бұрын
Need variable support for percentage numeric values for line-height. Also need variable support for multiple variable font axis, like font width, font slant, etc... currently only supports font weight.
@manuelesposito25219 ай бұрын
Same here, percentage values for line-height would be awesome.
@gdbriggs49 ай бұрын
Echo this - line-height percentages please.
@NadiaWiegand-lz7ys9 ай бұрын
oh yes, that would be so great. also the option to calculate within the values
@nicolelachenmeier80418 ай бұрын
100% agree!
@nobody-bt7mu8 ай бұрын
Up!
@wonsunparque47889 ай бұрын
Finally!!! Awesome! Thank you!!! Next: opacity support in color variables please.
@ny19849 ай бұрын
Already supported. We’re missing gradients tho
@Figma9 ай бұрын
@ny1984 Hi, you can also assign variables to gradient color stops as well! Check it out here: help.figma.com/hc/en-us/articles/15343107263511-Apply-variables-to-designs#h_01HVA5YEDGTPSZFW2KCT2G8N5P
@wonsunparque47889 ай бұрын
Sorry, I meant to add opacity when referencing a color variable. For example, after making a primitive color variable of a color, I want to create several tokens of different opacities of that primitive color.
@serhiytorba9 ай бұрын
@@wonsunparque4788 I also want to join to that party with alias opacity tokens)
@Krasniysharigg9 ай бұрын
@@Figma Everyone is waiting for the ability to add a gradient to a variable, not variables as gradient colors. (P.S. However, this functionality has not yet appeared, although some variables have appeared for fonts, is this a bug or are you really adding functions piece by piece?)
@AndreiValentim9 ай бұрын
Good! But my variables for line height and letter spacing are in %, not #!
@trevorsmith45979 ай бұрын
I really dislike that figma does this. Dev teams don't know what to do with % on letter spacing because CSS does not accept % for letter spacing
@lhauschild9 ай бұрын
@@trevorsmith4597 We also had this, solved it by teaching them that 3% is just 0.03em, for example.
@valeassiso899 ай бұрын
@@lhauschild not really, that depends on your base, but you should have the number, it's as easy as multiplying you number times 1.20 or 1.50 depending if you are using 120% or 150% and it will give you the same result. It takes time but its easier for everyone in the long run
@lhauschild9 ай бұрын
@@valeassiso89 True, we did build our DS with that in mind though. Thanks for adding to the discussion.
@feelcollins43584 ай бұрын
It seems this has been changed? Cuz mine is in px instead for letter spacing and line height
@GlebSoin9 ай бұрын
The voice of the speaker is awesome, and really easy to understanding for nonnative speakers. Thanks a lot!
@Dampealx79 ай бұрын
Bro. Couldn't agree more! I do feel she knows how amazing her voice is and is having fun with it 😅
@exgeeinteractive9 ай бұрын
I find it the opposite. NGL, the softness of her voice irritates me.
@filimon.grigore9 ай бұрын
actually, I almost fell asleep a few times because of how calm and sweet the voice is. I love and hate it at the same time for that.
@xuchen48299 ай бұрын
so sweetie voice!!!
@JuliaM2068 ай бұрын
I don't think this is a real person's voice. Its definitely AI
@RIPKaunas9 ай бұрын
Finally! Well done, you made a feature everyone will use it! Thanks!
@lucidsam99499 ай бұрын
Finally, well done to the Figma team!!! I have wanted this feature for a long time now. I can't wait to see what else the team brings out. 💙💙💙💙
@deepeebee629 ай бұрын
Great stuff! Wonderful video. ⭐ When you're using number variables for typography only, you can use "Number scoping" for "Text content" (to avoid cluttering the variable selection for other things).
@Figma9 ай бұрын
Great tip!
@rammaduthuri4 ай бұрын
give an example @deepeebee62
@robertopatron21328 ай бұрын
Definitely I want a deeper video regarding variables and variants! what a phenomenal work!
@sachaaaj9 ай бұрын
Oh no, I can't add a variable "-2%" to my letter-spacing 😢
@platinumdynamite9 ай бұрын
This seems to be the eternal problem with variables - there's always a compromise in order to use them. I respect the ongoing work by the development team, don't get me wrong - but I think there needs to be a clear line drawn as to what direction variables is to go in, and whether it's going to become the standard or an awkward advanced sideline.
@yourdan-j3z9 ай бұрын
No % values allowed for line-height (number) variables, only solid numbers? 😥
@kp_porter8 ай бұрын
Exactly! What a major oversight.
@kai12189 ай бұрын
Nice! It has finally arrived! Definitely going to try it out!! 🎉
@cinderful9 ай бұрын
I felt Marchin's presence in this video from the start. Thank you Figma team for all of the very detailed and nerdy thinking that went into this!
@lianahakobyan10169 ай бұрын
I wish I could work for at least a month at Figma Company. With every update, you allow us to save our time and nerves :D
@accountNameBlank9 ай бұрын
Welcoming this update with open arms, thanks Figma! ❤
@miurellgonzalez57859 ай бұрын
Nice! I was waiting for this!! :D
9 ай бұрын
I'm watching the Framework presentation right now. I've to confess how excited I'm feelling with all these updates. I think today I'll start working on typography variables 😁
@mishanpatel74409 ай бұрын
We really need a video for when to use variables and when to use Styles. !!!!!!
@Krasniysharigg9 ай бұрын
It's simple: use styles until variables are out of beta (they're still very limited, don't support gradients, and half the typography functionality)
@PerpetualEducation9 ай бұрын
Styles might just be the way we combine variables.
@BrunoAlves-uy3sl9 ай бұрын
Yes, I'm interested in a deep dive when to use variables vs styles.
@jeremydennis69089 ай бұрын
Love to see it. It would be great in a future update to allow for bulk updating. Perhaps you update one font family and are prompted to apply the reference changes to all similar fonts?
@sangio_davese9 ай бұрын
A clear and succinct walk-through with a solid follow-along community file. Hopefully, % for line height comes soon! I am definitely interested in a deeper dive on when to use variables and when to use styles.
@horoman9 ай бұрын
We are using percentages for our line heights. This feature still needs to be developed yet, right?
@nasmith679 ай бұрын
Could a string variable be used for that??
@horoman9 ай бұрын
@@nasmith67 I attempted to apply it, but it is not being “recognised” as a property for the line height.
@AndreiValentim9 ай бұрын
@@horoman same here
9 ай бұрын
same...
@lhtram859 ай бұрын
same issue..
@fryonthemoon9 ай бұрын
That's a cool feature, thanks!
@Sanny.V9 ай бұрын
Thank you! This is a huge benifit in our workflow. 🎉
@ulvinomarov9 ай бұрын
Since Figma launched in 2012, I have been waiting this functionality 🤩
@ChristTheKing708 ай бұрын
5:58 I experimented on that and found out that using T-String is actually better than using #-Number, though the only change you could make from the video above is actually changing the name to its weight number, For eg: Variable: T-String Name: 400 Value: Regular The reason being: 1) NumberCluster: When you use the #-Number style to name the font weight, its value also appears on the variable dropdown when you wish to apply a variable on your font size (funny I know). This could lead to confusion or endless scrolling when searching for what you want. 2) Versatility: The T-String naming style will be especially important when you're working on projects that has italicized text (ie italics), sadly this is where the #-Number style falls short. You could name your italicized text this way: Variable: T-String Name: i400 Value: Italic Hope this helps, God bless. P.S: The speaker's voice is angelic😇
@Mizko9 ай бұрын
Great update!!! But now I need to re-film all of my Variables course lessons 😅
@Fabian-fk8qs9 ай бұрын
😄 Lucky is who already bought your course and get's the update for free. You are doing great work Mizko!
@imtiazqazi9 ай бұрын
Great. can I use % in line height ?
@lhtram859 ай бұрын
same question, i can't use % with #number, and If I use % with #string, it will not appear when selecting a variable in the text style.
@vietdo4939 ай бұрын
Great! Thank you!
@Angie.K_ProductDesigner9 ай бұрын
와 귀에 쏙쏙 들어오는데요!!! Thank you!!! ❤ What a clear & cozy voice!!!
@almudenadenoriega6008 ай бұрын
Thank you very, very much!!! Absolutely, I'm super interested in a deeper dive into when to use variables or styles.
@xinyueeeg9 ай бұрын
Great! The switching of text variables between mobile and web interfaces works really well with Breakpoint design.
@Krasniysharigg9 ай бұрын
0:30 fonts string variables isn't available for me (But at the same time, font's number variables are available). Strange, is the functionality enabled gradually/in parts? 🤔
@Jizansanu9 ай бұрын
Thank you maam, after long wait, now most of the things are possible. Thank you for the gradients to the variable, thanks for giving full control over fonts and values. This is awesome🎉
@dirtbagmoto5 ай бұрын
New to Figma but now wondering what's the best way to add support for dark mode for multiple typography modes. Very cool tutorial though, this is much appreciated.
@randallparrish56969 ай бұрын
Question: I’m trying to build a library for iOS and Android simultaneously. Type is the only differentiator so I want to consolidate. How do I set it so that I can easily set up a token framework that’ll easily let me switch between SF and Roboto from the layers panel dropdown?
@BrialMusic9 ай бұрын
Just in time 👏
@M0ELgendy8 ай бұрын
I don't know what is the actual benefits for creating all of those variables to the font preferences while those set of fonts already defined as a "Styles"? is it just to have the scaling system in a memory or there something more I missed? this is an important question because I feel it wasting a huge time building those variables for each property and this will consume a lot of time to the client. thoughts on that?
@alfiematthews93149 ай бұрын
Awesome! Excited to get stuck into this additional feature -- can you do a video on documentation, how to present variables to developers? As designers we cannot expect developers to view every page and work out our scale, colour and usage variables. Will dev. mode soon allow developers to view only the variables popup?
@ahzootube9 ай бұрын
Hey @figma Would it be possible to launch variables library presets? What I mean by that is maybe a basic or fundamental collections and variables to simply fill in and optionally add more. I think many designers would appreciate some kind of structure to aliases to develop faster with better understanding.
@Dushan-rv7to9 ай бұрын
Are we going to pretend component variants don't exitst.. Wouldn't changing the typography through the variable modes break components with mobile variants?? For instance, if the component is set to it's "Desktop" variant and then you change the variable mode of the text to "Mobile" then it would be the wrong text for the "mobile text" for the "desktop" variant of the component. Am I missing something?
@anjumayoub90779 ай бұрын
It's great, but I'm only thinking that it's time consuming to manually apply variable one by one for each text style. Suppose we need to apply font family "DM Sans" to each sizes, we can select all sizes and apply that font family variable, it would be easy 😅
@fortyozsteak9 ай бұрын
Yea but what's the point? Are you ever going to change your font...
@Navid-UX9 ай бұрын
You can follow this workflow: export styles to Json file > make batch changes in a text editor (e.g. Sublime Text) > import Json to Figma. Its really simple and quick.
@CrummyKyle9 ай бұрын
Are there any plans to add the ability to use strings for line-height? I'd love to be able to put in a percentage value rather than have to make px based line heights for every font size.
@visibleghost19 ай бұрын
coolio, love seeing variables become more and more useful!
@perliva9 ай бұрын
Great! Finally! Please allow percentages as line height-
@Devraj020818 күн бұрын
Can we also add different font family modes in string variables? so that we can create for other brands?
@JacobODonnellDesign9 ай бұрын
This looks very useful! Could we get CSS Grid mode for Auto Layout and Z-Index control sometime as well? Then Figma would have pretty much everything I could want for a web design tool.
@horoman9 ай бұрын
We have layers that act in a similar way as the z-index. Could you please explain it more in deep?
@JacobODonnellDesign9 ай бұрын
@@horoman The biggest issue for me is when you turn on auto layout, the z index is determined by layer order. It works great the vast majority of the time, but it can cause issue with dropdown menu hover effects. If I have a dropdown menu when hovering over a button, if the button is inside a child frame where there is a parent frame set to auto layout, the hover dropdown can be overlapped by the content in the next child frame. This occurs because the position of the child layers are tied to their order in the layer panel. It can mitigated by turning off auto-layout in their parent container so then the position isn't tied to layer order, but then you lose out on auto layout. Hopefully I explained that well enough to get what I mean. It is much easier to show an example, but I don't think I can add a link in youtube comments.
@abhimestri53199 ай бұрын
@@JacobODonnellDesign We can use negative spacing in auto layout.
@martynbowis45709 ай бұрын
Unfortunately, updating the characters of a text node will still break any applied formatting. Try formatting one of the words in a text node bold using the new variable method, and you will see it turn bold. However, now try and update that text node characters and you will see the bold break and all the string revert to look the same.
@KD-tp6er8 ай бұрын
What's annoying is, say if the title Space Grotesk had different font weights in the design system, you have to create text styles for each, like title/300, title/400, title/700. Why can't I create a text style, but then use variables to tweak the font weight as and when?
@SashenMeАй бұрын
Is there a faster way to change font style to token? Instead of changing one by one?
@ViruX939 ай бұрын
When I created responsive typography styles with variables like shown at 10:00 I found out that the thumbnails of the sizing variables shows the wrong values. For desktop my mobile values are shown, vice-versa, depending which values are defined in the first column. It's a display bug I believe.
9 ай бұрын
What do you recommend when you have a design system as a library on one file and a bunch of files for separate projects and different teams ?
@danwallin90289 ай бұрын
@figma Love this feature, but it seems to fall short for our use case. We are hoping to use variable modes to switch styles between our 3 brands, 2 of which use all caps for headings, the other brand uses title case. Is there any way to control the case of a character style using variables? If not, then when switching from one mode (brand) to another, we are getting whatever the default case is for the character style. If this isn't a feature now, do you have plans to add this in the future? 🤞
@mayowaogundeji8 ай бұрын
Hey I seem to be struggling with the same problem. We currently have 2 brands with different Header fonts but the same body font. This is for marketing but for the products we use 1 font family with different font styling. After watching this I got confused on how to create modes for these use cases as well as file naming : eg - BrandName/font/family.... Can you help please?.
@maximenes7 ай бұрын
There's a way to do this. Go to the Properties' advanced settings once setting up the Token. One way to do that is to select the typographic style in question on the Design panel, click on the "More" icon, and on the Properties panel, click again on the "More" icon. In there you have tens op options, divided within the tabs "Basics", "Details" and "Variable". The case can be adjusted on the "Basics" tab
@danwallin90287 ай бұрын
@@maximenes Is this in beta or something? I see the "Basics" and "Details" tabs but don't have a tab for "Variable" unfortunately. I'm able to adjust the case in the basics tab just fine currently but would like to be able to control the case from one mode to another by binding a variable to the case. If this is possible, please let me know. Thanks!
@rohitjadhav87449 ай бұрын
Wow!! Any chances to have variables for auto-layouts as per resolutions??
@PerpetualEducation9 ай бұрын
What are you most excited about with variables for typography: This is a great start! Having relative line-height as we do in CSS with just 1.4 would be ideal, and if not a float, then 140%. But having variables for HSL color type things - and for gradients would be much higher on our list. HSB(@hue, 60, 100) etc. EDIT: looks like we have the ability to use color variables in gradients now! : )
@GuoqingZhao-d8s8 ай бұрын
at first how can i learn in this sweet voice?? then that‘s so nice 🤣🤣
@djashawe889236 ай бұрын
Thanks, Figma, for the great content as always. We use Primitives and Tokens for color aliases. Isn't it best practice to do the same for Typography (font weight, size, line height, etc.)? 🤔
@ludovicabonaldo9 ай бұрын
Amazing 🚀🥳
@megaroeny7 ай бұрын
💡What if you have a generic "Dimensions" set of tokens, and then you could reference those into the line-height, font-size, etc. values? Would that not be recommended?
@varunsaini67649 ай бұрын
Hi, Could you please tell me how to create a variable for the "Auto" line height in Figma. The line height field does not accept string variables.
@mischugo9 ай бұрын
Font weight or underline or both -> possible for selected part of text? ;-)
@koma72529 ай бұрын
i love your voice, please put more hiss in the audio it's very pleasant
@ily2a9 ай бұрын
why isn't the line height support % value? I've always used % ...
@janniklas.design9 ай бұрын
Love it. Thanks
@LuisPauloLohmann6 ай бұрын
Where is the layer section to select variable mode in the new UI? I can't find it anymore.
@LuisPauloLohmann6 ай бұрын
Nevermind... it's in the little gear in the Appearance section now.
@valeassiso899 ай бұрын
I have a problem, I have 4 modes already, interface desktop and mobile and banner desktop and mobile (don't ask why it was like this before my time) and the designers are not ready to change to variables. Can I determine if my style type is in a mode or another so my designer can just keep doing thinks the way the are until we can make a workshop?
@djnizzi9 ай бұрын
LOOOOOVEEEEEE😍🥰🤩
@cocabangaa9 ай бұрын
Finally. Thanks. 👍
@millionrashon8 ай бұрын
Can't find font family variable, I do have variables on other stuff but not on font family, any suggestion?
@itsaboy9 ай бұрын
Finally 🔥🔥🔥
@aamasudbdc9 ай бұрын
Great stuff!
@НиколайМакаров-щ6к5 ай бұрын
It would be great to add the ability to calculate paragraph spacing mathematically. For example, body paragraph spacing = body line height * 1.5, title paragraph spacing = title line height * 1.25, etc.
@MaxWeir9 ай бұрын
Great update ❤
@chriscasey23539 ай бұрын
would be good if line-heights could be percentages of the font-size
@fryonthemoon9 ай бұрын
Would be great to link variables to text and boolean properties of the component instances. Hi @figma team any plans for that?
@yakaspectrum8 ай бұрын
Does anyone know how to fix this issue? I can see variable collections from other projects in my current project. How can I configure it so that when setting the theme, I only see variable collections from the specific project I'm working on?
@panther09204 ай бұрын
I hope that it will become possible to specify two font families in a single text layer. We need to control both Latin and Japanese characters.
@selinov9 ай бұрын
Variables are useless to my team if they only apply to non-nested components. Coded apps and enterprise product designs are made from many nested components. We can use variables once we can apply and change variables to the child components.
@AlejandroOrtizJr-fi4xj3 ай бұрын
Isn't this where Aliasing comes in if I understand it correctly?
@canaiv91547 ай бұрын
We need variable support to resizing, text alignment, case and decoration as well.
@grlcanrock4 ай бұрын
I like this new feature but do people still find that it's actually helpful to have both a desktop and mobile variant within a component side by side rather than just having one variant and then going to the page layouts to change the type variable to mobile?
@aakashprajapati531928 күн бұрын
Italic font-weight can't work. After the new update lots of problem I phases in FIGMA VARIABLE.
@liamfarrell32819 ай бұрын
how do we control type colour with variables?
@fortytwo2449 ай бұрын
You can't lol
@Underhills9 ай бұрын
You don't get to make any variables if your using a designsystem, cause all of them will be created, stored and administrated from there. You can use the String values for some local interactions, but that's mostly it.
@NadiaWiegand-lz7ys9 ай бұрын
thank you for always updating figma with lovely features that us designers really need for better processes. this is game changing and awesome to use. i'm still missing the option for type settings like text decorations within my variables. also there is a huge need within the community to rearrange variables within the panel (f.e. drag and crop / copy paste). is this something you have on your roadmap?
@MarcinBauer9 ай бұрын
Finally... but is this the pace a big (and highly valued) company should move in? Seems features like this take ages for Figma, where Framer is releasing features like this on a monthly/weekly basis.
@Евгений-г9щ7у9 ай бұрын
Where is the basic text size like rem in web?
@bradmacdonald65919 ай бұрын
The Habits design team may want to adjust the line-height value for the title 3xl style - at 48/40, we run into the issue of descenders and ascenders overlapping, which isn't ideal for legibility/readability.
@Figma9 ай бұрын
Hello, thank you for spotting this error! That was a production mistake on our end. We've updated our Figma community file (www.figma.com/community/file/1298672675597243186/habitz-design-system-with-variables) to reflect the accurate line-height value.
@bradmacdonald65919 ай бұрын
@@Figma You're welcome, thanks for the reply :)
@mrshahbaz829 ай бұрын
need update about Code fullfill code
@ricksande22109 ай бұрын
Slowly making styles redundant? I feel like they have duplicate functionality. Or is that wrong?
@mvjdk9 ай бұрын
They have addressed this a few times. Styles are seen as a combination of multiple variables and variables are only single atomic values.
@BS-gr3bi9 ай бұрын
Great, now please make possible to set colors for gradients with variables.
@ajsupanatp.43149 ай бұрын
Line height as % please.
@psddesignernet8 ай бұрын
How to add line/height but in % ?
@steffsamtoy33109 ай бұрын
🥰🥰🥰🥰🥰🥰 Love it !
@lolidolux8 ай бұрын
Line heigh - impossible to calculate and use. We need to use % somehow.
@musikundspiel10089 ай бұрын
Finally 🎆
@zeta.reticoli9 ай бұрын
but what about variables export?
@ViruX939 ай бұрын
There are third party plugins which allows to ex- & import as json
@pelangos9 ай бұрын
It would be cool if we can apply variables to an entire project too so they apply on all design files within that project
@paulXmbingu9 ай бұрын
Companies in the world should learn how Figma builds product, they listen to understand it's users needs first before jumping into building out features. Problem with most startups, feels like, is they were either mislead or misunderstood the meaning of the agile method of software development they are constantly changing out garbage hopping that customers will use only for them to realize that they have been wasting resources. Long story longer, thanks to everyone who worked on these updates.
@jossandqvist9 ай бұрын
This is awesome but we NEED to be able to use percentages