Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ $ uv add gp-sphinx --prerelease allow

### Bug fixes

- Load font weight 300 for IBM Plex Sans and IBM Plex Mono
([Furo](https://github.com/pradyunsg/furo) and sphinx-design use
`font-weight: 300` for lighter text, but the weight was never loaded,
causing browsers to synthesize a light variant)
- Load full weight range `[300, 400, 500, 600, 700]` for both IBM Plex
Sans and IBM Plex Mono (badges render in monospace at `font-weight: 700`,
Furo code blocks use 300, and intermediate weights inherit from
surrounding context — previously only Sans had the full set)
- Replace `font-weight: 650` with `700` in badge CSS across
`sphinx-autodoc-pytest-fixtures`, `sphinx-gptheme`, and docs (650 is not
a standard Fontsource weight, so browsers were synthesizing bold instead
Expand Down
2 changes: 1 addition & 1 deletion packages/gp-sphinx/src/gp_sphinx/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ class FontConfig(_FontConfigRequired, total=False):
"family": "IBM Plex Mono",
"package": "@fontsource/ibm-plex-mono",
"version": "5.2.7",
"weights": [300, 400],
"weights": [300, 400, 500, 600, 700],
"styles": ["normal", "italic"],
"subset": "latin",
},
Expand Down