Skip to content

refactor: theme steering initial pass - #609

Open
emrberk wants to merge 12 commits into
mainfrom
refactor/theme-steering-initial-pass
Open

refactor: theme steering initial pass#609
emrberk wants to merge 12 commits into
mainfrom
refactor/theme-steering-initial-pass

Conversation

@emrberk

@emrberk emrberk commented Sep 7, 2026

Copy link
Copy Markdown
Member

Moves the theme steering pass from the fork branch behind #607 onto a branch in this repo, and adds the follow-ups from review.

Supersedes #607. Original work by @zacknelson.

What this changes

A light/dark theme pass across the console: palette retunes, accent → neutral interaction colours, a reworked shadow ramp, focus rings routed through a shared statusInfoFocus helper, and per-mode surfaces for the chrome that needed them.

Surfaces touched: notebook and SQL editor chrome, schema tree, table details drawer, result grid, MCP pair popover and footer pill, AI chat window, top bar, drawers, calendar, and the shared Badge / Switch / SegmentedControl / SelectMenu primitives.

Follow-ups added on top of #607

MCP footer pill

  • Idle is neutral chrome: no fill, outlined in borderStrong to match the version badge beside it
  • Pill sits flush on the footer in dark mode instead of restating the footer colour
  • Agent changes read cyan (statusInfo) rather than magenta, matching the popover row for the same message

MCP pair popover

  • All status notices are one full-bleed band. Validation and connection errors now render identically instead of one being an inset red card
  • Notice icons align with the title's line box rather than the row top
  • Danger bands use neutral title/body text with a red icon and surface, matching the warning band

Schema tree

  • Column type, designated-timestamp, and fallback glyphs inherit their row's text colour

Notebook

  • Cell rename input and its label match the notebook rename input in both themes

Theme hygiene

  • yarn lint:colors passes again. It failed on the fork branch with 10 hardcoded colour literals; each moved into src/theme/index.ts or now derives via withAlpha, with pixel-identical output verified by compositing before/after
  • Three new tokens: interactionSelected, controlTrackRest, controlTrackStroke
  • Five orphaned tokens removed — contentObject, controlKnob, gridFocus, interactionAccentHover, statusWarningSurfaceHover. Verified unreferenced across TS, SCSS, raw var(--qdb-color-*) and dynamic lookups
  • src/components/Select deleted. The custom provider modal was its last consumer and now uses SelectMenuControl, the dropdown every other surface already used

Verification

yarn typecheck, yarn build, yarn lint, lint:colors all pass. 1987 unit tests pass. Schema tree, MCP popover, and grid selection checked in the running console in both themes.

zacknelson and others added 9 commits September 1, 2026 18:19
WIP theme pass: compress the light elevation ramp, quiet shadows, and
rebind hover/focus/selection off brand so crimson stays on tabs, notebook
identity, and primary actions.

Co-authored-by: Cursor <cursoragent@cursor.com>
Record the remaining palette and binding decisions in THEME-STEERING.md and apply them: status chips, Enabled/Validated, form SelectMenu, and the leftover light chrome leftover from the first lift.

Co-authored-by: Cursor <cursoragent@cursor.com>
Retune pink and danger roles and rebind latches, tooltips, dropdown shadows, and result-grid type so light chrome matches Figma without new tokens.

Co-authored-by: Cursor <cursoragent@cursor.com>
Light provider-tab hover sits lighter than the selected well. Result-grid selection uses a double hover wash and info cell chrome without retuning the shared gridSelection token.

Co-authored-by: Cursor <cursoragent@cursor.com>
Light metrics calendar flips enabled/disabled wells and keeps selected dates inverse. Monitoring count pills match Figma geometry with the quieter 32% stroke. Table and column glyphs settle on contentPrimary.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

Web Console deploy preview

Preview Commit Logs
https://pr-609--web-console.netlify.app 288af7f build log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants