Skip to content

Restore theme colors in Modern UI shell - #329701

Merged
Hawk Ticehurst (hawkticehurst) merged 6 commits into
mainfrom
agents/exploratory-ui-design-editor-window
Aug 7, 2026
Merged

Hawk Ticehurst (hawkticehurst) merged 6 commits into
mainfrom
agents/exploratory-ui-design-editor-window

Conversation

@hawkticehurst

@hawkticehurst Hawk Ticehurst (hawkticehurst) commented Aug 7, 2026 •

Copy link
Copy Markdown
Member

Fixes #326126
Fixes #327284
Fixes #327183
Fixes #326657
Fixes #328967
Fixes #329046
Fixes #329090
Fixes #329104
Fixes #329019
Fixes #326654
Fixes #329187

Honor contributed title, activity, and status bar colors while preserving the floating-card hierarchy.

Some design notes:

  • An intentional design decision we're exploring is that the title bar color is now used as the app-shell backdrop and is visible through the gaps, while individual workbench surfaces retain their respective backgrounds.
  • We're intentionally not restoring titleBar.border, statusBar.border, or activityBar.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

Image Image

Light/Dark (Visual Studio)

Image Image

Quiet Light

Image

Monokai Dimmed

Image

Red

Image

High Contrast Light/Dark

Image Image

Atom One Dark

Image

Dracula Theme

Image

GitHub Light/Dark

Image Image

Peacock Customizations

Image Image

Honor contributed title, activity, and status bar colors while preserving the floating-card hierarchy. Use the title bar color for shell gutters, frame activity and content surfaces consistently, and remove the Modern UI title separator.

Co-authored-by: Copilot <[email protected]>
Copilot AI balanced review requested due to automatic review settings August 7, 2026 21:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Restores contributed shell theme colors in Modern UI while retaining floating-card spacing and hierarchy.

Changes:

  • Restores title, activity, status, command-center, and editor colors.
  • Revises floating-card gutters, borders, and layout calculations.
  • Updates margin tests and performs minor formatting cleanup.

Reviewed changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/vs/workbench/services/layout/test/browser/layoutService.test.ts Updates floating-margin expectations.
src/vs/workbench/services/layout/browser/layoutService.ts Revises vertical gutter calculations.
src/vs/workbench/contrib/styleOverrides/browser/media/statusBar.css Restores contributed status-bar colors.
src/vs/workbench/contrib/styleOverrides/browser/media/editorBorder.css Adds editor surface background.
src/vs/workbench/contrib/styleOverrides/browser/media/commandCenter.css Adjusts navigation action foreground.
src/vs/workbench/contrib/styleOverrides/browser/media/activityBar.css Restores activity-bar theming.
src/vs/workbench/contrib/chat/browser/voiceClient/voiceGlow.ts Removes extra blank lines.
src/vs/workbench/contrib/chat/browser/agentSessions/experiments/media/agenttitlebarstatuswidget.css Inherits status action color.
src/vs/workbench/browser/parts/views/viewPaneContainer.ts Updates floating-gap commentary.
src/vs/workbench/browser/parts/titlebar/titlebarPart.ts Restores title colors and removes Modern UI separator.
src/vs/workbench/browser/parts/statusbar/statusbarPart.ts Restores status background and edge fill.
src/vs/workbench/browser/parts/paneCompositePart.ts Updates inset documentation.
src/vs/workbench/browser/parts/editor/editorPart.ts Updates floating-editor documentation.
src/vs/workbench/browser/parts/activitybar/activitybarPart.ts Revises activity-bar gutter sizing.
src/vs/workbench/browser/media/floatingPanels.css Reframes shell colors and card spacing.
src/vs/workbench/browser/layout.ts Suppresses non-HC window borders in Modern UI.
src/vs/platform/agentHost/common/cloudSandboxAgentHost.ts Removes extra blank lines.
extensions/copilot/src/platform/ignore/node/test/mockCAPIClientService.ts Removes extra blank lines.

Co-authored-by: Copilot <[email protected]>

# Conflicts:
#	src/vs/workbench/contrib/styleOverrides/browser/media/activityBar.css
Keep inactive title gutters synchronized, correct activity rail sizing at exposed window edges, and refresh status bar edge styling when Modern UI is toggled.

Co-authored-by: Copilot <[email protected]>
@hawkticehurst
Hawk Ticehurst (hawkticehurst) marked this pull request as ready for review August 7, 2026 22:07
@vs-code-engineering

Copy link
Copy Markdown
Contributor

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

Benjamin Christopher Simmonds (@benibenj)

