Skip to content

Fix Bunny font loading - #278

Merged
benfoxall merged 3 commits into
mainfrom
copilot/fix-font-issues-in-chrome
Sep 22, 2026
Merged

benfoxall merged 3 commits into
mainfrom
copilot/fix-font-issues-in-chrome

Conversation

Copilot AI commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

Load Inter and Space Mono from Bunny as separate imports. Update CSP to allow Bunny font/style origins only.

Copilot AI and others added 2 commits September 22, 2026 07:35
Co-authored-by: benfoxall <51385+benfoxall@users.noreply.github.com>
Co-authored-by: benfoxall <51385+benfoxall@users.noreply.github.com>
Co-authored-by: benfoxall <51385+benfoxall@users.noreply.github.com>
@benfoxall

Copy link
Copy Markdown
Member

"Space Mono" font wasn't loading when we switched to bunny fonts:

image

It was because bunny fonts don't support multiple families in the same request:

https://fonts.bunny.net/css2?family=Inter:wght@400;600&family=Space+Mono:wght@400&display=swap -> only loads Inter

@benfoxall benfoxall changed the title Fix Chrome font regression by switching webfont source and aligning CSP Fix Bunny font loading Sep 22, 2026
@benfoxall
benfoxall marked this pull request as ready for review September 22, 2026 07:58
@benfoxall
benfoxall merged commit 2d7130d into main Sep 22, 2026
1 check passed
@benfoxall
benfoxall deleted the copilot/fix-font-issues-in-chrome branch September 22, 2026 07:59
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.

2 participants