Skip to content

[www] Standardize and consolidate font setup#13519

Merged
parlough merged 1 commit into
mainfrom
feat/www-simplify-font-setup
Jun 18, 2026
Merged

[www] Standardize and consolidate font setup#13519
parlough merged 1 commit into
mainfrom
feat/www-simplify-font-setup

Conversation

@parlough

@parlough parlough commented Jun 18, 2026

Copy link
Copy Markdown
Member

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.

@parlough parlough requested review from a team and abdallahshaban557 as code owners June 18, 2026 13:45
gemini-code-assist[bot]

This comment was marked as resolved.

@flutter-website-bot

Copy link
Copy Markdown
Collaborator

Staged preview of the updated docs.flutter.dev site (updated for commit da16d27):

https://flutter-docs-prod--docs-pr13519-feat-www-simplify-font-havcmfpc.web.app

@flutter-website-bot

Copy link
Copy Markdown
Collaborator

Staged preview of the updated flutter.dev site (updated for commit da16d27):

https://flutter-dev-230821--www-pr13519-feat-www-simplify-font-951zobpq.web.app

@abdallahshaban557 abdallahshaban557 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.

LGTM

@parlough parlough merged commit 8a890a6 into main Jun 18, 2026
14 checks passed
@parlough parlough deleted the feat/www-simplify-font-setup branch June 18, 2026 15:47
sfshaza2 pushed a commit that referenced this pull request Jun 18, 2026
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.
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.

3 participants