FedoraQt / adwaita-qt

A style to bend Qt applications to look like they belong into GNOME Shell
Other
492 stars 48 forks source link

Anki is weirdly colored #133

Closed memeplex closed 4 years ago

memeplex commented 4 years ago

image

Versions:

memeplex commented 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)

grulja commented 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)

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.

memeplex commented 4 years ago

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.

memeplex commented 4 years ago

BTW this is the thread https://anki.tenderapp.com/discussions/ankidesktop/40699-wrong-colors-using-adwaita-qt-theme

grulja commented 4 years ago

Should be fixed with https://github.com/FedoraQt/adwaita-qt/commit/ebd3ff2f1a3259f18d691a360a411c266421f6e3.

memeplex commented 4 years ago

Thanks!