-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve font stack on Windows (#1573)
* Use `Segoe UI Variable Text` * Add `Yu Gothic` * Create dirty-bikes-play.md * Lint * Use `Meiryo` instead of `Yu Gothic` * Add note about Meiryo * Update .changeset/dirty-bikes-play.md Co-authored-by: Jon Rohan <[email protected]> * Update .changeset/dirty-bikes-play.md Co-authored-by: Jon Rohan <[email protected]> Co-authored-by: Jon Rohan <[email protected]>
- Loading branch information
Showing
2 changed files
with
16 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
"@primer/css": minor | ||
--- | ||
|
||
Improve the font stack on Windows | ||
|
||
- `Segoe UI Variable` -> `Segoe UI Variable Text`. | ||
- "Segoe UI Variable Text" seems to be the better option for a lot of text (markdown). In the future we might can consider having a UI and a "text" font stack. | ||
- Add `Meiryo` before `system-ui`. | ||
- This should have the effect that the browser will use `Meiryo` instead of `Yu Gothic UI` and should improve font rendering, especially for Japanese. | ||
- Note: In an earlier version, `Yu Gothic` was used. But with great [feedback](https://twitter.com/448jp/status/1435087523185758212) from @448jp and @hiloki https://github.com/primer/css/pull/1573#issuecomment-913973890 it seems `Meiryo` is the better default. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters