[docs] Consolidate to flex versions of Google Sans fonts#13518
Merged
Conversation
Collaborator
|
Staged preview of the updated docs.flutter.dev site (updated for commit 18d946b): https://flutter-docs-prod--docs-pr13518-feat-docs-simplify-fon-s8oq80pp.web.app |
Collaborator
|
Staged preview of the updated flutter.dev site (updated for commit 18d946b): https://flutter-dev-230821--www-pr13518-feat-docs-simplify-fon-t05qv5g7.web.app |
This was referenced Jun 18, 2026
parlough
added a commit
that referenced
this pull request
Jun 18, 2026
Corresponds to #13518, updating the marketing site to use fonts consistent with the docs site. These Google Sans Flex and Code fonts are publicly available and support variable axes. This increases consistency across the sites and enables compliant use of the same fonts on forked/translated sites. - Updates CSS properties to be focused on use case not the value. - Replaces manual font-weights to use one of the updated CSS properties. - Converts uses of Google Sans and Roboto to Google Sans Flex. - Converts uses of Roboto Mono to Google Sans Code. - Enables swap on the fonts so font fetching and loading doesn't block initial page rendering. - Combines the requests into a singular request for slightly faster font loading.
conooi
pushed a commit
to dart-lang/site-www
that referenced
this pull request
Jun 18, 2026
Corresponds to flutter/website#13518, updating the Dart site to use newer fonts, consistent with the Flutter docs site. These Google Sans Flex and Code fonts are publicly available and support variable axes. This increases consistency across the sites and enables compliant use of the same fonts on forked/translated sites. - Replaces many manual font-weights to use one of the updated CSS properties. - Converts uses of Google Sans and Google Sans Text to Google Sans Flex. - Converts uses of Google Sans Mono to Google Sans Code. - Combines some of the requests for slightly faster font loading. - Switches the blog from Noto Serif to Roboto Serif to be more consistent with the nearby sans serif fonts.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Consolidate use of the original Google Sans fonts with the newer, publicly available ones that support variable axes. This increases consistency across the site and enables compliant use of the same fonts on forked sites.
Marketing site fonts were also updated to these in #13519.