digiclock looks

Sebastian Kügler sebas at kde.org
Fri Oct 22 18:36:25 CEST 2010


Hey friends,

With all the shininess in the panel, the clock is starting to look more and 
more out of place. (In fact, I got annoyed when reading a Plasma 4.5 review in 
a linux mag mentioning that the clocks now looks "even more oudated" with the 
new system tray -- all this beauty is just creating extra work :P). So I 
played around with an idea of adding a slight emboss effect to it, similar to 
what Hugo does in the Window title. The main time is also painted in a 
slightly translucent black (or rather text color), so it doesn't jump out 
quite so much, blending in better with the system tray's icons. I think it 
already looks a bit better -- though not perfect yet. (My effect might even be 
overdoing it a  little, but that can surely be tweaked.) I've only quickly 
checked if it works with white-on-black themes as well, and that seems to be 
the case (althogh the emboss effect is not visible because it's painted in 
translucent black on black, still the white of the clock doesn't shout for as 
much attention anymore.

What do you think of this? I've attached my current patch in case you feel 
like tweaking the values a bit. It's a rather simple patch, we basically paint 
the time twice, once in "fairly translucent white" (of course taken from the 
theme), once in a translucent version of the foreground color (usually black). 
I've added a teeny-tiny bit of translucency here as well to make it look a 
little lighter, so it's not those thick black letters.

I'd like to invite feedback how to improve it further, and comments on this 
idea.

Cheers,
-- 
sebas

http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digiclock-shadow-oxygen.png
Type: image/png
Size: 26702 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20101022/6fa5f0fe/attachment-0004.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digiclock-untouched-oxygen.png
Type: image/png
Size: 20939 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20101022/6fa5f0fe/attachment-0005.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digiclock-untouched-air.png
Type: image/png
Size: 19065 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20101022/6fa5f0fe/attachment-0006.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digiclock-shadow-air.png
Type: image/png
Size: 34597 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20101022/6fa5f0fe/attachment-0007.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digiclock-whiteshadow1.diff
Type: text/x-patch
Size: 2346 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20101022/6fa5f0fe/attachment-0001.diff 


More information about the Plasma-devel mailing list