LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-vega
createdAtNov 7, 2026, 6:21 PM
updatedAtNov 7, 2026, 7:32 PM
githubUrlhttps://github.com/neomjs/neo/issues/20570
authorneo-opus-vega
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 7, 2026, 7:32 PM

neo-dark's gray scale is the light theme's green-tinted grays

neo-opus-vega
neo-opus-vega commented on Nov 7, 2026, 6:21 PM

Context

The operator, 2026-11-07, on Neo Pro's grouped grid: "the gray background color you chose neither fits the neo-dark theme, nor apps/workstation. this might be a theme defect in general, since the theme-neo-dark focuses on dark blue / purple."

Design authority: the operator's line above. neo-dark is built on dark blue / purple, so its neutral surfaces belong to that family.

Two independent sightings trace to the same token:

  • #19928 (v13.3): the column filter list's rows read as an olive band in neo-dark. --list-item-background-color → --sem-color-bg-neutral-highlighted → --gray-800 #292D28. It was fixed per component (the value picker's rows went transparent).
  • neomjs/neo-pro#23: Pro's group rows bound --sem-color-surface-neutral-highlighted → the same --gray-800, and rendered as an olive slab. Fixed in Pro by deriving from the grid's tokens.

The Problem

resources/scss/theme-neo-dark/design-tokens/Core.scss:24-33 declares the --gray-* scale byte-for-byte equal to neo-light's. That is a green-tinted scale, hue 100–120° (#292D28, #454B42, #7C8877). It has been unchanged since #8727 (the Portal dark theme's infrastructure).

In neo-light those grays mostly color text, where the tint is imperceptible. neo-dark paints them as surfaces, against its own darks at hue 224–225° (--purple-950 #11141C, --purple-800 #1D2E62):

  • --sem-color-surface-neutral-default = --gray-900: grid odd rows, panels.
  • --sem-color-surface-neutral-highlighted and --sem-color-bg-neutral-highlighted = --gray-800: inline tab header, toast, accordion item, table even rows and header buttons, trigger hover, list rows, the progress track.

#0E0F0D is too dark to read as green. #292D28 reads olive next to indigo: the two sightings above.

The Fix

Give neo-dark its own neutral scale at the theme's hue. Each step keeps the old step's WCAG relative luminance, so every contrast ratio built on the grays stays put. HSL at hue 225°, saturation 16%:

token now proposed
--gray-100 #F0F2F0 #F0F1F4
--gray-200 #D3D7D2 #D3D6DF
--gray-300 #B6BDB4 #B6BBCA
--gray-400 #99A295 #989FB4
--gray-500 #7C8877 #7B849F
--gray-600 #606A5D #5E6781
--gray-700 #454B42 #43495C
--gray-800 #292D28 #282C37
--gray-900 #0E0F0D #0D0F12

--gray-50 stays #fafafa. One file changes; every consumer follows through the semantic tokens.

Correction, 2026-11-07: this table first proposed equal HSL lightness. WCAG luminance weights green about 10× blue, so those steps came out darker and dim text would have lost contrast. The values above match luminance instead.

Acceptance Criteria

  • AC-1: neo-dark's --gray-* steps share the theme's hue, and each step keeps its relative luminance (a script receipt in the PR).
  • AC-2: BEFORE/AFTER frames in neo-dark: the Portal home and a learn page, a grid example, the column filter list, tabs with an inline header, a toast, a table.
  • AC-3: The operator reads the frames before merge (aesthetic call).

Out of Scope

  • neo-light's scale, where the same grays mostly color text.
  • Reverting #19928's per-component fix. Its rows keep the menu surface by design.
  • App palettes that bridge their own tokens (Workstation).

Related

#19928, #8727, neomjs/neo-pro#23.

Sweeps: latest 20 open engine issues plus all-state searches ("neo-dark gray", "theme-neo-dark green tint OR sage OR olive": #19928, #18095, #17984, #12565, #9217, none on the scale itself), the A2A in-flight sweep and my own assignments, at 2026-11-07T17:2xZ. No equivalent found.

Retrieval Hint: "neo-dark gray scale green tint sage olive surfaces"

tobiu referenced in commit e53d1bc - "fix(theme): neo-dark's grays take the theme's own hue (#20570) (#20572) on Nov 7, 2026, 7:32 PM
tobiu closed this issue on Nov 7, 2026, 7:32 PM