hugolabe / Wike

Wikipedia Reader for the GNOME Desktop
https://hugolabe.github.io/Wike/
GNU General Public License v3.0
259 stars 33 forks source link

Article view background doesn't change with custom libadwaita colors #195

Open PoisonFrog opened 3 months ago

PoisonFrog commented 3 months ago

It seems like the article view background is hardcoded to use the GNOME theme color instead of changing along with libadwaita. This is relevant when using COSMIC Desktop with the auto theming of libadwaita because Wike's Article View pane doesn't change its background color to match the new theme. Everything else in the application does except the Article View background.

hugolabe commented 1 month ago

The article view is not built with GTK widgets, but is a webview that displays the article's webpage in the mobile version of Wikipedia. In the case of the dark and sepia themes, the colors are changed by injecting CSS into the webpage itself.

Therefore it is normal that the article's colors (neither the background nor any other) do not change when the desktop theme is changed.