<table><tr><td style="">kossebau created this revision.<br />kossebau added reviewers: Plasma, VDG.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.<br />kossebau requested review of this revision.
</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/D12318">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>For a consistent UX use the same component code for config UI elements<br />
showing a currently selected color and allowing to trigger a color picker to<br />
select another color.</p>

<p>Ideally in the future we can have a ready-to-use component in PlasmaExtras.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>All buttons adapt to color changes as well as trigger the color dialog if<br />
activated.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R114 Plasma Addons</div></div></div><br /><div><strong>BRANCH</strong><div><div>useconsistentcolorbutton</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D12318">https://phabricator.kde.org/D12318</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>applets/binary-clock/package/contents/ui/ColorButton.qml<br />
applets/binary-clock/package/contents/ui/configGeneral.qml<br />
applets/systemloadviewer/package/contents/ui/ColorPicker.qml</div></div></div><br /><div><strong>To: </strong>kossebau, Plasma, VDG<br /><strong>Cc: </strong>plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>