Skip to content

Increase tab styling options #52862

@mhkeller

Description

@mhkeller

Hello. I have a three suggestions for styling tabs that I feel would improve the UX of the editor and allow themes to be more internally consistent.

  • tab.hoverForeground to style the foreground color of a tab. Currently tab.hoverBackground exists but not foreground. I think this would be useful because in my theme — spacegray — I want the hover style in the sidebar to match the hover style in the tabs. Currently, on sidebar hover, the foreground color lightens.
  • tab.closeForeground, which would style the color of the close button. I don't currently see this anywhere but if I've missed it, please let me know
  • tab.closeHoverForeground, which would style the color of the close button on hover Per this comment by @bpasero, hover states for the close button were not seen useful but I would argue a close button is an ideal use case for hover-state feedback. When switching tabs, a user could accidentally click on the close button instead of the tab hit area and accidentally close that tab. If the close button turns a different color on hover, it is very clear that a click will close the tab.

Update:

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalitythemesColor theme issuesverification-neededVerification of issue is requestedverifiedVerification succeededworkbench-tabsVS Code editor tab issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions