Skip to content

feat(site): put the docsite on the light kit (RIG-7927) - #66

Merged
mattwilkinsonn merged 2 commits into
mainfrom
accounts/rig-7927-light-kit
Nov 5, 2026
Merged

mattwilkinsonn merged 2 commits into
mainfrom
accounts/rig-7927-light-kit

Conversation

@rigel-mintaka

@rigel-mintaka rigel-mintaka commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Puts the public docsite on the Rigel light kit, using the same theme as the internal docs site.

  • astro.config.mjs: customCss loads fonts.css and custom.css. Code blocks use the bundled github-light theme, with the dark-mode switch off.
  • custom.css: Starlight colors set to the light-kit values, each commented with its kit token. Geist Sans for body text, Geist Mono for code, and Departure Mono for the site title.
  • fonts.css and public/fonts/: the Geist and Departure Mono font files.
  • public/favicon.svg: the kit favicon.

Verification

  • bun run build: complete.
  • bunx biome check site: clean.
  • Checked in headless Chromium on a built page: background #f8f6ef, body text in Geist Sans, site title in Departure Mono, and all five font faces loaded. Page titles, sidebar groups and the search box are readable.

Ledger-impact: none (site theme only; no design record changes)

Refs RIG-7927

Same Starlight theme as the internal docs: Geist Sans and Geist Mono, light-kit
colors, Departure Mono site title, github-light code blocks and the kit favicon.

Co-authored-by: Matt Wilkinson <matt@rigel.build>
@linear-code

linear-code Bot commented Nov 4, 2026

Copy link
Copy Markdown

RIG-7927

@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Rigel public design docs preview: https://accounts-rig-7927-light-kit.docs-2ui.pages.dev

Deployed from accounts/rig-7927-light-kit at e208b9c.

- Banners: --sl-color-bg-accent now uses the dark --accent and
  --sl-color-text-invert uses --accent-on, instead of two light surfaces.
- Controls: --sl-color-gray-5 is the hairline, so control borders stay visible.
- Separators: --sl-color-gray-4 is the control border.

Co-authored-by: Matt Wilkinson <matt@rigel.build>
@rigel-mintaka

rigel-mintaka commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor Author

Agent review record

One all-lens review of this diff and its sibling docsite changes (RIG-7927).

# Sev Finding Disposition
1 medium bg-accent and text-invert were both #fcfbf7, so banners were 1:1 contrast. Fixed: --accent / --accent-on.
2 medium gray-5 matched the surface, so control borders were invisible; gray-4 was faint. Fixed: gray-5 is the hairline, gray-4 is --b-control. Search border verified in Chromium.

Also checked: each hex matches its token; no private-repo references (ref-gate patterns); the fonts and favicon are byte copies.

Dispositions: 2 medium fixed, 0 open

@rigel-mintaka
rigel-mintaka marked this pull request as ready for review November 4, 2026 17:37
@mattwilkinsonn
mattwilkinsonn merged commit 0965ead into main Nov 5, 2026
2 checks passed
@mattwilkinsonn
mattwilkinsonn deleted the accounts/rig-7927-light-kit branch November 5, 2026 06:01
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