Matched files:

  • src/vs/workbench/browser/parts/activitybar/activitybarPart.ts
  • src/vs/workbench/browser/parts/editor/editorPart.ts
  • src/vs/workbench/browser/parts/paneCompositePart.ts
  • src/vs/workbench/browser/parts/statusbar/statusbarPart.ts
  • src/vs/workbench/browser/parts/titlebar/titlebarPart.ts
  • src/vs/workbench/browser/parts/views/viewPaneContainer.ts
  • src/vs/workbench/services/layout/browser/layoutService.ts
  • src/vs/workbench/services/layout/test/browser/layoutService.test.ts

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI Review: The blank-line-only edits in extensions/copilot/src/platform/ignore/node/test/mockCAPIClientService.ts, src/vs/platform/agentHost/common/cloudSandboxAgentHost.ts, and src/vs/workbench/contrib/chat/browser/voiceClient/voiceGlow.ts are unrelated to the Modern UI theming change and make review and revert less focused. Please revert these cleanup-only edits.

Comment thread src/vs/workbench/browser/layout.ts Resolved
Scope Modern UI border suppression to the main workbench and title bar so auxiliary windows continue honoring contributed window and title borders.

Co-authored-by: Copilot <[email protected]>
@hawkticehurst
Hawk Ticehurst (hawkticehurst) merged commit eb55ea1 into main Aug 7, 2026
29 checks passed
@hawkticehurst
Hawk Ticehurst (hawkticehurst) deleted the agents/exploratory-ui-design-editor-window branch August 7, 2026 23:20
@vs-code-engineering vs-code-engineering Bot added this to the 1.133.0 milestone Aug 7, 2026
John Papa (johnpapa) added a commit to johnpapa/vscode-peacock that referenced this pull request Sep 5, 2026
…pendabot (#716)

* Remove stale modernUI compatibility warning (#711)

VS Code fixed workbench.experimental.modernUI color customization support upstream (microsoft/vscode#329701), so Peacock colors now apply normally with modernUI enabled. The one-time in-product notice added while that was broken is no longer accurate, per #711 and the closed tracking issue #652. Removes the notice code/tests and updates README/guide/changelog.

Co-Authored-By: Claude Sonnet 5 <[email protected]>

Claude-Session: https://claude.ai/code/session_01AuLeTeddevHj2CBBQVDFdR

* Add regression tests ensuring Peacock is modernUI-agnostic (#652)

Since VS Code upstream now handles workbench.experimental.modernUI color customizations correctly, Peacock itself has no code path that special-cases modernUI. Adds tests proving applyColor() produces identical workbench.colorCustomizations output whether modernUI is enabled or disabled, so a regression here would be caught in CI regardless of which VS Code UI a contributor is testing against.

Also fixes an unreleased version number I incorrectly hardcoded in the guide doc in the prior commit.

Co-Authored-By: Claude Sonnet 5 <[email protected]>

Claude-Session: https://claude.ai/code/session_01AuLeTeddevHj2CBBQVDFdR

* Group dependabot npm/actions updates to cut PR noise

11 separate open dependabot PRs (one per dependency) is unmanageable to triage. Groups minor/patch npm bumps into a single PR, keeps major-version bumps in their own group so they get the extra scrutiny they need instead of being buried, and groups all github-actions bumps together since those are low-risk. Also adds the dependencies label explicitly for filtering.

Co-Authored-By: Claude Sonnet 5 <[email protected]>

Claude-Session: https://claude.ai/code/session_01AuLeTeddevHj2CBBQVDFdR

* Fix modernUI regression test's own comparison bug

CI on this PR failed with the parity test asserting Peacock writes
different config depending on modernUI -- but the dumped "actual"
object showed every color value matching. The real problem: the test
spread VS Code's live WorkspaceConfiguration object (which carries
get/has/inspect/update as own properties) into a plain object, so
assert.deepStrictEqual compared those method references between two
separate calls and failed on identity, not on any real data
difference. Switched to getColorCustomizationConfigFromWorkspace(),
which returns genuine plain data and is what the rest of the test
suite already uses for reading back written config.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01AuLeTeddevHj2CBBQVDFdR

---------

Co-authored-by: Claude <[email protected]>
John Papa (johnpapa) added a commit to johnpapa/vscode-peacock that referenced this pull request Sep 5, 2026
The changelog referenced the fix PR (microsoft/vscode#329701) but not
the originating bug report. Added microsoft/vscode#326126 ("Some
color theme settings and color customizations are ignored in modern
UI mode") with verified titles/authorship for both, so readers can
trace the root cause upstream, not just the fix.


Claude-Session: https://claude.ai/code/session_01AuLeTeddevHj2CBBQVDFdR

Co-authored-by: Claude <[email protected]>
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Sep 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

3 participants