@electron-fonts/open-sans
v1.2.0
Published
Open Sans font injector to electron aplications.
Downloads
12
Maintainers
Readme
Electron Fonts
Electron fonts packages provide font archives em electron desktop apps.
How to use
Install the package
On your
preload.js
, add:
import OpenSans from "@electron-fonts/open-sans"
window.addEventListener("DOMContentLoaded", () => {
OpenSans.inject()
})