D13233: Support for the Custom color set
Marco Martin
noreply at phabricator.kde.org
Thu May 31 09:57:18 UTC 2018
mart created this revision.
mart added a reviewer: Kirigami.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
mart requested review of this revision.
REVISION SUMMARY
In some scenarios, some applications need certain areas with completely custom
palettes, for instance if a piece of ui is on top of an image it may make
sense that hierarchy uses whatever the dominant colors of such image are.
in the scenario of a Custom color set, the qml code would look like this:
needs D13232 <https://phabricator.kde.org/D13232>
Item {
Kirigami.Theme.inherit: false
Kirigami.Theme.colorSet: Kirigami.Theme.Custom
Kirigami.Theme.textColor: "#af2352"
Kirigami.Theme.backgroundColor: "#124523"
...
}
TEST PLAN
piece with a custom set in the gallery
REPOSITORY
R858 Qt Quick Controls 2: Desktop Style
BRANCH
mart/customColors
REVISION DETAIL
https://phabricator.kde.org/D13233
AFFECTED FILES
kirigami-plasmadesktop-integration/plasmadesktoptheme.cpp
To: mart, #kirigami
Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180531/1fc9d0f5/attachment.html>
More information about the Plasma-devel
mailing list