Open Rufistofeles opened 1 year ago
Same issue over here. FYI: https://developercommunity.visualstudio.com/t/Visual-Studio-2022-Preview-50-Theme-bug/10506590
I made it worked.
There are some dedicated vstheme categories.
@0x5bfa That looks great! It would be awesome if you could share the adjustments you have made 🎉
Sure. While I'm about to forget what those elements mean, here it is.
This theme below is not for OneDarkPro but GitHub Dark, and so you have to make some color changes to make it look better.
<Category Name="Shell" GUID="{73708ded-2d56-4aad-b8eb-73b20d3f4bff}">
<Color Name="AccentFillDefault">
<Background Type="CT_RAW" Source="FF005CC5" />
</Color>
<Color Name="SolidBackgroundFillTertiary">
<Background Type="CT_RAW" Source="FF24292E" />
</Color>
</Category>
<Category Name="ShellInternal" GUID="{5af241b7-5627-4d12-bfb1-2b67d11127d7}">
<Color Name="EnvironmentBackground">
<Background Type="CT_RAW" Source="FF1F2428" />
</Color>
<Color Name="EnvironmentBadge">
<Background Type="CT_RAW" Source="FF176F2C" />
</Color>
<Color Name="EnvironmentBorder">
<Background Type="CT_RAW" Source="FF005CC5" />
</Color>
<Color Name="EnvironmentIndicator">
<Background Type="CT_RAW" Source="FF1B1F23" />
</Color>
<Color Name="EnvironmentLogo">
<Background Type="CT_RAW" Source="FF005CC5" />
</Color>
<Color Name="EnvironmentLayeredBackground">
<Background Type="CT_RAW" Source="4D000000" />
</Color>
</Category>
PS, this won't affect on existing theme colors because those categories are newly introduced and VS2022 17.7 or earlier won't recognize. It means that you just have to append those categories above to the existing vstheme file.
@0x5bfa Thank you very much for that, I'll test it out soon.
When my VS2022 updated to Version 17.8.0 Preview 5.0, the dark theme isn't working anymore, it only shows light color menu and dark color text space.