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

feat(core): improve font monospace list #619

Merged
merged 1 commit into from
Apr 28, 2021
Merged

feat(core): improve font monospace list #619

merged 1 commit into from
Apr 28, 2021

Conversation

rabelloo
Copy link
Contributor

Purpose

When "Roboto Mono" is not available, the default monospace font in Chrome/MacOS is Courier, which is a serif font and looks nothing like Roboto.

So, this improves the monospace list in case "Roboto Mono" isn't available.

Approach

Add Consolas for Windows and Menlo for MacOS.

Testing

Use monospace font helpers but don't provide "Roboto Mono".

Risks

None.

@rabelloo rabelloo requested a review from josokinas April 27, 2021 09:42
@rabelloo rabelloo self-assigned this Apr 27, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Apr 27, 2021

🎊 PR Preview ef5aaad has been successfully built and deployed to https://onfido-castor-preview-pr-619.surge.sh

🕐 Build time: 142.298s

🤖 By surge-preview

Copy link
Contributor

@josokinas josokinas left a comment

Choose a reason for hiding this comment

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

@rabelloo rabelloo requested a review from Subcide April 27, 2021 13:05
@rabelloo rabelloo merged commit 59d9801 into main Apr 28, 2021
@rabelloo rabelloo deleted the feat/font branch April 28, 2021 14:51
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