Skip to content

Match monospace font with main font #3902

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

Merged
merged 1 commit into from
Sep 9, 2021
Merged

Match monospace font with main font #3902

merged 1 commit into from
Sep 9, 2021

Conversation

lunacookies
Copy link
Contributor

@lunacookies lunacookies commented Sep 8, 2021

Since Fira Sans is used across crates.io, it makes sense to use Fira Mono for monospaced text to increase consistency. After Fira Mono there is now ui-monospace in the font stack, which renders as SF Mono on Safari without having to manually install SF Mono. ui-monospace is part of the CSS Fonts Module Level 4 draft.

@rust-highfive
Copy link

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @smarnach (or someone else) soon.

Please see the contribution instructions for more information.

@Turbo87 Turbo87 added A-frontend 🐹 C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works labels Sep 8, 2021
Since Fira Sans is used across crates.io, it makes sense to use
Fira Mono for monospaced text to increase consistency. After Fira Mono
there is now `ui-monospace` in the font stack, which renders as
SF Mono on macOS Safari without having to manually install SF Mono.
`ui-monospace` is part of the CSS Fonts Module Level 4 draft:
https://www.w3.org/TR/css-fonts-4/#ui-monospace-def.
@Turbo87
Copy link
Member

Turbo87 commented Sep 9, 2021

LGTM! 👍

@bors r+

@bors
Copy link
Contributor

bors commented Sep 9, 2021

📌 Commit 8740eea has been approved by Turbo87

@bors
Copy link
Contributor

bors commented Sep 9, 2021

⌛ Testing commit 8740eea with merge e308902...

@bors
Copy link
Contributor

bors commented Sep 9, 2021

☀️ Test successful - checks-actions
Approved by: Turbo87
Pushing e308902 to master...

@bors bors merged commit e308902 into rust-lang:master Sep 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-frontend 🐹 C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants