Skip to content

Add secondary button border and update related styles and colors#291556

Merged
mrleemurray merged 1 commit intomainfrom
mrleemurray/relevant-indigo-marten
Jan 29, 2026
Merged

Add secondary button border and update related styles and colors#291556
mrleemurray merged 1 commit intomainfrom
mrleemurray/relevant-indigo-marten

Conversation

@mrleemurray
Copy link
Copy Markdown
Contributor

@mrleemurray mrleemurray commented Jan 29, 2026

Introduce a secondary button border along with updates to related styles and colors. This enhancement improves the visual consistency and usability of secondary buttons in the interface.

Addresses: #290938

Copilot AI review requested due to automatic review settings January 29, 2026 10:49
@mrleemurray mrleemurray enabled auto-merge January 29, 2026 10:49
@mrleemurray mrleemurray self-assigned this Jan 29, 2026
@mrleemurray mrleemurray added this to the January 2026 milestone Jan 29, 2026
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

This PR introduces a secondary button border feature to improve visual consistency and usability of secondary buttons throughout VS Code. The changes include new color definitions, updates to the button component to handle borders, and updates to extension action styling.

Changes:

  • Added buttonSecondaryBorder color with 20% transparent foreground color
  • Updated secondary button colors: foreground now uses default text color, background is transparent, hover uses list hover background
  • Modified Button component to apply borders based on button type (primary vs secondary)
  • Updated extension button styling to use the new border color

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/vs/platform/theme/common/colors/inputColors.ts Added buttonSecondaryBorder color definition and updated secondary button colors (foreground, background, hover) to align with new design
src/vs/base/browser/ui/button/button.ts Extended IButtonStyles interface with buttonSecondaryBorder, updated button constructor and updateStyles method to apply border based on button type
src/vs/platform/theme/browser/defaultStyles.ts Added buttonSecondaryBorder to imports and default button styles export
src/vs/workbench/contrib/extensions/browser/extensionsActions.ts Registered extensionButton.border color that references buttonSecondaryBorder
src/vs/workbench/contrib/extensions/browser/media/extensionActions.css Updated CSS to use --vscode-extensionButton-border variable for borders and separator dividers
build/lib/stylelint/vscode-known-variables.json Added new CSS variables --vscode-button-secondaryBorder and --vscode-extensionButton-border to known variables list

@mrleemurray mrleemurray merged commit 452a4c7 into main Jan 29, 2026
27 of 28 checks passed
@mrleemurray mrleemurray deleted the mrleemurray/relevant-indigo-marten branch January 29, 2026 11:15
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Mar 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants