-
Notifications
You must be signed in to change notification settings - Fork 39.3k
Increase tab styling options #52862
Copy link
Copy link
Closed
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalitythemesColor theme issuesColor theme issuesverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeededworkbench-tabsVS Code editor tab issuesVS Code editor tab issues
Milestone
Metadata
Metadata
Assignees
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalitythemesColor theme issuesColor theme issuesverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeededworkbench-tabsVS Code editor tab issuesVS Code editor tab issues
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.hoverForegroundto style the foreground color of a tab. Currentlytab.hoverBackgroundexists 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 knowtab.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:
tab.unfocusedActiveBackgroundinworkbench.colorCustomizationsAllowtab.unfocusedActiveBackgroundinworkbench.colorCustomizations#54197