jgraph / drawio-desktop

Official electron build of draw.io
https://www.diagrams.net
Apache License 2.0
47.87k stars 4.82k forks source link

Auto font colour doesn't take into account shape fill colour in dark mode #1733

Open lvmm opened 1 month ago

lvmm commented 1 month ago

Preflight Checklist

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.

Describe the bug Auto font colour doesn't take into account shape fill colour in dark mode.

To Reproduce Steps to reproduce the behavior: prerequisites: dark mode is on

Result it that text is white on white and therefore invisible. Test file is attached, key string is value="some text";fillColor=#FFFFFF;fontColor=none

Expected behavior Font should've been rendered as black.

Screenshots If applicable, add screenshots to help explain your problem.

draw.io version (In the Help->About menu of the draw.io editor):

Desktop (please complete the following information):

1.zip