connors / photon

The fastest way to build beautiful Electron apps using simple HTML and CSS
photonkit.com
MIT License
10k stars 577 forks source link

Add support for vibrancy #124

Open jashsayani opened 7 years ago

jashsayani commented 7 years ago

Add support for vibrancy - this might need changes to Electron as it would have to get background information about content behind the window and pass the data to the web app, that can then render a blurred version of the content as the background.

More information: https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSVisualEffectView_Class/

scherii commented 7 years ago

Changes have been made. 😄

https://github.com/electron/electron/pull/7898

jashsayani commented 7 years ago

Nice! Since Electron has support for vibrancy now, CSS tweaks can be made to Photon now to ensure the UI looks good with vibrancy enabled.