-
Notifications
You must be signed in to change notification settings - Fork 3
feat: replace Noto Sans with Josefin Sans as primary font #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Import Josefin Sans from Google Fonts - Update font family tokens to use Josefin Sans - Apply Josefin Sans to all body text elements - Preserve monospace fonts for code blocks
r0ssing
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! I really like the distinctive new look!
One thing we could consider: it might be better to serve fonts directly from our server rather than via the Google Fonts API. Loading from Google means that each visitor’s browser sends a request to Google that includes their IP address, browser/device info, the font requested, and the URL of our site, so Google can infer that someone visited our website. Self-hosting the fonts avoids sending this data.
Bahati308
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is dope !
|
Aaah! Thanks @r0ssing and I think I have understood your point,
|
|
That would be a great solution! |
|
Hi @r0ssing, I've implemented the self-hosting approach. Here's what I did:
The fonts are now self-hosted and the visual appearance remains exactly the same. No more external requests to Google Fonts, so visitor data is no longer sent to Google. The implementation uses WOFF2 format for optimal performance and file size. All font weights are properly configured to match the previous setup. Thanks for the suggestion! This is definitely a better approach for privacy. 🎉 |
|
Looks great! Thanks a lot for this! |
Josefin Sans vs Noto Sans
Josefin Sans advantages:
Noto Sans characteristics:
Changes made:
Screenshots:
Before:

After:

Bottom line: Josefin Sans gives our site a more unique, modern look while staying readable. Noto Sans is more universal but less distinctive.
If there are any suggestions of font styles we can use or keeping the current style, I am open to suggestions!
cc @Bahati308 @r0ssing @Ndacyayisenga-droid