Repository navigation
fix(website): theme browser text-fragment highlights - #1588
Merged
trueadm merged 1 commit intoOct 2, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
domgan-oai
marked this pull request as ready for review
October 2, 2026 18:10
Contributor
Benchmark report🟢 No size increases and no timing regressions outside noise. Compares js-framework: 1k/10k row operations (ms, lower is better)
All 20 timed operations (19 within noise)
Application bundle size (bytes)No changes across 45 measured values. Public-import reachability bundles (bytes)No changes across 105 measured values. |
5 of 7 tasks
This branch was previously deployed
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
Browser links to highlighted text on the docs, including “Own shared state with a scope” on
/docs/signals, currently use the browser's purple background and black text. Style::target-textwith the existing Octane accent and foreground tokens, retaining the useful highlight with 5.21:1 contrast in both themes.The rule is separate from
::selection, so ordinary selection and heading anchors keep their existing behavior. This is a five-line website CSS change; no package changeset is needed.Validation
pnpm format:check— full repository check not run; scoped check below passed.pnpm typecheck— not run for this CSS-only change.pnpm test— full suite not run locally.pnpm format:files:check website/src/routes/__root.tsrxgit diff --checkpnpm sync— completed with the downloaded pinned tooling; no generated changes.#shared-statenavigation remains unhighlighted. The local fixture disables hydration and disambiguates the duplicate sidebar label, so this is focused CSS evidence rather than a full application build.Risk / follow-ups
A full local website build is unverified: dependency installation is blocked by the configured Socket registry returning HTTP 403 for the existing
@tanstack/[email protected]tarball. No dependency versions or registry policies were changed. Formatting and generation use the already-downloaded, lockfile-pinned tooling.Provenance
agent-authored)Origin: Codex task · Host:
com-79386.Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Note
Low Risk
CSS-only global pseudo-element styling with no auth, data, or runtime logic changes.
Overview
Docs links that jump to highlighted text fragments (browser
:~:text=URLs) no longer show the default purple/black highlight. Global base styles in__root.tsrxnow set::target-textto use--accentand--on-accent, so those highlights match Octane branding in light and dark themes.::selectionis unchanged, so normal text selection and plain hash navigation behave as before.Reviewed by Cursor Bugbot for commit fc38ca8. Bugbot is set up for automated code reviews on this repo. Configure here.