Skip to content

Added system-ui to the system font stack#39

Merged
aeschli merged 1 commit into
microsoft:mainfrom
samhenrigold:main
Apr 29, 2022
Merged

Added system-ui to the system font stack#39
aeschli merged 1 commit into
microsoft:mainfrom
samhenrigold:main

Conversation

@samhenrigold

Copy link
Copy Markdown
Contributor

A web developer on Twitter pointed out the snippet for system fonts is outdated.

Chrome and Safari have the system-ui keyword, a more modern way of writing “-apple-system, BlinkMacSystemFont". It was added to Chrome in 2016 and Safari in 2017 and has ~96% support according to CIU.

Chrome and Safari have the [system-ui](https://caniuse.com/font-family-system-ui) keyword, a more modern way of writing “-apple-system, BlinkMacSystemFont". It was added to Chrome in 2016 and Safari in 2017.
@aeschli aeschli merged commit 13fef37 into microsoft:main Apr 29, 2022
@aeschli

aeschli commented Apr 29, 2022

Copy link
Copy Markdown
Contributor

Thanks @samhenrigold !

@aeschli aeschli added this to the May 2022 milestone Apr 29, 2022
@aeschli aeschli self-assigned this Apr 29, 2022
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