Skip to content

Add Google-hosted font tutorial #1311

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

sfc-gh-dmatthews
Copy link
Contributor

📚 Context

Add tutorial on how to find and use the URL for Google hosted font and declare a built-in fallback.

Contribution License Agreement
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

@sfc-gh-dmatthews sfc-gh-dmatthews requested a review from a team as a code owner July 18, 2025 04:40
@sfc-gh-dmatthews sfc-gh-dmatthews requested review from jrieke, Copilot and sfc-gh-mfaulkner and removed request for a team July 18, 2025 04:40
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a comprehensive tutorial on using externally hosted fonts (specifically Google Fonts) in Streamlit applications with built-in fallbacks. The tutorial demonstrates how to find Google font URLs, configure them in Streamlit's config.toml, and implement fallback fonts.

  • Adds a new external fonts tutorial with step-by-step instructions for using Google-hosted fonts
  • Updates existing font tutorials to use consistent Markdown formatting syntax
  • Integrates the new tutorial into the site navigation and cross-references

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
content/menu.md Adds navigation entry for the new external fonts tutorial
content/develop/tutorials/theming/external-fonts.md Creates comprehensive tutorial on using Google-hosted fonts with fallbacks
content/develop/tutorials/theming/_index.md Adds reference card for the new external fonts tutorial
content/develop/concepts/configuration/theming-fonts.md Updates example to use Google-hosted fonts and improves fallback explanation
content/develop/tutorials/theming/variable-fonts.md Standardizes Markdown formatting for text styling examples
content/develop/tutorials/theming/static-fonts.md Standardizes Markdown formatting for text styling examples

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.

1 participant