Replies: 1 comment
-
Fonts must be loaded in the global scope so this can't be fully encapsulated inside an element. That said, it's possible to have an element inject a font using the technique shown here (just make sure to put the sheet in the document). If you do it this way, the code should be included with your element so as long as you're building that it'll work. Hope that helps. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How to add a custom font with
lit
and how can I ensure it is included in the build process ?Beta Was this translation helpful? Give feedback.
All reactions