Skip to content

Enable translucency

No due date 0% complete

Trying to apply macOS translucency effect in Asri.
Currently it seems impossible to achieve this in renderer process.

Prerequisites:

  1. Enable transparent: true in main process
  2. Transparent background color: can be achieved using setBackgroundColor in renderer process

Reference materials:

  1. https://www.electronjs.org/docs/latest/api/browser-window#winsetvibr…

Trying to apply macOS translucency effect in Asri.
Currently it seems impossible to achieve this in renderer process.

Prerequisites:

  1. Enable transparent: true in main process
  2. Transparent background color: can be achieved using setBackgroundColor in renderer process

Reference materials:

  1. https://www.electronjs.org/docs/latest/api/browser-window#winsetvibrancytype-macos
  2. https://developer.apple.com/documentation/appkit/nsvisualeffectview?preferredLanguage=objc
  3. https://github.com/illixion/vscode-vibrancy-continued
Loading