Ayu

Results 247 comments of Ayu

I'm happy to accept a quick PR for this if it leaves the same behaviour for all Material Icon packages though. It's not breaking change for other icon packages.

https://github.com/fontsource/fontsource/blob/main/scripts/generic/generic-packager.ts#L122 Only this if statement needs to be changed for reference.

At this point, we're looking to completely redo our Sass implementation and prep it for our upcoming major release. There has been some work done for it in the [past](https://github.com/fontsource/fontsource/discussions/384)...

I'd assume we'd have to create our own React Helmet component and ship them with each package? Simply pass in values such as the weight etc. We'd then be able...

Here's a barebones simple draft of the React Helmet Component I had in mind that we could export with each package. The props arrangement will likely be different, but the...

@albv, thank you for the suggestion. Quite frankly, I think this should be the proper step forward rather than be treated as a 'workaround'. I think it'd be fair to...

> I ended up doing everything myself. While the fontsource package is pretty neat, preloading and `font-display` are somewhat inflexible, or at least hard to implement Hopefully, #234 addresses some...

> But the preloading issue remains unresolved, as it currently requires a loader to be configured (webpack/next config), and further steps, to preload the correct file/url. If the outdir is...

> Until now, I wasn't able to make it work properly, and I haven't found a working example, based on a newer next.js version :/ I meant for when #234...

@schwigri [Fontsource](https://github.com/DecliningLotus/fontsource) automatically updates itself with Google Fonts weekly. It has Jost.