sessions: make gradient shell background default#312855
Merged
Merged
Conversation
Remove the sessions experimental shell gradient toggle and always apply the shell gradient styling for the sessions workbench. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
|
⏳ Queued vscode build for
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR makes the Sessions/Agents window’s accent-tinted shell gradient background the default behavior, removing the previous experimental opt-in setting and updating the corresponding CSS hook and layout documentation.
Changes:
- Always apply the sessions shell gradient background by default (no config toggle).
- Remove the
sessions.experimental.shellGradientBackgroundsetting and its configuration registration/constant. - Rename the workbench CSS hook from
experimental-shell-gradient-backgroundtoshell-gradient-backgroundand update documentation accordingly.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/vs/sessions/contrib/sessions/browser/media/sessionsViewPane.css | Updates selectors to use the new shell-gradient-background root class for transparent viewpane/sidebar backgrounds. |
| src/vs/sessions/contrib/configuration/browser/configuration.contribution.ts | Removes the configuration registration for the deleted experimental setting. |
| src/vs/sessions/common/configuration.ts | Deletes the now-unused setting ID constant. |
| src/vs/sessions/browser/workbench.ts | Renames the layout class and applies shell-gradient-background unconditionally; removes configuration listener/toggle plumbing. |
| src/vs/sessions/browser/media/style.css | Renames the CSS hook to shell-gradient-background for the root gradient layer and related transparency rules. |
| src/vs/sessions/LAYOUT.md | Updates the layout spec to reflect the new default behavior and documents the change in revision history. |
bpasero
approved these changes
Apr 27, 2026
Contributor
|
❌ vscode build did not succeed (result: |
Contributor
|
⏳ Queued vscode build for
|
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
sessions.experimental.shellGradientBackgroundsetting and its workbench/configuration plumbingshell-gradient-backgroundand update the layout specMinor note: Also using this PR to test this TPI: #312430
Testing
npm run compile-check-ts-nativenpm run valid-layers-checknode --experimental-strip-types build/hygiene.ts src/vs/sessions/browser/workbench.ts src/vs/sessions/browser/media/style.css src/vs/sessions/contrib/configuration/browser/configuration.contribution.ts src/vs/sessions/contrib/sessions/browser/media/sessionsViewPane.css src/vs/sessions/LAYOUT.md