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.12k stars 419 forks source link

Colors are broken on Dark Theme #437

Open SirNate0 opened 2 months ago

SirNate0 commented 2 months ago

Text is unreadable with the dark theme if you change the style color on a shape to one with a light background (e.g. orange or yellow from the first page of 8 colors).

On the website: image

In VSCode: image

File:

<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0" version="24.7.7">
  <diagram name="Page-1" id="3dvqd9G-QqC3W91tIDU5">
    <mxGraphModel dx="1434" dy="757" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
      <root>
        <mxCell id="0" />
        <mxCell id="1" parent="0" />
        <mxCell id="zHaRBgl6m7350r0-0Jwm-2" value="Test" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;" vertex="1" parent="1">
          <mxGeometry x="360" y="370" width="120" height="60" as="geometry" />
        </mxCell>
      </root>
    </mxGraphModel>
  </diagram>
</mxfile>
jrmejiaa commented 2 months ago

I would love to have this! Being dark mode so widely use on Devs, I would love to have that in the app.

Awesome extension!