Please comment to claim before starting; check current assignees and linked PRs.
Context
In the neo-light and neo-dark themes, a dialog's title-bar controls (minimize, maximize and close) look exactly the same under the pointer as at rest. Nothing tells the user that a control is interactive, or which one the pointer is on, before they click.
Measured on dev at b5f112239e: examples/desktop/basic uses neo-dark. Opening an app there by double-clicking its icon opens a window. Its close control computes background-color: rgba(0, 0, 0, 0) and a glyph color of rgba(226, 232, 240, 0.72), both at rest and hovered. Minimize and maximize behave the same way.
The Problem
Every window and dialog built on Neo.dialog.Base has these controls: the web desktop's app windows, examples/dialog and the dashboard's dialogs. Every other neo-themed button changes its colour on hover (the --button-*-hover tokens in resources/css/theme-neo-*/button/Base.css). These three are the exception, and they sit in the most-clicked spot of a window.
The Architectural Reality
resources/css/theme-neo-dark/dialog/Base.css and resources/css/theme-neo-light/dialog/Base.css contain a structural rule at theme-root weight: :root .neo-theme-neo-* .neo-dialog .neo-header-toolbar .neo-button {background-color: transparent; …}. Its specificity is (0,5,0), so it outranks the button's own .neo-button:hover at (0,2,0) in resources/css/src/button/Base.css. The files' header comment explains why that weight is kept for now.
resources/css/src/dialog/Base.css:99 gives the glyph color: var(--dialog-icon-color). That also outranks the button's hover glyph colour.
- Design authority: the button family gives every button a hover state through its
--button-*-hover tokens, and this rule takes it away from these controls only. WCAG 2.2 SC 1.4.11 asks for 3:1 for the visual information that identifies a control's state.
The Fix
- Add hover tokens for the title bar's controls, for example
--dialog-header-button-background-color-hover and --dialog-icon-color-hover. In the neo themes, pick values that reach 3:1 against the title bar.
- Declare them in every theme's
dialog/Base.css: the classic light, dark and cyberpunk themes too, with values that keep their current look. Per #18141 and #18145, a token that only some themes declare leaks across a nested theme boundary.
- Apply them in
resources/css/src/dialog/Base.css with a :hover rule on the title bar's buttons that outranks the theme's transparent rule. Selectors belong in src/; theme files declare values only (#18145).
- Optional: many desktops tint the close control red on hover. If you take that, use a token for it, so each theme chooses its own red.
To measure, open examples/desktop/basic, double-click an app to open its window and hover the close control. Your browser's dev tools show the computed background-color and the glyph's color.
Acceptance Criteria
Out of Scope
- The controls' glyphs and sizes: #21374 settled them.
- The board's card editor header icons in cyberpunk: #21371.
- A closing dialog's mask and focus: #21415.
Related
#21374 (the window controls' glyph set), #18141 and #18145 (theme token rules). Found in the cold look on #21374, defect note fa3ae741.
Live latest-open + closed sweep: checked the latest 20 open, plus open searches (dialog hover, header toolbar button hover) and closed searches (dialog close button hover, window controls dialog header), at 2026-11-19T02:46Z. Closed hits read: #21374 (Out of Scope: glyph colour per theme only) and #18145 (selectors move with a new token, declared by every theme). No equivalent found. Backlog band: 74 open (red). The ticket is standalone because no open dialog-styling owner exists; #21415 is behaviour, not paint.
A2A claim sweep: the last 30 messages, no claim on dialog hover.
MC sweep: "dialog minimize maximize close show no hover state, title bar controls look the same under the pointer", 5 results, no prior decision.
Premise correction: defect note fa3ae741 also named examples/dialog in theme-light. That theme signals hover with a border on every button, so it is not part of this defect.
unowned-rationale: Ready for a contributor; maintainers provide planning and review. Grace, who filed it, reviews the pull request it draws.
Origin Session ID: e6e12d4c-3662-4792-9e9d-96afef8599c5
Retrieval Hint: "dialog header toolbar minimize maximize close hover state neo themes outranked transparent rule"
Please comment to claim before starting; check current assignees and linked PRs.
Context
In the neo-light and neo-dark themes, a dialog's title-bar controls (minimize, maximize and close) look exactly the same under the pointer as at rest. Nothing tells the user that a control is interactive, or which one the pointer is on, before they click.
Measured on
devatb5f112239e:examples/desktop/basicuses neo-dark. Opening an app there by double-clicking its icon opens a window. Its close control computesbackground-color: rgba(0, 0, 0, 0)and a glyphcolorofrgba(226, 232, 240, 0.72), both at rest and hovered. Minimize and maximize behave the same way.The Problem
Every window and dialog built on
Neo.dialog.Basehas these controls: the web desktop's app windows,examples/dialogand the dashboard's dialogs. Every other neo-themed button changes its colour on hover (the--button-*-hovertokens inresources/css/theme-neo-*/button/Base.css). These three are the exception, and they sit in the most-clicked spot of a window.The Architectural Reality
resources/css/theme-neo-dark/dialog/Base.cssandresources/css/theme-neo-light/dialog/Base.csscontain a structural rule at theme-root weight::root .neo-theme-neo-* .neo-dialog .neo-header-toolbar .neo-button {background-color: transparent; …}. Its specificity is (0,5,0), so it outranks the button's own.neo-button:hoverat (0,2,0) inresources/css/src/button/Base.css. The files' header comment explains why that weight is kept for now.resources/css/src/dialog/Base.css:99gives the glyphcolor: var(--dialog-icon-color). That also outranks the button's hover glyph colour.--button-*-hovertokens, and this rule takes it away from these controls only. WCAG 2.2 SC 1.4.11 asks for 3:1 for the visual information that identifies a control's state.The Fix
--dialog-header-button-background-color-hoverand--dialog-icon-color-hover. In the neo themes, pick values that reach 3:1 against the title bar.dialog/Base.css: the classic light, dark and cyberpunk themes too, with values that keep their current look. Per #18141 and #18145, a token that only some themes declare leaks across a nested theme boundary.resources/css/src/dialog/Base.csswith a:hoverrule on the title bar's buttons that outranks the theme's transparent rule. Selectors belong insrc/; theme files declare values only (#18145).To measure, open
examples/desktop/basic, double-click an app to open its window and hover the close control. Your browser's dev tools show the computedbackground-colorand the glyph'scolor.Acceptance Criteria
Out of Scope
Related
#21374 (the window controls' glyph set), #18141 and #18145 (theme token rules). Found in the cold look on #21374, defect note
fa3ae741.Live latest-open + closed sweep: checked the latest 20 open, plus open searches (
dialog hover,header toolbar button hover) and closed searches (dialog close button hover,window controls dialog header), at 2026-11-19T02:46Z. Closed hits read: #21374 (Out of Scope: glyph colour per theme only) and #18145 (selectors move with a new token, declared by every theme). No equivalent found. Backlog band: 74 open (red). The ticket is standalone because no open dialog-styling owner exists; #21415 is behaviour, not paint. A2A claim sweep: the last 30 messages, no claim on dialog hover. MC sweep: "dialog minimize maximize close show no hover state, title bar controls look the same under the pointer", 5 results, no prior decision. Premise correction: defect notefa3ae741also namedexamples/dialogin theme-light. That theme signals hover with a border on every button, so it is not part of this defect.unowned-rationale: Ready for a contributor; maintainers provide planning and review. Grace, who filed it, reviews the pull request it draws.
Origin Session ID: e6e12d4c-3662-4792-9e9d-96afef8599c5 Retrieval Hint: "dialog header toolbar minimize maximize close hover state neo themes outranked transparent rule"