[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: D13232: introduce Custom color set
From: Marco Martin <noreply () phabricator ! kde ! org>
Date: 2018-05-31 9:55:01
Message-ID: 20180531095501.1.CCD1797D63812149 () phabricator ! kde ! org
[Download RAW message or body]
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
[Attachment #3 (unknown)]
<table><tr><td style="">mart created this revision.<br />mart added a reviewer: \
Kirigami.<br />Restricted Application added a project: Kirigami.<br />Restricted \
Application added a subscriber: plasma-devel.<br />mart 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/D13232">View Revision</a></tr></table><br \
/><div><strong>REVISION SUMMARY</strong><div><p>In some scenarios, some applications \
need certain areas with completely custom<br /> palettes, for instance if a piece of \
ui is on top of an image it may make<br /> sense that hierarchy uses whatever the \
dominant colors of such image are.<br /> in the scenario of a Custom color set, the \
qml code would look like this:<br /> Item {</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" \
data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px \
"Menlo", "Consolas", "Monaco", monospace; padding: \
12px; margin: 0; background: rgba(71, 87, 120, \
0.08);">Kirigami.Theme.inherit: false
Kirigami.Theme.colorSet: Kirigami.Theme.Custom
Kirigami.Theme.textColor: "#af2352"
Kirigami.Theme.backgroundColor: "#124523"
...</pre></div>
<p>}</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>piece with a custom \
set in the gallery</p></div></div><br \
/><div><strong>REPOSITORY</strong><div><div>R169 Kirigami</div></div></div><br \
/><div><strong>BRANCH</strong><div><div>mart/customColors</div></div></div><br \
/><div><strong>REVISION DETAIL</strong><div><a \
href="https://phabricator.kde.org/D13232">https://phabricator.kde.org/D13232</a></div></div><br \
/><div><strong>AFFECTED \
FILES</strong><div><div>examples/gallerydata/contents/ui/gallery/ColorSetGallery.qml<br \
/> src/kirigamiplugin.cpp<br />
src/libkirigami/basictheme.cpp<br />
src/libkirigami/platformtheme.cpp<br />
src/libkirigami/platformtheme.h<br />
src/styles/Material/Theme.qml</div></div></div><br /><div><strong>To: </strong>mart, \
Kirigami<br /><strong>Cc: </strong>plasma-devel, apol, davidedmundson, mart, hein<br \
/></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic