Repository navigation
Description
Does this issue occur when all extensions are disabled?: Yes (reproducible with pure settings.json, no extensions)
- VS Code Version: 1.131.0-insider (commit
29215ba85809234979befc6b0d1fb4b0ab884383) - OS Version: macOS 15.7.7 (arm64)
Summary
When the workbench.experimental.modernUI experiment is active (staged rollout — experiment: { mode: "auto" }), the workbench switches to the floating-panels layout, which forces the status bar background to transparent !important. This overrides any user or extension workbench.colorCustomizations for statusBar.background, so the customization is applied but never visible.
This silently breaks status bar coloring for users and for popular extensions that rely on statusBar.background — e.g. Peacock (cc John Papa (@johnpapa)) and Lantern.
Steps to Reproduce
- On an Insiders build enrolled in the
workbench.experimental.modernUIexperiment (or set"workbench.experimental.modernUI": true). - Add to
settings.json:"workbench.colorCustomizations": { "statusBar.background": "#ff00ff" }
- Observe the status bar stays the theme default (transparent floating bar) instead of magenta.
- Set
"workbench.experimental.modernUI": false→ magenta appears as expected.
Root cause
The floating-panels stylesheet injects an !important rule that beats the inline background the theming layer sets on the status bar part:
.monaco-workbench.floating-panels .part.activitybar,
.monaco-workbench.floating-panels .part.statusbar,
.monaco-workbench.floating-panels .part.titlebar {
background-color: transparent !important;
border-color: transparent !important;
}Inspecting the live DOM confirms the customization is applied but overridden:
<footer id="workbench.parts.statusbar">→ inline stylebackground-color: rgb(255, 0, 255)(customization honored)getComputedStyle(...).backgroundColor→rgba(0, 0, 0, 0)(transparent, due to the!importantrule)- Workbench classes include
floating-panels style-override
In modern UI the status bar part is only ever tinted through an internal "style override" path, using statusBar.debuggingBackground at 30% opacity:
.monaco-workbench.floating-panels .part.statusbar.has-style-override {
background-color: color-mix(in srgb, var(--vscode-statusBar-debuggingBackground) 30%, transparent) !important;
}There is no equivalent path for the normal statusBar.background, and extensions cannot opt a part into has-style-override.
Impact / notes
- Not a regression of the theme-color surface itself —
statusBar.backgroundetc. are unchanged between 1.130 stable and 1.131. The behavior change is purely the injected CSS in thefloating-panelslayout. - Status bar item backgrounds (e.g.
statusBarItem.errorBackground,prominentBackground) still render, so item-based coloring is unaffected; only the whole-barstatusBar.backgroundis suppressed. - Because this ships via staged experiment, affected users see it "spontaneously" break with no settings change, which makes it hard to diagnose.
Question / request
Is suppressing statusBar.background intended in modern UI? If so, could there be a supported way for users/extensions to color the floating status bar (e.g. honor statusBar.background via the same color-mix treatment, or a documented opt-in), so extensions like Peacock and Lantern can adapt?
Activity
vs-code-engineering commentedon Aug 7, 2026
Sharing media and context from merged PR #329701 for verification:
Honor contributed title, activity, and status bar colors while preserving the floating-card hierarchy.
Some design notes:
titleBar.border,statusBar.border, oractivityBar.border, since those separators result in an odd-looking design that conflicts with the unified background surface we're aiming for.Screenshots
2026 Light/Dark
Light/Dark (Visual Studio)
Quiet Light
Monokai Dimmed
Red
High Contrast Light/Dark
Atom One Dark
Dracula Theme
GitHub Light/Dark
Peacock Customizations
Source PR: #329701