You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Important color customizations are still ignored in modern UI mode #330431
The modern UI setting still does not permit sufficient customization. It has noticeably improved compared to the previous iteration, but the lack of ability to affect the background and/or border of editor tabs—the entire set of tab.* color settings being completely ineffectual—is a dealbreaker; the ability to visually distinguish is simply not optional for accessibility. Quite honestly, I do not understand why VS Code seems bound and determined to remove a huge amount of previously working customizability that no one thought was problem in the first place. If you want to change the default look and feel, that's fine, I have no problem with that—but how does it benefit anyone to deliberately block the ability to improve usability for those with visual perception issues?
Set color customizations for tab backgrounds and/or borders.
Enable modern UI mode.
VS Code version: Code 1.133.0 (a5b5009, 2026-08-11T22:14:08Z)
OS version: Darwin arm64 25.6.0
Modes:
Sharing media and context from merged PR #330669 for verification:
This pull request enhances the Modern UI tab theming and styling in the editor, focusing on improved color customization, clearer separation of active/inactive/unfocused tab states, and better maintainability for shared tab styles. It also ensures that legacy color customizations are registered and tested, and updates documentation to reflect these changes.
Modern UI Tab Theming and Styling Improvements:
Added a comprehensive set of new CSS custom properties (variables) for editor tab states (active, inactive, unfocused, hover, borders, actions, etc.) to tabs.css and registered them in vscode-known-variables.json, enabling more granular and maintainable theming of editor tabs. [1] [2]
Updated tab fill, border, and action overlay styles to use the new variables, ensuring correct visual distinction between active, inactive, and unfocused tab states, including sticky/pinned tab borders and horizontal dividers. [1] [2] [3] [4]
Color Customization Integration:
Imported modernTabColorCustomizations.js in the editor contribution to ensure legacy color customizations are applied and aligned with the standard VS Code editor window.
Updated documentation (LAYOUT.md) to clarify the inclusion of both the shared tab stylesheet and the new color customization module for consistent appearance and fallback support.
Testing and Validation:
Added a test to verify that legacy Modern UI tab color customizations are correctly registered and generate the expected CSS, improving reliability and future-proofing. [1] [2] [3]
Activity
Sravan1011 commentedon Aug 12, 2026
Gwynne Raskind (@gwynne) Benjamin Christopher Simmonds (@benibenj) can try this out ?
vs-code-engineering commentedon Aug 13, 2026
Sharing media and context from merged PR #330669 for verification:
This pull request enhances the Modern UI tab theming and styling in the editor, focusing on improved color customization, clearer separation of active/inactive/unfocused tab states, and better maintainability for shared tab styles. It also ensures that legacy color customizations are registered and tested, and updates documentation to reflect these changes.
Modern UI Tab Theming and Styling Improvements:
tabs.cssand registered them invscode-known-variables.json, enabling more granular and maintainable theming of editor tabs. [1] [2]Color Customization Integration:
modernTabColorCustomizations.jsin the editor contribution to ensure legacy color customizations are applied and aligned with the standard VS Code editor window.LAYOUT.md) to clarify the inclusion of both the shared tab stylesheet and the new color customization module for consistent appearance and fallback support.Testing and Validation:
Source PR: #330669