In dark mode text on shapes with light background is unreadable while editing even when explicitly set to black.
Preflight Checklist
- [x] I agree to follow the Code of Conduct that this project adheres to.
- [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.
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 In dark mode text on shapes with light background is unreadable while editing even when explicitly set to black and is not always readable before or after editing.
To Reproduce prerequisites: dark mode is on
Steps to reproduce the behavior:
- drop archimate rectangular 'business actor' shape on canvas (actually any shape with light solid fill will do, not necessarily from the standard library) - default font is white on light yellow and therefore unreadable
- go to text pane and select black font colour - text becomes black and readable
- press F2 to edit the text and type something - text again becomes unreadable while typing, typing blind
- while still in the text field change font colour to black - it becomes red!
- click elsewhere to exit - black text that looked white becomes black, but black text that looked red becomes invisible - not even white
Expected behavior In all steps all text should've been black
draw.io version (In the Help->About menu of the draw.io editor):
- draw.io version 26.2.2
Desktop (please complete the following information):
- OS: Windows 10
** Additional context
Also note that throughout the whole process the business actor icon in the top right corner remained light and unreadable even though it should've been black from the very start.