Closed memeplex closed 4 years ago
I don't know if this helps but that what they said at Anki's forums about the webview:
Anki sets the webview to the window color:
return self.style().standardPalette().color(QPalette.Window)
I don't know if this helps but that what they said at Anki's forums about the webview:
Anki sets the webview to the window color:
return self.style().standardPalette().color(QPalette.Window)
That helps, thank you. If I implement standardPalette() in Adwaita, then I can change the color, however with dark theme it still looks weird as it uses black color for text. I will look how to implement it properly and let you know.
Here is some additional info:
please note that Anki can not automatically cope with dark themes, but if switched to night mode in the preferences it will use white text.
BTW this is the thread https://anki.tenderapp.com/discussions/ankidesktop/40699-wrong-colors-using-adwaita-qt-theme
Should be fixed with https://github.com/FedoraQt/adwaita-qt/commit/ebd3ff2f1a3259f18d691a360a411c266421f6e3.
Thanks!
Versions: