Socket
Socket
Sign inDemoInstall

glasstron-clarity

Package Overview
Dependencies
1
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    glasstron-clarity

The go-to solution to Electron composition effects


Version published
Weekly downloads
0
Maintainers
1
Created
Weekly downloads
 

Readme

Source

It is now possible to apply a blur effect without Glasstron, as of Electron v24.x.x. Therefore, development for Glasstron has been discontinued.

Applying Window Blur without Glasstron

To add the blur effect for both Windows and macOS, add the following to your BrowserWindow configuration:

  ...
  backgroundMaterial: `auto`
  vibrancy: `dark`
  ...

Windows (#38163)

As of Electron v24.x.x, applying the acrylic/mica effect is now possible.

Options:

  • auto
  • none
  • mica
  • acylic
  • tabbed

macOS

Options:

  • appearance-based
  • light
  • dark
  • titlebar
  • selection
  • menu
  • popover
  • sidebar
  • medium-light
  • ultra-dark
  • header
  • sheet
  • window
  • hud
  • fullscreen-ui
  • tooltip
  • content
  • under-window
  • or under-page

Linux

What about Linux? Well, that's complicated as you need to keep in mind that everyone using Linux is using a different desktop environmnet and has it setup to their own preferences.

Glasstron will not continue development just for Linux users. We do not find that it is worth it.

Keywords

FAQs

Last updated on 30 May 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc