Skip to content

fix(docs): keep the current sidebar label readable - #436

Merged
jack-arturo merged 1 commit into
mainfrom
fix/docs-sidebar-highlight
Oct 26, 2026
Merged

jack-arturo merged 1 commit into
mainfrom
fix/docs-sidebar-highlight

Conversation

@jack-arturo

Copy link
Copy Markdown
Member

Summary

  • The docs sidebar current-page chip now uses the same gold fill and dark label as the Install button, in light and dark mode.
  • Starlight was filling that chip with the accent text color and labeling it with --sl-color-text-invert, which resolves to an 18% gold wash in dark mode, so the active label disappeared. In light mode the fill was the dark amber meant for body text, so the chip looked brown.
  • The top-nav active item no longer also carries text-lab-muted. That utility is generated later and was winning, so Docs stayed gray on docs pages.

Implementation harness: Cursor (Grok)
GitHub identity: Jack Arturo (local git author)

Test plan

  • node --test tests/site-theme.test.mjs
  • Local Codex review of the branch (clean)
  • Browser check on /docs/overview/ and /docs/operations/troubleshooting/ in light and dark, including the mobile docs menu: current item is dark text on gold (about 13:1 dark, 10:1 light)
  • CI on this PR

Starlight filled the active docs link with accent ink and labeled it with a faint gold wash, so dark mode hid the text and light mode showed a brown chip. The top-nav active item also lost to the later muted utility.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-26T16:36:47.771800Z 41fa1f5 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@jack-arturo jack-arturo added babysit:active Babysit agent is actively working this PR babysit:waiting-codex 👀 Codex reviewing current head and removed babysit:active Babysit agent is actively working this PR labels Oct 26, 2026
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying automem-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 41fa1f5
Status: ✅  Deploy successful!
Preview URL: https://a0febdef.automem-website.pages.dev
Branch Preview URL: https://fix-docs-sidebar-highlight.automem-website.pages.dev

View logs

@jack-arturo jack-arturo added babysit:waiting-ci Babysit waiting for CI checks on current head babysit:ready 👍 Codex all clear + gates pass; human may merge and removed babysit:waiting-codex 👀 Codex reviewing current head babysit:waiting-ci Babysit waiting for CI checks on current head labels Oct 26, 2026
@jack-arturo

Copy link
Copy Markdown
Member Author

Verified green at 41fa1f57d69c1e3ced68aa4180b42637ac6ec463.

Codex signed off this head with 👍 (reaction channel; review state completed, no findings). Required checks Build and semantic-pr-title passed, and the Cloudflare Pages check passed. The PR is mergeable. No merge was performed.

Implementation harness: Cursor (Grok)

@jack-arturo
jack-arturo added this pull request to the merge queue Oct 26, 2026
Merged via the queue into main with commit 3852dc2 Oct 26, 2026
4 checks passed
@jack-arturo
jack-arturo deleted the fix/docs-sidebar-highlight branch October 26, 2026 16:42
@autohub-claude autohub-claude Bot removed the babysit:ready 👍 Codex all clear + gates pass; human may merge label Nov 6, 2026
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