Repository navigation
Modern UI: Update tab action background handling and enhance color customization - #330669
Merged
Merged
Conversation
Co-authored-by: Copilot <[email protected]>
…ization resolution
Contributor
There was a problem hiding this comment.
Pull request overview
Adds legacy tab color customization support to Modern UI tabs, including Agents window tabs.
Changes:
- Maps legacy tab colors to Modern UI CSS variables.
- Refines focused/unfocused tab and action styling.
- Adds theme integration tests and documentation.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
build/lib/stylelint/vscode-known-variables.json |
Registers new CSS variables. |
src/vs/sessions/LAYOUT.md |
Documents shared theming behavior. |
src/vs/sessions/contrib/editor/browser/editor.contribution.ts |
Loads tab color customization support. |
src/vs/sessions/contrib/editor/test/browser/editor.contribution.test.ts |
Tests Sessions registration. |
src/vs/workbench/contrib/styleOverrides/browser/media/tabs.css |
Applies legacy-aware tab styling. |
src/vs/workbench/contrib/styleOverrides/browser/styleOverrides.contribution.ts |
Registers the theming participant. |
src/vs/workbench/contrib/styleOverrides/test/browser/styleOverrides.contribution.test.ts |
Tests legacy and modern customization precedence. |
src/vs/workbench/services/themes/browser/modernTabColorCustomizations.ts |
Resolves legacy colors into Modern UI variables. |
src/vs/workbench/services/themes/common/colorThemeData.ts |
Exposes explicit color customizations. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
…e foreground customization Co-authored-by: Copilot <[email protected]>
Contributor
Screenshot ChangesBase: Changed (2)90 insignificant change(s) omitted (≤20 px, Δ≤2). See CI logs for details. |
Vritant Bhardwaj (vritant24)
approved these changes
Aug 13, 2026
This was referenced Aug 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
Resolves #330431