hediet / vscode-drawio

This unofficial extension integrates Draw.io (also known as diagrams.net) into VS Code.
https://marketplace.visualstudio.com/items?itemName=hediet.vscode-drawio
GNU General Public License v3.0
9.02k stars 406 forks source link

vscode-drawio shows up as purple in dark mode #411

Open scubanarc opened 6 months ago

scubanarc commented 6 months ago

Using VSCode in dark mode with default options, vscode-drawio is showing up as a kind of purple color. This happens if the theme is set to either automatic or dark. The other themes work fine, but none of them are dark.

Can I edit the theme somehow to change the colors?

Here's a screenshot of the purple'ish color:

drawio-purple

nelchael730 commented 6 months ago

Same, its gross

scubanarc commented 6 months ago

I found a temporary fix. Edit this file:

C:\Users{username}.vscode\extensions\hediet.vscode-drawio-1.6.6\drawio\src\main\webapp\styles\dark.css

Near the top in the root selector, change the variable for panel-color to #181818, like this:

--panel-color: #181818;

You do not have to restart VSCode, just close and re-open your drawing.