Skip to content

new theme notification#306827

Open
aeschli wants to merge 4 commits intorelease/1.114from
aeschli/compact-earwig-201
Open

new theme notification#306827
aeschli wants to merge 4 commits intorelease/1.114from
aeschli/compact-earwig-201

Conversation

@aeschli
Copy link
Copy Markdown
Contributor

@aeschli aeschli commented Mar 31, 2026

No description provided.

@aeschli aeschli enabled auto-merge (squash) March 31, 2026 15:55
@aeschli aeschli self-assigned this Mar 31, 2026
Comment on lines +272 to +274
if (![ThemeSettingDefaults.COLOR_THEME_DARK, ThemeSettingDefaults.COLOR_THEME_LIGHT].includes(this.settings.colorTheme)) {
return;
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Not sure I understand this. We return early if the current theme is not one of the 2026 themes?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is to test that the user is on the default, which is now Dark/Light 2026.

const keepTheme = await new Promise(resolve => {
this.notificationService.prompt(
Severity.Info,
nls.localize({ key: 'themeUpdatedNotification', comment: ['{0} is the name of the new default theme'] }, "VS Code now ships with a new default theme '{0}'. Do you want to give it a try?", this.getColorTheme().label),
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Do you want to give it a try? sounds to me like you haven't already switched the theme, but the action "Keep it" sounds like you have already switched the theme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants