Global font?

  • dark.yelllw-1327337780182778037

    Dark Yellow

    3 months ago

    Is there a way to set global fonts? For the whole project instead of per page?
  • dark.yelllw-1328494317689507915

    Dark Yellow

    3 months ago

    admin Team toddle
  • Tod-1328494319643922513

    Tod

    3 months ago

    Great energy @Dark Yellow! Your continuous contribution to the toddle Community just made you advance to Community Level 1!
  • lucasg-1328521375928942734

    Lucas G

    3 months ago

    No
  • Setting things at page level is the highest level you can set right now
    🥲1
  • needtheanswers-1328585352524595220

    needtheanswers

    3 months ago

    Not sure if that was a good idea but for that reason I have a text component
  • dark.yelllw-1328780116297519125

    Dark Yellow

    3 months ago

    Sounds like a bad idea @needtheanswers how do u do it for a WHOLE site
  • needtheanswers-1328784658422304768

    needtheanswers

    3 months ago

    @Dark Yellow Actually it´s working fine for me (at least for now lol). The component has attributes including pre defined sizes for h1,h2, etc.that change on mobile. Also all of my text looks the same now and I don´t set a font weight of 400 here and a font weight of 500 there as I did before. Before creating the component I got really frustrated by having to manually set up things like line clamp now I just set the attribute for that to true when I need it
    1328784658166448209-image.png
  • needtheanswers-1328785421144031312

    needtheanswers

    3 months ago

    it really saves me a lot of work. Also if I want to change the font I only have to do that once and don´t need to go to every page and component
    1328785420808618144-image.png
  • lucasg-1328797169892982935

    Lucas G

    3 months ago

    Does it actually display an H1 tag here or just update the size
  • lucasg-1328797506506592380

    Lucas G

    3 months ago

    Also, if we just set the font on the top element of a page, the entire page will use that font and we only have to set it in one place
  • needtheanswers-1328798084309975132

    needtheanswers

    3 months ago

    It just updates the size. Should I change the name in this case?
  • lucasg-1328798247355154432

    Lucas G

    3 months ago

    Oh the naming is not an issue per se
  • Since it’s for your attribute. But for semantic HTML, you’ll want things to have appropriate tags whenever possible
  • Otherwise it’s just all paragraphs/spans
  • lucasg-1328798749786509322

    Lucas G

    3 months ago

    Important if you care about SEO or even a11y stuff
  • needtheanswers-1328798937565626511

    needtheanswers

    3 months ago

    Noted! Thank you Lucas 🙂
    👍1

Stop scrolling. Start building.

toddle is a visual web app builder that rivals custom code — but accessible to your entire team!

Try toddle — it's free!

© Copyright 2024 toddle. All rights reserved.