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
You can make a previous theme compatible with Visual Studio 2026 by merging its existing tokens with a small set of new semantic tokens. You do not need to recreate every previous token. Visual Studio 2026 reads the new tokens first and then falls back to previous tokens. Here is how:
204
-
205
-
1. Add `FallbackId="{Light or Dark theme GUID}"` object at the `<Theme />` object.
206
-
207
-
|**Theme to base on**|**FallbackId**|
208
-
|-|-|
209
-
|Light|{de3dbbcd-f642-433c-8353-8f1df4370aba}|
210
-
|Dark|{1ded0138-47ce-435e-84ef-9ec1f439b749}|
211
-
212
-
2. Append the below set of tokens as the last two categories after the previous theme tokens. Make sure the category name and GUID are copied exactly as below.
213
-
214
-
Minimal migration token overrides for a Light based theme:
3. Adjust the color values to fit the previous theme as needed.
305
-
306
-
:::moniker-end
201
+
You can update existing themes that work with Visual Studio 2022 or earlier to work with Visual Studio 2026. See [Migrate themes to Visual Studio 2026](../migration/modernize-theme-colors.md#migrate-themes-to-visual-studio-2026).
0 commit comments