Like edit-delete, the negative color is not even coming from QPalette but KColorScheme so it's not even possible to override from Kirigami. Creating the bug here because I'm not sure where else. It's either: * breeze for using the negative color, or for not providing a text-colored action-delete icon * Kirigami for only allowing to override the active text color * KColorScheme for not allowing to provide a KColorScheme.
Created attachment 141633 [details] remove color is all red
kiconloader supports negative text colors, the issue is not exactly that. the problem here is that the button is colored with negative text color, but the edit-delete icon is as well, technically correctly, but they are colored wit hthe same color
(In reply to Marco Martin from comment #2) > kiconloader supports negative text colors, the issue is not exactly that. > > the problem here is that the button is colored with negative text color, but > the edit-delete icon is as well, technically correctly, but they are colored > wit hthe same color though however, indeed KIconLoader::setCustomPalette is a problem
*** Bug 436535 has been marked as a duplicate of this bug. ***
Git commit 4724eb820176df335fae586f929977af928affa3 by Nate Graham, on behalf of Aleix Pol. Committed on 05/10/2021 at 21:41. Pushed by ngraham into branch 'master'. Also highlight charged text colors It can happen that the colors and the background are the same and then we're at a loss. M +3 -3 src/kiconcolors.cpp https://invent.kde.org/frameworks/kiconthemes/commit/4724eb820176df335fae586f929977af928affa3