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

Define default font stack #772

Open
hedgefield opened this issue Oct 31, 2018 · 0 comments
Open

Define default font stack #772

hedgefield opened this issue Oct 31, 2018 · 0 comments

Comments

@hedgefield
Copy link

To standardize the use of fonts in our components, we should add a default font stack. It should not contain very many custom fonts, definitely not as the first choice, so we're using the same font stack that WordPress uses. You can read more about it here, including best practices.

It renders the default system font on Mac, which is San Francisco, then falls back to Segoe UI, the default Windows font, and so on through some other fallbacks for Android, Linux etc.

font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;

Prompted by Yoast/wordpress-seo#11398 (comment) and also fixes #582

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

No branches or pull requests

1 participant