Add active, link, visited, negative, neutral and positive background colors
ClosedPublic

Authored by ndavis on Jan 18 2020, 1:41 AM.

Details

Summary

Buttons colored with special text role colors as backgrounds don't always look nice with black text on light themes. They should have been using background role colors for the background, but the background role colors they needed weren't available. This patch adds the missing background role colors.

Diff Detail

Repository
R169 Kirigami
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
ndavis created this revision.Jan 18 2020, 1:41 AM
Restricted Application added a project: Kirigami. · View Herald TranscriptJan 18 2020, 1:41 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
ndavis requested review of this revision.Jan 18 2020, 1:41 AM
ndavis edited the summary of this revision. (Show Details)Jan 18 2020, 1:44 AM
mart requested changes to this revision.Jan 20 2020, 9:50 AM

This is ok, but is missing a piece.
this should be reflected also in
qqc2-desktop-style/kirigami-plasmadesktop-integration/plasmadeksotptheme.cpp or it won't actually follow the configured color scheme.

in that file, look for all instances talking about PositiveTextColor, and add the missing colors from there pretty much copying what's already in

This revision now requires changes to proceed.Jan 20 2020, 9:50 AM
mart accepted this revision.Jan 20 2020, 9:56 AM
This revision is now accepted and ready to land.Jan 20 2020, 9:56 AM
This revision was automatically updated to reflect the committed changes.