Skip to content

style(docs): dark Open Graph cards matching bloxwap/sfx - #47

Merged
joeblau merged 1 commit into
mainfrom
style/og-dark-cards
Sep 30, 2026
Merged

joeblau merged 1 commit into
mainfrom
style/og-dark-cards

Conversation

@joeblau

@joeblau joeblau commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

What

The docs site's social cards now use the site's dark theme and the same structure as the bloxwap/sfx cards.

  • Look: a #0a0a0a canvas with text in the site's --foreground and --muted-foreground grays. The title shows "bloxwap/" in gray and chart in Nunito Black, above a bold muted description. The green mark is 200px, and a weighted brand-color bar runs along the bottom.
  • Home card stats row: each stat has an icon: 20 Indicators · 89 Drawing tools · 0 Dependencies · v0.3.0 Latest. The counts come from BUILTIN_INDICATORS and BUILTIN_DRAWINGS. The dependency count and version come from packages/chart/package.json, so the row updates itself.
  • Page cards: they show the page title in Nunito Black, and "bloxwap/chart · Guides" (or "API reference") with a book icon at the bottom.
  • Cleanup: removed fonts/Nunito-Regular.ttf, which only the old card used, and updated the docs and fonts READMEs.

Testing

  • Rendered /og/home.png, /og/docs/api/chart.png and /og/docs/guides/header.png from the dev server. The header guide has the longest title and description of any page, and nothing overflows.
  • npm run docs:check passes.

🤖 Generated with Claude Code

- Social cards switch to the site's dark theme and the bloxwap/sfx card
  structure: Bloxwap black canvas, gray "bloxwap/" with a Nunito Black
  repo name, bold muted description, 200px mark, weighted brand bar
- Home card shows a stats row with icons: built-in indicator and
  drawing-tool counts read from the library, plus dependency count and
  version from packages/chart/package.json
- Page cards show "bloxwap/chart · <section>" along the bottom
- Drop the Nunito Regular TTF only the old card used; README updates

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@joeblau
joeblau merged commit 8c71c71 into main Sep 30, 2026
3 checks passed
@joeblau
joeblau deleted the style/og-dark-cards branch September 30, 2026 16:14
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.

1 participant