Skip to content

fix: avoid Google Fonts in dev templates#5664

Open
cyphercodes wants to merge 1 commit into
DioxusLabs:mainfrom
cyphercodes:cyphercodes/5660-remove-dev-google-fonts
Open

fix: avoid Google Fonts in dev templates#5664
cyphercodes wants to merge 1 commit into
DioxusLabs:mainfrom
cyphercodes:cyphercodes/5660-remove-dev-google-fonts

Conversation

@cyphercodes

Copy link
Copy Markdown

Fixes #5660.

This removes the Google Fonts imports from the built-in development HTML templates and switches the dev UI to system font stacks instead. That keeps dx serve from making external font requests for the Dioxus dev overlay/loading page.

Tests:

  • cargo test -p dioxus-cli build::web::tests::dev_templates_do_not_request_google_fonts -- --exact
  • cargo fmt --check
  • git diff --check

@cyphercodes cyphercodes requested a review from a team as a code owner July 3, 2026 16:26
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.

dx serve's dev-mode HTML template hardcodes a Google Fonts request

1 participant