Created attachment 107211 [details] The bright white content pane When using the dark theme from Breeze, all the akregator application colors change correctly, apart from the content pane. This is hard on the eyes. Would it be possible to change the background-color and color attribute so that it match the theme and the other panes?
There are some themes for this pane in /usr/share/akregator/grantleetheme/5.2. One could edit them by hand and it sort of works... apart from obvious problems. * These changes will be overwritten on the next upgrade :) * When content changes, the pane flickers white. * Not sure whether there's a simple way to access system colors from the templates.
Well, thanks for the hint. I modified all the files there (that was needed otherwise some parts of Akregator did not update), and there is no white flickers when changing pane! The files : https://gist.github.com/AlexandreBonneau/c41066e36191db7c135af7db3ccab9fa To the maintainer; any news about fixing that in the near future? (this does look like an easy one, but perhaps I'm mistaken)
> I modified all the files there Thanks for sharing those html files, Alexandre. I placed them in $HOME/.local/share/akregator/grantleetheme/5.2 and they make the content pane much easier on the eyes.
Created attachment 159874 [details] Akregator 22.12.3 theme dark patch Akregator 22.12.3 changed its grantleetheme HTML, so continuing to use AlexandreBonneau's version yields tiny text. Here's a patch against the new version. The patch simply changes the foreground & background colors on two elements in each of the four theme files: body { color: white ! important; background: #232629 ! important; } .headerbox { color: white ! important; }
Created attachment 165877 [details] A screenshot of Kontact's feed reader, showing the application in Breeze Dark but the feed content in a light theme
This is still an issue for me on Linux Mint 21.3 Cinnamon using the Kontact 23.08.4 flatpak.
A possibly relevant merge request was started @ https://invent.kde.org/pim/akregator/-/merge_requests/49
Git commit cc8207d6200cf2d57af98d9454043c79eedb642e by Carl Schwan, on behalf of Martín González Gómez. Committed on 22/04/2024 at 09:50. Pushed by carlschwan into branch 'master'. Add dark mode support for article view M +88 -38 src/formatter/grantleeviewformatter.cpp M +6 -1 src/formatter/grantleeviewformatter.h M +20 -9 src/formatter/html/5.2/normalview.html https://invent.kde.org/pim/akregator/-/commit/cc8207d6200cf2d57af98d9454043c79eedb642e