Skip to content

Conversation

@xbenxspire
Copy link

Fixes #210694

Summary

Added 4 new theme color definitions for activity bar hover states:

  • activityBar.hoverForeground - Foreground color when hovering over activity bar items
  • activityBar.hoverBackground - Background color when hovering over activity bar items
  • activityBarTop.hoverForeground - Foreground color when hovering (top/bottom position)
  • activityBarTop.hoverBackground - Background color when hovering (top/bottom position)

Description

These new color tokens allow users to customize the foreground and background colors when hovering over activity bar items, in both the side position and top/bottom positions.

The implementation follows the existing pattern used for other activity bar colors and tab hover colors in the codebase.

Testing

  • Colors are registered with null default values (consistent with other hover colors)
  • Users can customize via settings.json under workbench.colorCustomizations

Fixes microsoft#210694

Added 4 new theme color definitions for activity bar hover states:
- activityBar.hoverForeground
- activityBar.hoverBackground
- activityBarTop.hoverForeground
- activityBarTop.hoverBackground

These allow users to customize the foreground and background colors
when hovering over activity bar items in both side and top/bottom positions.
@vs-code-engineering
Copy link

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

@bpasero

Matched files:

  • src/vs/workbench/common/theme.ts

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.

add hoverForeground and hoverBackground to activity bars

2 participants