Prepare for Figma Text Variables: Start Building Your Type Scales Correctly

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ต.ค. 2024

ความคิดเห็น • 57

  • @starkevych
    @starkevych 8 หลายเดือนก่อน +12

    You can perform mathematical operations directly in the “Line Height” field, or in another field.
    For example, “120×0.8” + Enter on keyboard

    • @UICollectiveDesign
      @UICollectiveDesign  8 หลายเดือนก่อน

      Great call out!

    • @keszycki
      @keszycki 8 หลายเดือนก่อน +8

      or even better just type 120% :)

    • @UICollectiveDesign
      @UICollectiveDesign  8 หลายเดือนก่อน

      Absolutely! Great call out@@keszycki

    • @Fabian-fk8qs
      @Fabian-fk8qs 7 หลายเดือนก่อน

      But how do you round it then?@@keszycki

  • @shifani2439
    @shifani2439 7 หลายเดือนก่อน +4

    Your content is fantastic. Please consider boosting the volume in your videos, as it can be challenging to hear your voice louder on a laptop. I appreciate your attention to this matter in your future videos.

    • @UICollectiveDesign
      @UICollectiveDesign  7 หลายเดือนก่อน

      Thank you! Please subscribe and share our channel where you can :) Will do! Had turned it up slightly in the past due to feedback I had gotten, but maybe not enough. Will turn it up higher for the next video.

  • @guillaumegoulet1480
    @guillaumegoulet1480 8 หลายเดือนก่อน +1

    Just what I needed. Super useful. Thanks Kirk!

  • @LeonardoAguiar3D
    @LeonardoAguiar3D 4 หลายเดือนก่อน +1

    After building the sequence of text styles containing size and line height properties do you then work on converting them to variables for handing the design off to devs? If you do, how do you organize and structure your text size and height variables for each text element? Furthermore, how do you structure text variables for different screen sizes and light and dark modes? Do you choose the light/dark modifiers as modes or do you choose the screen sizes (S,M,L) as modes? Can you share anything online about how to organize these text variables for design tokens?

    • @UICollectiveDesign
      @UICollectiveDesign  4 หลายเดือนก่อน

      Working on a vid for mobile text sizes now across modes. Aiming to have up early next week!
      I would also watch one of our latest vids on type variables if you haven't already.
      When you say for each text element, are you talking about each text size??

    • @LeonardoAguiar3D
      @LeonardoAguiar3D 4 หลายเดือนก่อน +1

      @@UICollectiveDesign Thank you for replying. When I say each text element I mean core html elements like h1,h2,h3,h4,p,ol,ul,li,a,figcaption etc for each one of these they should have different sizes, line heights, and possibly weights for each media device size, right? Which video do you recommend watching about type variables?

    • @UICollectiveDesign
      @UICollectiveDesign  4 หลายเดือนก่อน +1

      @@LeonardoAguiar3D Our video on Figma Type Variables | A Setup + Overview Guide talks through some setup, but not what you're looking for in-depth.
      This is a part of the video I am working on right now. Aiming to publish early next week.

  • @cp3onmtv963
    @cp3onmtv963 8 หลายเดือนก่อน +2

    Another useful one, thank you!

    • @UICollectiveDesign
      @UICollectiveDesign  8 หลายเดือนก่อน +1

      Glad you liked it! Please subscribe and share this video :)

  • @henkegiaretta
    @henkegiaretta 7 หลายเดือนก่อน +1

    Isn’t it a risk of using display fonts instead of headings? In your web site example you used a Heading 1 together with a H 3… shouldn’t you always use a H1 on every page?

    • @UICollectiveDesign
      @UICollectiveDesign  7 หลายเดือนก่อน +1

      Great call out... this is part of a larger convo we will get to in a later video

  • @another.designer
    @another.designer 7 หลายเดือนก่อน +1

    Good video, I Believe that the Initial Line height for heading and Paragraphs are based on a general rule that small texts should have more line height and Bigger text can have smaller line. Right?

    • @UICollectiveDesign
      @UICollectiveDesign  7 หลายเดือนก่อน +1

      You got it!

    • @another.designer
      @another.designer 7 หลายเดือนก่อน +1

      But Still I have one question, why use line height in pixels than percentage?
      Is it Best practice?

    • @UICollectiveDesign
      @UICollectiveDesign  7 หลายเดือนก่อน +1

      I like pixels because it's an absolute unit.@@another.designer

  • @eaglegirl9879
    @eaglegirl9879 6 หลายเดือนก่อน +2

    Anyway to add variables to styles to make them responsive? Like "Headline" mobile=20px, tablet=40px, desktop=50px?

    • @UICollectiveDesign
      @UICollectiveDesign  6 หลายเดือนก่อน

      Are you referring to naming conventions?

    • @sophiemulders
      @sophiemulders 5 หลายเดือนก่อน +1

      He means if you can set the value conditional on what the page width is. …. Can you use clamp in figma?

    • @UICollectiveDesign
      @UICollectiveDesign  5 หลายเดือนก่อน

      @@sophiemulders Haven't tried this out personally yet. Can you elaborate on clamp?

    • @razelm
      @razelm 3 หลายเดือนก่อน +1

      You can do this by using Local Variables with different modes for all displays.
      You can esentially have a H1 for example that has 64px on desktop, 48px on tablet, 36 on mobile for example.
      All you have to do is set the general mode for each frame and text styles apply on their own.
      I have set up this system for my own project and I've esentially created Variables with px dimensions, and then I applied those variables as refrences on the Typography system.

    • @UICollectiveDesign
      @UICollectiveDesign  3 หลายเดือนก่อน

      @@razelm Love this response!!

  • @nishantKumar-tr5ek
    @nishantKumar-tr5ek 6 หลายเดือนก่อน +1

    sir what if we alsoconsider font weight only for paragraph like 16px but with diffrent font weight like reguler,also bold take both and also
    what is naming in text style

    • @UICollectiveDesign
      @UICollectiveDesign  6 หลายเดือนก่อน

      Something like text sm/bold would work just fine :)

  • @bolkhayegakya
    @bolkhayegakya 2 หลายเดือนก่อน +1

    why the line height is too low?

    • @UICollectiveDesign
      @UICollectiveDesign  2 หลายเดือนก่อน

      It can be higher as well :)

    • @bolkhayegakya
      @bolkhayegakya 2 หลายเดือนก่อน

      @@UICollectiveDesign usually line height is higher than the text size.. like for 48 px text size line height around be 56px not 40 px, otherwise it would be too compact. :)

    • @UICollectiveDesign
      @UICollectiveDesign  2 หลายเดือนก่อน

      @@bolkhayegakya Yeah very specific to the brand. This is just an example :)

  • @jaychase738
    @jaychase738 8 หลายเดือนก่อน +2

    Hey Kirk! I've got a question. Is that okay to use "baseline text" for buttons, forms, inputs, tags and more...or it should necessarily be a "body text" with a line height?
    Recently I've sat up my typography and whenever i trying to apply a "body text" with a specific line height to a toast or button it looks like off the center because of text "line height". That's why i use a "baseline text" to keep it centered. How to handle this situation ? Thanks 🤙

    • @UICollectiveDesign
      @UICollectiveDesign  8 หลายเดือนก่อน

      Design Systems can also be what works for you! However, be sure other designers are also trained on this.
      Personally, I would just use body text with a line-height. If you join our Slack and send me a picture of your button, I could better advise.

  • @juleonasefi8559
    @juleonasefi8559 หลายเดือนก่อน +1

    I was told that using display type scales in apps is unnecessary, especially for power users. Anyone else hear that before?

  • @hellokitkath3329
    @hellokitkath3329 7 หลายเดือนก่อน +1

    Where does the 0.8 come from? Was it given automatically by "typescale" when you selected major third?

    • @UICollectiveDesign
      @UICollectiveDesign  7 หลายเดือนก่อน +1

      Nope, I set it to 0.8 during the video! Because headings are so large, you generally want the text to be closer together than with regular body text

    • @UICollectiveDesign
      @UICollectiveDesign  7 หลายเดือนก่อน

      Great question, though!!

    • @hellokitkath3329
      @hellokitkath3329 7 หลายเดือนก่อน +1

      Thank you!@@UICollectiveDesign

    • @UICollectiveDesign
      @UICollectiveDesign  7 หลายเดือนก่อน

      Glad to help!@@hellokitkath3329

  • @inezyuen3717
    @inezyuen3717 8 หลายเดือนก่อน +1

    Thanks so much for the video. Regarding typescales, why do you use px over pt?

    • @wge621
      @wge621 8 หลายเดือนก่อน +1

      I think it's easier to make responsive across device sizes

    • @UICollectiveDesign
      @UICollectiveDesign  8 หลายเดือนก่อน

      Correct!@@wge621

    • @UICollectiveDesign
      @UICollectiveDesign  8 หลายเดือนก่อน

      As mentioned in the comment, px is easier to make responsive, and Figma does not yet support points, so I wanted to ensure this was in px so everyone could follow along

  • @amanrao9702
    @amanrao9702 5 หลายเดือนก่อน

    Why the multiplier is only 0.8 or 1.2 for calculating line height ????

  • @arthur_adams
    @arthur_adams 8 หลายเดือนก่อน +1

    amazing!

  • @MyOddTv
    @MyOddTv 5 หลายเดือนก่อน +1

    In some way I am super confused because when I read through articles on the web I have always understood that you have H1 followed by a H2 followed by a H3, but then in the examples you showed they have a H2 followed by body which is normal but then followed by a H4 (so from my understanding I thought I would have to either go to a H3 or have a larger body bold to highlight the elements)
    Would you be able to explain this in a little more detail? 🥲

    • @UICollectiveDesign
      @UICollectiveDesign  5 หลายเดือนก่อน +1

      Yeah this is a good call out and just a filming bug. You're correct. Thanks for this! Sometimes these things get lost in filming and reviewing QA.

    • @MyOddTv
      @MyOddTv 5 หลายเดือนก่อน +1

      @@UICollectiveDesign appreciate the clarification! Another follow up question to this would be what is the difference between display text and heading text regarding it in coming in order and CSS naming as I have personally never heard of heading text referred to as display text so I’m not sure how to name it above my H1

    • @UICollectiveDesign
      @UICollectiveDesign  5 หลายเดือนก่อน +1

      ​ @MyOddTv You can swap display for an H tag. I would say whatever if preferrential with your developers they are interchangable.

  • @ahzootube
    @ahzootube 8 หลายเดือนก่อน +1

    14 is almost a must if you are working web dashboard UI's

    • @UICollectiveDesign
      @UICollectiveDesign  8 หลายเดือนก่อน

      Agreed! As someone who designs dashboards all day, it's hard not to use it. Just always need to be cautious.

  • @ytRap007
    @ytRap007 8 หลายเดือนก่อน +1

    great