<table><tr><td style="">rpelorosso created this revision.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.
</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/D8361" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This patch solves the following problem: In order to obtain light shadows, the inner color should be changed to a light gray, resulting in light shadows that work well over lighter backgrounds, but look like glowing over darker backgrounds. The following screenshot shows this situation:</p>
<p><a href="https://phabricator.kde.org/F5437223" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;" rel="noreferrer">F5437223: image.png</a></p>
<p>In order to allow having light shadows that behave as shadows over darker backgrounds I've introduced a new option for setting the overall shadow intensity. This value defaults to 100%, making shadows behave as they did prior to this patch.</p>
<p>With this new option, light shadows can be obtained setting the inner color to black, and the intensity to a low value. Here's how it looks with an intensity of 50%.</p>
<p><a href="https://phabricator.kde.org/F5437226" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;" rel="noreferrer">F5437226: image.png</a></p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Change the intensity value and see shadows become more or less intense (alpha value changing)</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R113 Oxygen Theme</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D8361" rel="noreferrer">https://phabricator.kde.org/D8361</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>liboxygen/oxygenactiveshadowconfigdata.kcfg<br />
liboxygen/oxygeninactiveshadowconfigdata.kcfg<br />
liboxygen/oxygenshadowcache.cpp<br />
liboxygen/oxygenshadowconfigwidget.cpp<br />
liboxygen/ui/oxygenshadowconfigurationui.ui</div></div></div><br /><div><strong>To: </strong>rpelorosso<br /><strong>Cc: </strong>plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>