TexWorks seems to recognize dark mode and switch accordingly (changing the theme in Budgie desktop settings flips the colors in TexWorks application).
Unfortunately, key font colors are practically illegible making it impossible to use in dark mode:
I searched a bit on how to do this and found that there is something called Qt stylesheets that allow you to control the appearance. I am not sure if these are already used by Solus or not, or even whether this would be something that needs action by the package maintainer or something more core in Solus that deals with all Qt applications in general.
Is there any chance that its integration can be improved so that it can be used with dark themes in Solus?