D19148: Make shadow sizes linear

Vlad Zagorodniy noreply at phabricator.kde.org
Sat Feb 23 17:39:26 GMT 2019


zzag added a comment.


  In D19148#418083 <https://phabricator.kde.org/D19148#418083>, @ndavis wrote:
  
  > @zzag Is the only difference between the ambient and directional shadow the Y axis offset? If so, why do we have two shadows if they don't work differently?
  
  
  Well, no, that's not that easy, we need them both. On its own, the directional shadow is a little bit harsh/sharp, so the ambient shadow is used to make it softer. Generally speaking, I took inspiration from material shadows <https://material.io/design/environment/light-shadows.html#>. Pay close attention to pictures in "light and shadows" section.

REPOSITORY
  R31 Breeze

BRANCH
  shadow-sizes (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D19148

To: ndavis, #vdg, #breeze, ngraham
Cc: filipf, ngraham, zzag, rooty, plasma-devel, jraleigh, GB_2, 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/20190223/2cf19e12/attachment-0001.html>


More information about the Plasma-devel mailing list