Skip to content

Change Roboto to system-ui - #68

Merged
danbee merged 3 commits into
mainfrom
use-system-ui-instead-of-roboto
Jan 3, 2024
Merged

Change Roboto to system-ui#68
danbee merged 3 commits into
mainfrom
use-system-ui-instead-of-roboto

Conversation

@danbee

@danbee danbee commented Dec 21, 2023

Copy link
Copy Markdown
Collaborator

This means that we're no longer loading a web font as the default font. This reduces remote dependencies and overall bandwidth of a page.

Different platforms will get slightly different fonts, with iOS and macOS getting San Francisco, Windows getting Segue UI, and Android getting Roboto. These fonts fit the platforms better and have similar metrics and appearance to Roboto.

This also means that if a site loads a custom font, they're only loading the custom font and not Roboto as well.

@danbee
danbee requested a review from jadefish December 21, 2023 20:26

@jadefish jadefish left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is a huge diff for a small change – did something with bundle generation change?

@danbee

danbee commented Jan 2, 2024

Copy link
Copy Markdown
Collaborator Author

@jadefish Yeah, it looks like the way the output CSS is formatted has changed. This should probably be rolled into the SCSS build PR.

Base automatically changed from fix-scss-build-process to main January 2, 2024 20:20
Dan Barber added 3 commits January 2, 2024 14:39
This means that we're no longer loading a web font as the default font.
This reduces remote dependencies and overall bandwidth of a page.
@danbee
danbee force-pushed the use-system-ui-instead-of-roboto branch from 6fefa47 to 5dfd7a0 Compare January 2, 2024 20:40
Comment thread views/mdc/assets/scss/material.blue_grey-orange.min.css
@danbee
danbee merged commit eb17479 into main Jan 3, 2024
@danbee
danbee deleted the use-system-ui-instead-of-roboto branch January 3, 2024 17:57
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