<table><tr><td style="">broulik updated this revision to Diff 51085.<br />broulik retitled this revision from "Reparse background contrast settings when colors changed" to "Do background contrast fallback at runtime".<br />broulik edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-dm7y3rvyriqhzgp/">(Show Details)</a>
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D18487">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;">When <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">switching between light and dark system colors</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">a theme doesn't supply background contrast values, we take an educated guess based on whether it's a dark or light theme. We didn't update the values when switching only color schemes at runtime (when theme follows it).<br />
This lead to washed out Plasma popup and panel backgrounds. Instead</span>, <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">the background contrast might change which we didn't do at runtime leading to washed out Plasma popup backgrounds.</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">compute the fallback value at runtime</span><br />
Also, while at it, update complimentary colorscheme as well, which was forgotten here.<div style="padding: 8px 0;">...</div></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R242 Plasma Framework (Library)</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D18487?vs=50142&id=51085">https://phabricator.kde.org/D18487?vs=50142&id=51085</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D18487">https://phabricator.kde.org/D18487</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/plasma/private/theme_p.cpp<br />
src/plasma/theme.cpp</div></div></div><br /><div><strong>To: </strong>broulik, Plasma<br /><strong>Cc: </strong>mart, ngraham, kde-frameworks-devel, michaelh, bruns<br /></div>