Skip to content
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

Use the System/Browser font by default #988

Merged
merged 1 commit into from
Feb 23, 2023
Merged

Use the System/Browser font by default #988

merged 1 commit into from
Feb 23, 2023

Conversation

HeySora
Copy link

@HeySora HeySora commented Feb 23, 2023

Currently, SnappyMail defaults to Verdana, which makes the actual "Verdana" setting irrelevant. Same goes for Serif and Monospace fonts.
This PR makes the system-wide/browser-wide default fonts be used when the font is not configured in SnappyMail, in a similar fashion than what GitHub and many other websites are already doing.

This will respect the user's browser settings, matching by default their Operating System's font.
This PR also improves accessibility, as anyone who changed their browser font to something more legible (e.g. Atkinson Hyperlegible or Opendyslexia users) will actually see that change in SnappyMail.

@the-djmaze the-djmaze merged commit 9fa145d into the-djmaze:master Feb 23, 2023
the-djmaze pushed a commit that referenced this pull request Feb 23, 2023
@HeySora HeySora deleted the system-font branch February 24, 2023 22:11
@the-djmaze the-djmaze added the enhancement New feature or request label Dec 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants