SemanticDiff icon indicating copy to clipboard operation
SemanticDiff copied to clipboard

Incorrect palette when using light theme

Open ZaninAndrea opened this issue 8 months ago • 4 comments
trafficstars

Describe the Bug Some text in the diff is very hard to read with a light theme.

To Reproduce Steps to reproduce the behavior:

  1. Set a light theme
  2. Open any diff

Expected Behavior The color palette should roughly match the one used by the built-in diff viewer, or at least it should be readable.

Actual Behavior Semanticdiff uses lighter colors for the text and thus they are very hard to read

Screenshots Semanticdiff viewer:

Image

Built-in viewer:

Image

With dark theme the issue doesn't happen: both viewers work fine.

Image Image

SemanticDiff Version 0.10.0

ZaninAndrea avatar Mar 11 '25 11:03 ZaninAndrea

Thanks for the bug report. I just tried to reproduce it using the default light themes in VS Code 1.98.1 but didn't encounter this issue. Can you provide more information about what theme(s) you are using and whether you have setup any Token Color Customizations settings?

mmueller2012 avatar Mar 11 '25 13:03 mmueller2012

I have tried using Light Modern (the default light theme), bt the issue remains. I have no token color customization settings configured. Any other ideas?

ZaninAndrea avatar Mar 19 '25 15:03 ZaninAndrea

Update: I have no idea why, but for some reason now the light theme is working correctly, I didn't change anything in the configuration

ZaninAndrea avatar Mar 20 '25 09:03 ZaninAndrea

I'm also seeing this exact behavior with 0.10.0 and VS Code 1.99.2. I'm using the Bearded Theme Light theme.

Edit:

I just noticed that I was getting similar behavior in the dark theme:

Image

I switched my theme back to the light theme, and now the coloring is working fine there:

Image

I think the difference is that the 1st time my VS Code instance launched in light mode, vs the 2nd time it launched in dark mode, but I'm not certain.

dudeofawesome avatar May 16 '25 22:05 dudeofawesome