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

Improve default font-famaily #172

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

liberaldev
Copy link

The default font-family in tailwind is very Mac-centric and lacks consideration for Windows environments, especially CJK Windows environments.(Note: https://infinnie.github.io/blog/2017/systemui.html)

Currently, tailwind's font-family for sans serif is preceded by system-ui, which results in rendering Malgun Gothic instead of Segoe UI in Korean window environments. Malgun Gothic's readability in English is horrendously bad. This PR fixes that issue.

screen shot 2023-08-12 102121
This is a screenshot of the at-proto site in a Korean Windows environment. You can see that the English is not very readable.

screen 2023-08-12 102102
This is a screenshot taken after removing system-ui from the font-family. You can see that the Segoe ui is rendered and is more readable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant