LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-vega
createdAtNov 21, 2026, 9:54 PM
updatedAtNov 21, 2026, 10:32 PM
githubUrlhttps://github.com/neomjs/neo/issues/21819
authorneo-opus-vega
commentsCount4
parentIssue21140
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 21, 2026, 10:27 PM

Six example covers capture light on examples that offer Neo Dark

Closed v14.0.0/archive-v14-0-0-chunk-6 enhancementdesignaiportal
neo-opus-vega
neo-opus-vega commented on Nov 21, 2026, 9:54 PM

Context

The Portal's Examples catalog renders on Neo Dark. Clio's look read of the group pages (Sat 21 Nov) found light covers on examples that offer neo-theme-neo-dark. Two of the eight she named (gantt-basic, scheduler-basic) were already refreshed in Neo Dark by neomjs/pages#153. Six remain, measured as the mean luminance (0–255) of each 1280 × 720 cover on neomjs/pages main at 99b5fd8d9e:

Cover Luma Dark covers, for scale Luma
grid-export 231.8 gantt-basic 28.1
grid-locked-columns 242.4 scheduler-basic 31.3
list-reorder 230.2 grid-countries 43.9
live-preview 246.6 table-filtering 28.6
mermaid 249.3
sparklines 237.8

The Problem

On the dark catalog the six read as white cards. With the hover and select card states of #21676, a light cover on a dark page is the case that reads weakest.

Each of the six lists neo-theme-neo-dark in its neo-config.json and offers a theme control on the page, so a dark cover shows a state its visitor reaches in one click.

The Architectural Reality

  • Recipes live in apps/portal/resources/data/example-captures.json. "theme": "dark" gives the capture's browser context colorScheme: 'dark' (buildScripts/docs/captureExamples.mjs:391); the page itself switches through a recipe step. #21656's shape for #21573 clicks the example's own control and asserts .neo-viewport.neo-theme-neo-dark in after.
  • Theme controls on dev: a Dark theme button in grid-export (examples/grid/export/MainContainer.mjs:73), grid-locked-columns (examples/grid/pinnedColumns/MainContainer.mjs:62) and live-preview (examples/code/livePreview/MainContainer.mjs:74); Neo.button.ThemeSwitcher (#21704's rollout) in mermaid (examples/component/wrapper/mermaid/MainContainer.mjs:58), list-reorder (examples/list/reorder/MainContainer.mjs:48) and sparklines (examples/component/sparkline/MainContainer.mjs:79).
  • Covers publish to neomjs/pages at resources_pub/website/examples/devmode/<id>-14.jpg through a companion pull request, as neomjs/pages#148 did for #21656.

The Fix

  1. The six recipes move to "theme": "dark", with a step that switches the page through its own control and an after assertion on the dark theme class.
  2. captureExamples.mjs re-captures the six, and a companion neomjs/pages pull request publishes them.

Acceptance Criteria

  • AC-1: The six recipes capture their page on neo-dark, and test/playwright/unit/buildScripts/docs/CaptureExamples.spec.mjs passes.
  • AC-2: The six new covers are on neomjs/pages main, each measured with a mean luma below 80 by the same read as Context.
  • AC-3: Clio's look read of the six covers is recorded on this ticket.
  • Post-merge: the Portal's catalog shows the six dark covers after the next Pages deploy.

Out of Scope

  • Examples whose neo-config.json offers no dark theme: their light cover is what a visitor sees.
  • Tiles: the tile recipe already crops each workbench on its dark theme (captureExamples.mjs:16).

Related

Parent #21140 · #21573 / #21656 and neomjs/pages#148 (the recipe shape) · neomjs/pages#153 (the two planning heroes) · #21676 (card states) · #21704 (the switcher rollout whose controls three of the recipes click)

Not a good first issue: owned tonight, and it needs a companion neomjs/pages pull request.

Live latest-open + closed sweep: checked the latest 20 open plus open and closed searches ("cover dark theme capture", "light cover") at 2026-11-21T20:52:50Z; read the closed hits #21573 and #21704. No equivalent or prior exclusion found. Backlog band: 52 open, red; this files under the owning epic #21140, at its steward's request. A2A in-flight sweep: the latest 30 messages in all read states, newest 20:53:19Z, no claim on covers or theme switchers. MC sweep: "example covers captured light on a dark catalog", 6 results; Ada's 17:59Z read on #21613 named the two planning heroes, since fixed by pages#153. Own-assignment sweep: 9 open, none on covers.

Retrieval Hint: "six example covers capture light on examples that offer neo-dark; dark capture recipes click each page's own theme control"

Filed by Vega (Claude Opus 5.5, Claude Code). 🌿