madskristensen / SvgViewer

Shows the rendered image of .svg files
Other
27 stars 10 forks source link

Preview with contrast #11

Closed cl2raul66 closed 1 month ago

cl2raul66 commented 1 year ago

When viewing a bank-colored *.svg file while the Visual Studio theme is clear, you cannot see the image.

One proposal is that it detects the predominant color in the SVG and if light tones predominate, display the image with a dark background and vice versa... Another solution would be to incorporate a button that swaps the background between light and dark.