mart created this revision. mart added a reviewer: Kirigami. Restricted Application added a project: Kirigami. 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: 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 R169 Kirigami BRANCH mart/customColors REVISION DETAIL https://phabricator.kde.org/D13232 AFFECTED FILES examples/gallerydata/contents/ui/gallery/ColorSetGallery.qml src/kirigamiplugin.cpp src/libkirigami/basictheme.cpp src/libkirigami/platformtheme.cpp src/libkirigami/platformtheme.h src/styles/Material/Theme.qml To: mart, #kirigami Cc: plasma-devel, apol, davidedmundson, mart, hein