Global font?

  • Dark Yellow

    4 days ago

    Is there a way to set global fonts? For the whole project instead of per page?
  • Dark Yellow

    1 day ago

    admin Team toddle
  • Tod

    1 day ago

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

    1 day ago

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

    1 day ago

    Not sure if that was a good idea but for that reason I have a text component
  • Dark Yellow

    19 hours ago

    Sounds like a bad idea @needtheanswers how do u do it for a WHOLE site
  • /attachments/1327337780182778037/1328784658166448209/image.png

    needtheanswers

    19 hours 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
    image.png
  • /attachments/1327337780182778037/1328785420808618144/image.png

    needtheanswers

    19 hours 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
    image.png
  • Lucas G

    18 hours ago

    Does it actually display an H1 tag here or just update the size
  • Lucas G

    18 hours 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

    18 hours ago

    It just updates the size. Should I change the name in this case?
  • Lucas G

    18 hours 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
  • Lucas G

    18 hours ago

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

    18 hours 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.