LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-grace
createdAtSep 3, 2026, 11:34 AM
updatedAtSep 3, 2026, 2:30 PM
githubUrlhttps://github.com/neomjs/neo/issues/18181
authorneo-opus-vega
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtSep 3, 2026, 2:30 PM

Classic themes give the inline dock header no ground, so consumers do

Closed v13.2.0/archive-v13-2-0-chunk-18 enhancementdesignaidashboard
neo-opus-vega
neo-opus-vega commented on Sep 3, 2026, 11:34 AM

Context

#18144 made every theme state the inline tab header's paint — correct, because a fallback is not a reset. For the two classic families it stated transparent:

// theme-light/tab/Container.scss and its dark twin
--tab-header-inline-background-color: transparent;

The neo families give it a real surface (var(--sem-color-surface-neutral-highlighted)). So a dock rendered under a classic theme has a header with no ground of its own: over the family's --neo-background-color, beside white pane content, it reads as undefined greyish rather than as chrome.

Operator decision on the value (2026-09-03): #f2f2f2, test-applied live and preferred over the #eee a consumer had been using — "less contrast, but a often used hex value inside the theme". Verified: it is the family's own header grey, spent on --calendar-settings-header-background-color, its examples twin, component.Splitter, and the even-row banding that separates rows from white. The dark family's equivalent is #3c3f41, which also carries that family's slight cool tint.

Live latest-open sweep: latest 20 open issues at 2026-09-03T09:33:45Z, plus targeted searches on sass|scss|postcss|plain css; no equivalent found.

The Problem

Every consumer with an inline dock header under a classic theme re-derives a ground the theme could state once — the #18151 class, in miniature.

It is worse than ordinary duplication, because the consumer's projection and the engine's declaration land at the same selector:

engine   :root .neo-theme-light { --tab-header-inline-background-color: transparent }   (0,2,0)
consumer :root .neo-theme-light { --tab-header-inline-background-color: … }             (0,2,0)

Equal weight, so the winner is whichever sheet was fetched last — which a consumer cannot control, since theme files load per class as each class first appears. Measured on a consumer host rebuilt against current dev: the engine's declaration won and the header rendered transparent, i.e. the exact symptom the consumer's projection existed to fix. That consumer now repeats its class for (0,3,0) as a documented workaround.

#18107 would retire the race by moving value sheets to :where() weight, but its inventory is keyed to neo-theme-neo-*; the classic families are not in it (noted there). This ticket is the other half: give the classic families the value, so a consumer has nothing to project in the first place.

The Architectural Reality

  • resources/scss/theme-light/tab/Container.scss and theme-dark/tab/Container.scss hold the token; both open at :root .neo-theme-*.
  • The dock's tab containers project ui: 'inline', so this token is the one in play rather than the standalone twin.
  • Consumed without a fallback in src/tab/Container.scss, which is why an unset value renders as nothing rather than degrading to a default.
  • The classic families declare no --sem-color-* tokens, so the value has to be a literal here, the way the families' other chrome greys already are.

The Fix

Declare each classic family's own header grey on the token it already owns:

  • theme-light/tab/Container.scss — #f2f2f2
  • theme-dark/tab/Container.scss — #3c3f41

Both are values the family already spends on header and chrome surfaces, so this introduces no new grey.

Acceptance Criteria

  • AC-1 — a dock rendered under neo-theme-light paints the inline header at #f2f2f2, read from the rendered element rather than from the sheet.
  • AC-2 — the same under neo-theme-dark at #3c3f41.
  • AC-3 — the neo families are untouched: their var(--sem-color-surface-neutral-highlighted) still resolves as before.
  • AC-4 — the header stays distinguishable from the ACTIVE tab, which is the contrast that carries the bar (the active tab is white in classic light, so the separation is header-vs-tab, not header-vs-ground). Asserted as a computed-value difference, not by eye.
  • AC-5 — no new selector enters either theme value file; #18145's rule holds (value files declare variables only).

Out of Scope

  • Moving the classic families to :where() weight — #18107, and the race survives this change for any other token a consumer projects.
  • The standalone (non-inline) tab header variant.
  • Hairlines or elevation on the classic header; the classic light theme states that its chrome remains intentionally flat.
  • The broader question of what to do with the classic themes' age and hardcoded values, raised separately as a Discussion.

Avoided Traps

  • Reading transparent as an omission. It is #18144's deliberate statement, so this is a value change to a stated default, not the repair of a missing declaration — which is why it needs a decision (the operator's) rather than a bug fix.
  • Reaching for --sem-color-…. Those exist only in the neo families; referenced here they would resolve against whatever the previously active theme left in scope, which is how the original symptom came to appear on a theme SWITCH.
  • Fixing it consumer-side and calling it done. A consumer projection is in an equal-weight race it cannot win reliably; the durable fix is the theme stating the value.

Decision Record impact

none — a value change inside two existing theme value files.

Related

  • #18144 — stated the token in every theme, choosing transparent for the classic pair.
  • #18107 — the :where() sweep that would retire the equal-weight race; classic families are outside its current inventory.
  • #18151 — the class this belongs to: the engine asking consumers to re-derive what it knows.
  • #18102 — established the :where() policy.

Handoff Retrieval Hints

  • query_raw_memories: "classic theme inline dock header ground equal weight consumer projection"
  • Anchors: theme-light/tab/Container.scss, theme-dark/tab/Container.scss, src/tab/Container.scss

Origin Session ID: e8ea32a2-b9a8-43ea-84ba-b83081ec4b3d