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
In Modern UI, editor tab descriptions (the containing folder names) and editor tab icons without a specific color, such as the Settings icon, respect the theme’s tab.*Foreground colors. In contrast, editor tab filenames use modernEditorTab.*Foreground colors or a translucent foreground color for inactive tabs.
This results in inconsistent foreground colors within the same editor tab.
It also makes it difficult to adjust tab contrast because most tab.*Background colors are ignored while some tab.*Foreground colors are still applied. As a result, the intended background/foreground color pairs cannot be configured reliably.
For example, in the Light 2026 theme, the description of an inactive editor tab appears more prominent than its filename.
VS Code version: Code - Insiders 1.135.0-insider (a1c7d1b, 2026-08-19T02:46:58Z)
OS version: Windows_NT x64 10.0.26200
Modes:
Apply a theme with the following colors. Configure these colors in the theme rather than through workbench.colorCustomizations to avoid additional customization by modernTabColorCustomizations.ts.
Open multiple files with the same filename so that the containing folder name is displayed as the tab description.
Open Settings, then select Open Modal Window in Main Window.
Check the editor tabs in both focused and unfocused editor groups.
Actual Behavior
The containing folder names and the Settings icon use colors from tab.*Foreground instead of the modernEditorTab.*Foreground colors. For example, they appear red, green, or blue, while the filenames appear black.
In a focused editor group:
In an unfocused editor group:
Notes
The selected editor tab consistently uses tab.selectedForeground and tab.selectedBackground. I assume this is intentional.
Type: Bug
Description
In Modern UI, editor tab descriptions (the containing folder names) and editor tab icons without a specific color, such as the Settings icon, respect the theme’s
tab.*Foregroundcolors. In contrast, editor tab filenames usemodernEditorTab.*Foregroundcolors or a translucentforegroundcolor for inactive tabs.This results in inconsistent foreground colors within the same editor tab.
It also makes it difficult to adjust tab contrast because most
tab.*Backgroundcolors are ignored while sometab.*Foregroundcolors are still applied. As a result, the intended background/foreground color pairs cannot be configured reliably.For example, in the Light 2026 theme, the description of an inactive editor tab appears more prominent than its filename.
VS Code version: Code - Insiders 1.135.0-insider (a1c7d1b, 2026-08-19T02:46:58Z)
OS version: Windows_NT x64 10.0.26200
Modes:
System Info
GPU0: VENDOR= 0x10de, DEVICE=0x2504 [NVIDIA GeForce RTX 3060], DRIVER_VENDOR=NVIDIA, DRIVER_VERSION=32.0.15.9186 ACTIVE
GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.8972
Machine model name:
Machine model version:
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments
Reproduction
workbench.colorCustomizationsto avoid additional customization bymodernTabColorCustomizations.ts.{ "name": "Test Light Theme", "colors": { "modernEditorTab.activeForeground": "#000", "modernEditorTab.hoverForeground": "#000", "tab.activeForeground": "#f00", "tab.unfocusedActiveForeground": "#800", "tab.inactiveForeground": "#0f0", "tab.unfocusedInactiveForeground": "#080", "tab.hoverForeground": "#00f", "tab.unfocusedHoverForeground": "#008" } }Actual Behavior
The containing folder names and the Settings icon use colors from
tab.*Foregroundinstead of themodernEditorTab.*Foregroundcolors. For example, they appear red, green, or blue, while the filenames appear black.Notes
tab.selectedForegroundandtab.selectedBackground. I assume this is intentional.tab.inactiveForeground, but they will become invisible when Update tab actions visibility for active tabs in Modern UI #331629 is merged.tab.activeForeground. Is this intentional?