LearnNewsExamplesConnect
Frontmatter
assigneesneo-gemini-julia
createdAtNov 14, 2026, 7:00 AM
updatedAtNov 14, 2026, 1:58 PM
githubUrlhttps://github.com/neomjs/neo/issues/20932
authorneo-gemini-julia
commentsCount0
parentIssue20874
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 14, 2026, 1:58 PM

Add cyberpunk, dark and light themes for timeline, scheduler and Gantt

Closed v14.0.0/archive-v14-0-0-chunk-2 enhancementdesignai
neo-gemini-julia
neo-gemini-julia commented on Nov 14, 2026, 7:00 AM

Context

Split out as the immediately unblocked Part 1 leaf of #20879 under parent epic #20874 (Engine 13.5, Milestone #14, cut 2026-11-23), offered in @neo-fable-clio's handover (#20879#issuecomment-6866604418). On origin/dev (a07f581f13), timeline (#20876), scheduler (#20877), and gantt (#20878) are merged, while #20879 retains blockedBy: [#20875] (open board family move) and prescribes two separate pull requests; per pull-request-workflow.md §9.1 (1 PR = 1 standalone Resolves #N), this 1:1 leaf owns the timeline, scheduler, and gantt theme slice now while #20879 retains the board slice behind #20875.

The Problem

The engine ships five themes (theme-neo-dark, theme-neo-light, theme-dark, theme-light, and theme-cyberpunk), and npm run build-themes builds all five without failing when a component file is missing in one theme — leaving its CSS variables undefined. Today on dev:

  • timeline/Column.scss, timeline/EventEditor.scss, timeline/TimeAxisHeader.scss, scheduler/Container.scss, and gantt/Container.scss exist only in theme-neo-dark and theme-neo-light (0 files in theme-cyberpunk, theme-dark, and theme-light).
  • examples/scheduler/basic/Viewport.scss (--studio-* header chrome tokens) and examples/gantt/basic/Viewport.scss (--project-* header chrome tokens) likewise exist only in theme-neo-dark and theme-neo-light, and both examples' neo-config.json list only ["neo-theme-neo-light", "neo-theme-neo-dark"] in themes.
  • In resources/scss/src/examples/gantt/basic/Viewport.scss (.project-control, which uses ui: 'secondary') and resources/scss/src/timeline/EventEditor.scss (.neo-timeline-event-editor-save / -cancel, which render .neo-button-text), only --button-text-color / color were bound, leaving --button-secondary-text-color and button text variables unbound (1.0:1 invisible button labels in theme-light and theme-dark).

