Skip to content

feat(docs): revamp site with Starlight 0.39 re-skin and landing page#27

Draft
aminevg wants to merge 1 commit into
mainfrom
worktree-revamp-docs
Draft

feat(docs): revamp site with Starlight 0.39 re-skin and landing page#27
aminevg wants to merge 1 commit into
mainfrom
worktree-revamp-docs

Conversation

@aminevg

@aminevg aminevg commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Summary

Port the approved prototype redesign into the docs site as a CSS-first re-skin on stock Starlight 0.39. The brand is expressed by remapping Starlight's own design tokens plus Expressive Code config — no component overrides beyond the net-new landing pieces. Neutrals stay on Starlight's stock hue-224 palette, which already matched the prototype.

Changes

  • Upgrade @astrojs/starlight 0.38 → 0.39 and migrate autogenerated sidebar groups to the new items[] shape.
  • Add Fraunces (Fontsource variable) as the display typeface; remap the accent to indigo in both themes (light indigo verified at ~6.9:1 on white, WCAG AA).
  • Theme the note aside, FileTree highlight pill, install tabs, TOC, sidebar-current entry, and Expressive Code frames through tokens / styleOverrides.
  • Add a landing page — hero emblem with glow-ring, two code cards, feature CardGrid, and an install block — with new CodeCard, CodeCards, HonoLogo, and AstroLogo components.
  • Landing code samples use the current @gomighty/hono API (mighty() middleware + c.render({ component, props })).

Notes

  • The throwaway prototype *.html files in the repo root are intentionally left uncommitted.
  • Out of scope: guides/backend-adapters/hono.mdx still documents a stale startServer/render/share API (pre-existing) — worth a follow-up.

Port the approved prototype redesign into the docs site as a CSS-first
re-skin on stock Starlight — the brand is expressed by remapping
Starlight's own design tokens plus Expressive Code config, with no
component overrides beyond the net-new landing pieces.

- Upgrade @astrojs/starlight 0.38 -> 0.39 (migrate autogenerated sidebar
  groups to the new items[] shape)
- Add Fraunces (Fontsource variable) as the display typeface, remap the
  accent to indigo in both themes, and theme asides, file tree, tabs,
  TOC, sidebar, and code frames through tokens
- Add a landing page: hero emblem with glow-ring, two code cards, a
  feature CardGrid, and an install block, plus new CodeCard, CodeCards,
  HonoLogo, and AstroLogo components

The landing code samples use the current @gomighty/hono API
(mighty() middleware + c.render({ component, props })).
@vercel

vercel Bot commented Jun 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
go-mighty Ready Ready Preview, Comment Jun 5, 2026 5:20am

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