D8232: Add option to center shadow

rodrigo pelorosso noreply at phabricator.kde.org
Sat Oct 14 16:01:42 UTC 2017


rpelorosso added a comment.


  In https://phabricator.kde.org/D8232#155278, @hpereiradacosta wrote:
  
  > 4/ note that oxygen has centered shadows everywhere (decoration, menus and buttons).
  
  
  That's true, but Oxygen shadows suffer from a different issue, as they seem to blend in an odd way. For example, say you want a light shadow. In order to achieve this effect you need to change the inner color to a light gray. This works fine over lighter backgrounds, but over a darker background the shadow becomes a gray glow, as seen here:
  
  F5429686: image.png <https://phabricator.kde.org/F5429686>
  
  This could be fixed by adding an option to change the shadow's alpha, so that a light shadow can be created with a small alpha and setting black as inner color. At first I thought about creating a patch to allow this in Oxygen, but I really like Breeze so I decided to try with this patch we're discussing now.
  
  In https://phabricator.kde.org/D8232#155305, @mvourlakos wrote:
  
  > I tried my best at the following screenshot to show a good top and left shadow, that was the best I could do.
  >  The settings for size and strength are: 57px.  -  37%  take into account that I am in a hidpi screen.
  
  
  I tried at first playing with the parameters, but I couldn't come up with a good result. For me, the screenshot you present just feels unbalanced, and trying to focus on the window content makes me feel dizzy.
  
  As for shadows in menues and windows, I'm fine with the way they look now, but I wouldn't mind having centered shadows in menues as well.

REPOSITORY
  R31 Breeze

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

To: rpelorosso, #breeze, #vdg, hpereiradacosta
Cc: mvourlakos, rkflx, ngraham, davidedmundson, mart, plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20171014/3f74bfe9/attachment-0001.html>


More information about the Plasma-devel mailing list