Custom fonts for components

  • .targox-1361353445818372336

    Targox

    14 days ago

    Components don't have 'head assets' so there's no way to add a custom font through there.Is there a way to upload and use a custom font directly within a web component (not Google)? Since the component doesn’t inherit styling from the parent website, that’s not an option either. Thanks!
    1
  • Tod-1361353447198298153

    Tod

    14 days ago

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

    Lucas G

    14 days ago

    You can use a custom action
    ❤️1
  • .targox-1361371489315848212

    Targox

    14 days ago

    That works perfectly, thanks, Lucas! I also realized that simply referencing the font name in the custom CSS of the element works as well, since it was already loaded on the parent website. So simple, I just didn’t expect it to work.
    🙌1