Repository navigation
feat(docs): migrate typography to Bloxwap font 0.1.1 - #49
Merged
Merged
Conversation
86010a7 stripped the playground's Geist @font-face rules from the docs copy but left the SDK chrome (--cts-font / --cts-mono in TOOLBAR_CSS) asking for Geist, so the header, rails, menus and dialogs fell back to system-ui, and only theme.fontFamily was overridden, so the bloxwapDark preset kept the canvas status line, drawing labels and scales on system-ui. - Point .cts-theme --cts-font / --cts-mono at Bloxwap Sans / Mono (doubled class so it outranks the runtime-injected TOOLBAR_CSS). - Override monoFamily and scaleFontFamily with Bloxwap Mono alongside fontFamily, and fail the script if any Geist reference survives. - Stop copying the now-unreferenced Geist woff2 files into chart-demo and require the Bloxwap Mono face in check-export instead. - Copy only the Latin BloxwapSans/BloxwapMono faces with a trimmed stylesheet (13 MB -> 1.3 MB of demo font payload per deploy). - Describe the demo font handling accurately in apps/docs/README.md. Co-Authored-By: Claude Opus 5.5 <[email protected]>
joeblau
force-pushed
the
feat/bloxwap-font
branch
from
October 4, 2026 12:46
25848be to
85adcdf
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.
Summary
This finishes the docs move to
@bloxwap/[email protected], the same migration bloxwap/sfx made in bloxwap/sfx#38 (217eacb). Most of it is already onmainin 86010a7 (Closes #48). That commit pins the package to exactly 0.1.1, swaps in Bloxwap Sans/Mono inlayout.tsx/global.css, keeps Space Grotesk for headings, switches the OG faces to BloxwapSans-Bold/Black, renames the OFL file toBloxwap-OFL.txt, and updates the README notes. This PR adds two follow-ups:fix(docs): finish the Bloxwap font migration in the embedded chart demo. 86010a7 removed the playground's Geist
@font-facerules from the docs copy. The SDK chrome still read'Geist'/'Geist Mono'through--cts-font/--cts-mono, so the header, rails, menus and dialogs fell back to system-ui. Onlytheme.fontFamilywas overridden, so the canvas status line, drawing labels and scales stayed on system-ui as well.prepare-demo.mjsnow:.cts-theme--cts-font/--cts-monoto Bloxwap Sans/Mono;monoFamilyandscaleFontFamilyto Bloxwap Mono;check-export.mjsnow requires the Bloxwap Mono face instead of Geist. The README describes how the demo handles fonts. The standalone playground and the SDK presets still default to Geist/system-ui, as before.chore(docs): align OG Bloxwap Sans TTFs byte-for-byte with bloxwap/sfx. The old copies differed from sfx's only in the
head.modifiedtimestamp and the checksums derived from it. Nothing changes visually.Verification
node monorepo/scripts/check-font-migration.mjs --repos <chart>passed with 0 findings.npm run docs:check(next typegen + tsc --noEmit) passed.npm run docs:buildpassed: 55/55 static pages, "Static export verified: 30 HTML pages, 1607 local links/assets, 25 social cards".--cts-fontresolves to"Bloxwap Sans", system-ui, sans-serifand--cts-monoto"Bloxwap Mono", ui-monospace, monospace.document.fonts.checkreturns true)./og/home.pngand/og/docs/api/chart.pngboth return 200 as 1200x630 PNGs. The home card renders in Bloxwap Sans Bold/Black.🤖 Generated with Claude Code