Skip to content

Improve font family with add lang attr#3718

Merged
sorah merged 16 commits into
ruby:masterfrom
liberaldev:improve-font-family-with-lang-attr
Dec 23, 2025
Merged

Improve font family with add lang attr#3718
sorah merged 16 commits into
ruby:masterfrom
liberaldev:improve-font-family-with-lang-attr

Conversation

@liberaldev

@liberaldev liberaldev commented Dec 22, 2025

Copy link
Copy Markdown
Contributor

I added appropriate lang attributes based on language, adjusted the font-family accordingly, and removed system-ui from the font-family to eliminate a factor that reduces readability in CJK environments.

note: https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/font-family#system-ui

@liberaldev liberaldev requested a review from a team as a code owner December 22, 2025 07:10

@sorah sorah left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi, I agree that lang attribute is important for rendering CJK text correctly especially on user agents set non-CJKs. 1 minor comment.

Comment thread _layouts/root.html Outdated
@liberaldev liberaldev requested a review from sorah December 22, 2025 12:28
@sorah sorah merged commit a66d48a into ruby:master Dec 23, 2025
1 check passed
@sorah

sorah commented Dec 23, 2025

Copy link
Copy Markdown
Member

thanks!

@liberaldev liberaldev deleted the improve-font-family-with-lang-attr branch December 24, 2025 14:14
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.

2 participants