-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draw white shadow underneath menubar icon #5
Comments
Why is it needed? Have you customized your menubar or? The text don't have white shadow. Could you tell me some more details like what computer you have and a screenshot of how it look now? |
I haven't customized my menubar at all; this is all with the default OS X theme. Every item in the OS X menubar has a faint white shadow underneath, to make it look like all the text and icons are indented. It's clearer with a black desktop background: http://cl.ly/image/2x1v1J2i1x0B/o And even clearer when you take a transparent screenshot of SystemUIServer: http://cl.ly/image/353o0Q0i1S3P/o And here's a screenshot of Battery Time Remaining — with a shadow under the text, but not under the icon: http://cl.ly/image/2u0K2Q1R2p0F/o The white shadows are at 45% opacity, and the black icons/text are at 90% opacity. So an easy way to generate the icon is to create a 50% opacity white shadow, put it underneath the black icon, merge the two, and reduce the opacity of the merged image to 90%. (If you don't merge the images before decreasing the opacity, the white shadow will shine through the transparent black icon, and then the resulting icon will be gray rather than black.) |
oh ok, I didnt know or see that every icon had a white shadow underneath, but now I know. It is so small :P Hm, I have looked around on how to apply this shadow and I cant find any easy way to program this. Ill try some more. |
How do you take a transparent screenshot? |
Do Shift-Command-4, then press Space, then click on a window. (Menubar icons count as windows.) Plenty more info here: http://take-a-screenshot.org Thanks @guillaume-algis and @codler! |
The text is fine, but the icon is missing it!
The text was updated successfully, but these errors were encountered: