USWDS-Site - Font size and family: Add a note linking to the font size tokens - #3262
Open
AKnassa wants to merge 2 commits into
Open
USWDS-Site - Font size and family: Add a note linking to the font size tokens#3262AKnassa wants to merge 2 commits into
AKnassa wants to merge 2 commits into
Conversation
Readers couldn't find the actual sizes available for each font size token from the Font size and family utility page. Add a note at the top of the examples linking to the font size tokens reference, per the maintainer's suggested fix in the issue, plus a changelog entry (PR number backfilled later). Fixes uswds#824
AKnassa
marked this pull request as ready for review
July 19, 2026 01:33
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.
Summary
Added a note to the top of the Font size and family utility page pointing readers to the font size tokens page, where the actual size of every token is listed.
Related issue
Closes #824
Problem statement
A reader trying to find the actual font sizes available (for Public Sans) couldn't work them out from the Font size and family utility page — the page shows the utility classes but never points to where the real sizes live. A maintainer suggested the fix in the issue: the page "just needs a better note and link to the font size token page."
Solution
Added a short note at the top of the utility examples — styled exactly like the page's existing notes — saying the utilities are built from USWDS font size tokens and linking "font size tokens" to the token reference page, where each token's output size in each typeface is listed. That's the page the original reporter eventually found the answer on.
A changelog entry is included in the page's "Latest updates."
Testing and review
bundle exec rspecpasses (10 examples, 0 failures).