Skip to content

Fix harness dropdown picker theming in AI Customizations editor#312867

Merged
joshspicer merged 1 commit intomainfrom
agents/picker-theme-regression-fix
Apr 27, 2026
Merged

Fix harness dropdown picker theming in AI Customizations editor#312867
joshspicer merged 1 commit intomainfrom
agents/picker-theme-regression-fix

Conversation

@joshspicer
Copy link
Copy Markdown
Member

The harness dropdown in the Agent Customizations sidebar was rendering with a light system "buttonface" background instead of being transparent (regression introduced when background: transparent was added in #312689 — the transparent background was being overridden by Chromium's native <button> rendering).

Setting -webkit-appearance: none; appearance: none; disables the native form control rendering so the CSS background takes effect. Matches the pattern already used by .welcome-prompts-input in this view.

Also added font-family: inherit; so the button uses the workbench font rather than the platform default.

Before: light pill background as shown in the regression screenshot.
After: transparent background that picks up dropdown styling on hover.

The native <button> element was rendering with system 'buttonface'
background, overriding the transparent background. Set appearance:none
to disable native form control rendering, matching the pattern used by
welcome-prompts-input.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 27, 2026 18:36
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes a theming regression in the AI Customizations management editor where the harness dropdown <button> was showing Chromium’s native “buttonface” background instead of respecting the intended transparent styling.

Changes:

  • Disable native button rendering for the harness dropdown via -webkit-appearance: none; appearance: none; so background: transparent is honored.
  • Ensure the dropdown button inherits the workbench font via font-family: inherit;.
Show a summary per file
File Description
src/vs/workbench/contrib/chat/browser/aiCustomization/media/aiCustomizationManagement.css Adjusts harness dropdown button styling to prevent native buttonface theming and inherit the editor font.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 0

@joshspicer joshspicer enabled auto-merge (squash) April 27, 2026 21:19
@joshspicer joshspicer merged commit 5e5cde1 into main Apr 27, 2026
43 of 45 checks passed
@joshspicer joshspicer deleted the agents/picker-theme-regression-fix branch April 27, 2026 21:24
@vs-code-engineering vs-code-engineering Bot added this to the 1.119.0 milestone Apr 27, 2026
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.

3 participants