The Architectural Reality

  • Structural rules live in resources/scss/src/{timeline,scheduler,gantt}/*.scss and resources/scss/src/examples/{scheduler,gantt}/basic/Viewport.scss, consuming CSS variables scoped per theme.
  • Sibling theme token vocabularies live in resources/scss/theme-{dark,light,cyberpunk}/Global.scss (notably --cyber-cyan, --cyber-gold, --cyber-red, --cyber-bg, --cyber-bg-alt, --cyber-text, --cyber-border, --cyber-glow in theme-cyberpunk/Global.scss) and resources/scss/theme-{dark,light,cyberpunk}/{grid,button,dialog}/*.scss.
  • Per #20902, review evidence screenshots must NOT remain tracked at the PR head (where npm pack ships them): commit the 6 frames to obtain a commit SHA, link https://github.com/neomjs/neo/blob/<sha>/<path>?raw=true in the PR body, and remove the PNGs in a subsequent commit on the PR branch.
  • Decision Record impact: none.

The Fix

  1. Add the 15 component theme files across theme-cyberpunk, theme-dark, and theme-light (timeline/Column.scss, timeline/EventEditor.scss, timeline/TimeAxisHeader.scss, scheduler/Container.scss, gantt/Container.scss), plus the 6 example header chrome files (examples/scheduler/basic/Viewport.scss and examples/gantt/basic/Viewport.scss across the same three themes), deriving colours from each theme's existing token vocabulary (Global.scss, grid/*.scss, button/Base.scss, dialog/Base.scss).
  2. Wire --button-secondary-* to var(--project-*) in resources/scss/src/examples/gantt/basic/Viewport.scss and --button-text-color* to var(--neo-timeline-editor-*) in resources/scss/src/timeline/EventEditor.scss so button labels maintain AA/AAA contrast across all five themes while keeping theme value files 100% selector-free (check-theme-value-files.mjs).
  3. Add "neo-theme-light", "neo-theme-dark", and "neo-theme-cyberpunk" to the themes list in examples/scheduler/basic/neo-config.json and examples/gantt/basic/neo-config.json so Neo.main.addon.Stylesheet can load any of the five shipped themes (without adding a UI theme switcher).
  4. Run npm run build-themes and verify both examples/scheduler/basic and examples/gantt/basic in theme-cyberpunk, theme-dark, and theme-light with 6 screenshots pinned by commit SHA and removed from the branch head per #20902.

Acceptance Criteria

  • Every timeline, scheduler, and gantt component SCSS file (plus examples/{scheduler,gantt}/basic/Viewport.scss) present under theme-neo-dark has a matching file under theme-cyberpunk, theme-dark, and theme-light (21 files total), listed in the PR body, and both examples' neo-config.json themes arrays include all five shipped themes.
  • npm run build-themes and npm run check-theme-surfaces pass cleanly.
  • examples/scheduler/basic and examples/gantt/basic are rendered and verified in theme-cyberpunk, theme-dark, and theme-light, and the PR body embeds one screenshot per example and theme (6 frames total) via commit-pinned URLs with no review PNGs left tracked at the PR head (#20902).
  • Look: #20874's design read passes on all 6 frames — bars, time axis headers, non-working shading, dependency arrows, example header chrome, selection, and hover/focus tokens read coherently as each theme's own palette with zero undefined CSS variables.
  • No hard-coded colour is invented where the target theme already defines a token (Global.scss / grid/*.scss / button/Base.scss / dialog/Base.scss) for that role.

Out of Scope

  • src/board theme files (retained on #20879 behind open blocker #20875).
  • Layout/DOM structural changes or changes to theme-neo-dark / theme-neo-light token values.
  • Adding a UI theme switcher to the examples.

Avoided Traps

  • Leaving examples/{scheduler,gantt}/basic/Viewport.scss out of the three secondary themes, which leaves --studio-* and --project-* header chrome variables undefined in the rendered frames.
  • Leaving --button-secondary-text-color unbound on .project-control (ui: 'secondary') or --button-text-color unbound on .neo-timeline-event-editor-save / -cancel, which produces 1.0:1 invisible button text in theme-light and theme-dark (or adding selector overrides inside theme value files, which violates check-theme-value-files.mjs).
  • Leaving the 6 review screenshots tracked at the PR head where npm pack ships them (#20902).
  • Using :root vs :where() selector specificity inconsistently in a way that overrides component state modifiers.

Related

Parent: #20874 · Sibling / Part 2 (board behind #20875): #20879 · Merged bases: #20876, #20877, #20878 · Package guard: #20902

Ownership: self-assigned to @neo-gemini-julia for immediate Engine 13.5 cut delivery (picking up @neo-fable-clio's #20879 Part 1 offer; good first issue / help wanted omitted because owned now).

Live latest-open + closed sweep: checked latest 25 open (55 open total, red band — folded as a sub-issue under active epic #20874, which holds 8 sub-issues) + closed search (theme-cyberpunk timeline scheduler gantt, 0 hits) at 2026-11-14T05:59Z; #20879 read in full (Out of Scope + Avoided Traps preserved; split required by pull-request-workflow.md §9.1 + open blockedBy: #20875). A2A in-flight claim sweep: scanned latest 30 messages across all read states (2026-11-14T04:48Z–05:59Z); no competing claim on #20879 or secondary themes. MC sweep: query_raw_memories (20879 theme-cyberpunk theme-dark theme-light timeline scheduler gantt, 5 results) + ask_knowledge_base (type='ticket', top refs #20879, #3781, #20874, #17244, #8775); no conflicting decision. Own-assignment sweep: 4 open (#20919, #20917, #20915, #20671), disjoint surfaces. Structure-map gate: N/A (no .mjs or Agent OS placement).

Origin Session ID: b9b9352c-8f99-497f-abc6-d323f2353fdc

Retrieval Hint: "theme-cyberpunk theme-dark theme-light styles for timeline scheduler gantt examples Viewport"

tobiu referenced in commit 2f38667 - "feat(themes): add cyberpunk, dark and light styles for timeline, scheduler and Gantt (#20932) (#20935) on Nov 14, 2026, 1:58 PM
tobiu closed this issue on Nov 14, 2026, 1:58 PM