D24593: Modified breeze shadows

Niccolò Venerandi noreply at phabricator.kde.org
Tue Oct 15 18:05:07 BST 2019


niccolove added a comment.


  In D24593#546586 <https://phabricator.kde.org/D24593#546586>, @filipf wrote:
  
  > > b) radial gradients instead of linear on the four sides to make the center darker than the angles.
  >
  > Other than this, they look great to me. I think they should be uniformly dispersed.
  >
  > One of the things with shadows is that the user shouldn't really notice them. With the radial style I can't help but notice there's shadows missing in the corners.
  
  
  What do you think?
  F7601293: Screenshot_20191015_190157.png <https://phabricator.kde.org/F7601293>
  
  In D24593#546731 <https://phabricator.kde.org/D24593#546731>, @Luwx wrote:
  
  > Making good looking pure svg box shadows is a bit tricky.
  >
  > A while back I tried to create one:
  >
  > F7590931: shadow.png <https://phabricator.kde.org/F7590931>
  >
  > The left one uses blur (like breeze decoration does) and the right uses gradients with quite a few stops to emulate the blurred square (I don't know if this has any effect on performance), radial gradients were used only in the corners.
  >
  > It this is of any help, here is the svg: F7590940: shadow.svg <https://phabricator.kde.org/F7590940>
  
  
  Thanks, that's interesting. May I ask why did you use multiple linear gradients instead of a big linear one?

REPOSITORY
  R242 Plasma Framework (Library)

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

To: niccolove, #vdg
Cc: Luwx, filipf, ngraham, davidedmundson, kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191015/2b781454/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list