I've been working on a PWA in my spare time. So far, the login screen renders, handles errors, and authenticates you well!

#javascript #pwa

@Fallenstedt Out of curiosity what do all the people using San Francisco as the default typeface on websites and PWAs do on Windows? Segoe?

Also, what are we building here?

@vhbelvadi I usually bundle a desired font with my application, or load it from a CDN, if I want a consistent UI across multiple platforms.

You could bundle the San Francisco font with your app, but then Apple would be upset because that font is intended for distribution through the App Store only 🤫

So... you have two choices. Choose anarchy and let everyone on any platform have access to that font. Or you provide a fallback font like the one you suggested.

@Fallenstedt A part of me didn’t want to believe that sites like Tailwind and Kirby use Segoe on Windows but I suppose that’s reality.

Does Apple’s restriction extend to web browsers as well or can one hypothetically pick up SF from Github and take the @font-face route?

@vhbelvadi I'm not sure how restrictive their policy is, but you can certainly find their fonts on github :)
@Fallenstedt Ahh… wink, wink, I suppose.