[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    D13233: Support for the Custom color set
From:       Marco Martin <noreply () phabricator ! kde ! org>
Date:       2018-05-31 9:57:18
Message-ID: 20180531095718.1.B5772F482EDF7BFF () phabricator ! kde ! org
[Download RAW message or body]

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


[Attachment #3 (unknown)]

<table><tr><td style="">mart created this revision.<br />mart added a reviewer: \
Kirigami.<br />Restricted Application added a project: Plasma.<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/D13233">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 /> needs <a \
href="https://phabricator.kde.org/D13232" style="background-color: #e7e7e7;  \
border-color: #e7e7e7;  border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">D13232</a><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 \
&quot;Menlo&quot;, &quot;Consolas&quot;, &quot;Monaco&quot;, 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: &quot;#af2352&quot;
Kirigami.Theme.backgroundColor: &quot;#124523&quot;</pre></div>

<p>...</p>

<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>R858 Qt Quick Controls 2: Desktop \
Style</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/D13233">https://phabricator.kde.org/D13233</a></div></div><br \
/><div><strong>AFFECTED \
FILES</strong><div><div>kirigami-plasmadesktop-integration/plasmadesktoptheme.cpp</div></div></div><br \
/><div><strong>To: </strong>mart, Kirigami<br /><strong>Cc: </strong>plasma-devel, \
ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, \
apol, mart<br /></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic