Is it possible to include and automatically install custom fonts as part of a theme?

I have a new theme I’m working on, but obviously the font doesn’t automatically transfer between devices when syncing the CSS. Is there a way to do this?

Yes, just include them as a base64 encoded data URL:


Thanks, this worked a treat. Ended up using this site to convert my font to Base64 for anyone else searching in the future: