Migrate to Tailwind default font weight classes#1963
Merged
Conversation
kmcginnes
marked this pull request as ready for review
July 16, 2026 20:57
Replace custom fontWeight overrides with Tailwind's standard scale: - font-base (400) → font-normal - font-bold (600) → font-semibold - font-extraBold (700) → font-bold Delete the fontWeight block from tailwind.config.ts, restoring the full default weight scale. Zero visual change — the rendered CSS weight values are identical.
kmcginnes
force-pushed
the
font-weight-migration
branch
from
July 16, 2026 21:01
efd4809 to
0a99122
Compare
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.
Description
Removes the custom
fontWeightoverride fromtailwind.config.tsand migrates all class usages to Tailwind's standard weight vocabulary. Zero visual change — the rendered CSS weight values are identical.font-basefont-normalfont-boldfont-semiboldfont-extraBoldfont-boldfont-light(300) andfont-medium(500) already matched their Tailwind defaults and required no change.This restores the full default weight scale (
thin/extralight/light/normal/medium/semibold/bold/extrabold/black) for future use, and removes one more piece of JS config ahead of the full config file deletion (#1954).How to read
fontWeightblock deletion@apply font-bold→font-semiboldon the<b>elementfont-base→font-normal,font-bold→font-semiboldclass renamesValidation
pnpm checkspassespnpm testpasses (2178 tests)Related Issues
Check List
pnpm checkspasses with no errors.pnpm testpasses with no failures.