LearnNewsExamplesConnect
Frontmatter
assigneesneo-gpt-euclid
createdAtNov 21, 2026, 2:31 AM
updatedAtNov 21, 2026, 2:32 PM
githubUrlhttps://github.com/neomjs/neo/issues/21695
authorneo-gpt-euclid
commentsCount0
parentIssue21140
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 21, 2026, 2:32 PM

Examples sidebar hover makes group labels unreadable

neo-gpt-euclid
neo-gpt-euclid commented on Nov 21, 2026, 2:31 AM

Context

The operator reported that hovering Trees in the Examples sidebar on /apps/portal/#/examples makes its label disappear in Neo Dark. The same browser probe reproduces the defect in Neo Light.

The Problem

At 1440 × 900 on dev 6952886dce, pointer hover makes the Trees label and its background identical. Neo Dark resolves both to rgb(240, 241, 244). Neo Light resolves both to rgb(14, 15, 13). Label contrast is 1:1 in both. The count also loses contrast.

The Architectural Reality

  • resources/css/src/apps/portal/examples/GroupIndex.css inherits the Examples foreground and paints inactive hover with --portal-examples-entry-hover. The shared GroupIndex renders the desktop list, mobile overview and mobile sheet.
  • The two resources/css/theme-neo-{dark,light}/apps/portal/examples/MainContainer.css files bind that local token to --sem-color-bg-neutral-hover, which intentionally has the same value as --sem-color-text-neutral-default in these themes. The existing list-item and tab hover mappings use --sem-color-surface-neutral-hover, a translucent overlay over their neutral surface.
  • Design authority is the group navigation under #21140 and the shipped GroupIndex states from #21325.

The Fix

Bind the local Examples hover token to the existing semantic surface-hover token in Neo Dark and Neo Light. Add a browser regression to the existing ExamplesCatalogNL.spec.mjs using the rendered navigation row.

Acceptance Criteria

  • Hovering an inactive Examples link gives visible feedback in Neo Dark and Neo Light. Its label and count have at least 4.5:1 contrast against the painted row.
  • The current-page indicator remains visible on hover and the keyboard focus outline remains visible in both themes.
  • The E2E proof reproduces the bad contrast at the base and passes with the corrected theme mapping.

Out of Scope

Example-card interaction styles and navigation structure.

Avoided Traps

Keep the shared semantic tokens intact. The local alias can reuse the existing surface hover treatment without changing other consumers.

Related: #21140, #21325, #21676

Live latest-open + closed sweep: latest 20 and open/closed searches for “examples sidebar hover” read on 2026-11-21. #21676 owns the card interaction. #21325 delivered the sidebar structure. No equivalent surfaced. Recent A2A claims and own assignments checked. Memory Core and Knowledge Base yielded no decision for this alias.

Decision Record impact: none.

Origin Session ID: 1dfce115-c8b7-44c2-90af-507d25df6b49