🫧 AnkiGlass: native macOS Liquid Glass for Anki

AnkiWeb addon 1866406123

Applies native macOS Liquid Glass or vibrancy to Anki's deck list, overview, reviewer, toolbar, and bottom bar, with configurable tints and runtime toggle.
AI-generated summary; may contain mistakes.

appearance

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Rating
1 (πŸ‘ 1 Β· πŸ‘Ž 0)
Updated
2026-09-10
Anki versions
2.1.1~
Description language
en

Maintenance

active

  • Last update or commit was 21 days before the snapshot (2026-09-10).

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.1+2026-09-10
History across monthly snapshots

Loading…

Similar addons

Change Font Size

Adjusts font size independently per view in Anki 26.08+, including UI, deck browser, card content, and editor, via pixel values in its config.

appearanceaccessibilityfork-or-reupload

Rating 3 πŸ‘ 3 Β· πŸ‘Ž 0 ⭐ 7 Anki 26.08.1~ Updated 2026-08-21
Glass Window

Makes Anki's main window background transparent with adjustable, saved transparency while keeping buttons and text opaque; best on macOS, lightly tested on Linux.

appearance

Rating 0 πŸ‘ 0 Β· πŸ‘Ž 0 Anki 26.05~ Updated 2026-07-13

README

AnkiGlass

Native macOS Liquid Glass for Anki. AnkiGlass gives Anki's main window a real AppKit NSGlassEffectView β€” the macOS 26 "Tahoe" glass material β€” behind the deck list, deck overview, and reviewer, with frosted toolbar and bottom-bar controls and a theme-aware tint.

macOS only. Best on macOS 26 (Tahoe) for true Liquid Glass; older macOS gets a vibrancy (frosted) fallback. On Windows and Linux the add-on does nothing.

Screenshots

<img width="1800" height="1169" alt="Screenshot 2026-09-06 at 10 06 39" src="https://github.com/user-attachments/assets/c82c5078-d561-4fa1-bf7e-1bb67de85388" /> <img width="1800" height="1169" alt="Screenshot 2026-09-06 at 10 07 04" src="https://github.com/user-attachments/assets/69c2b21c-4a2a-456e-b90c-b475f38c6885" /> <img width="1800" height="1169" alt="Screenshot 2026-09-06 at 10 04 10" src="https://github.com/user-attachments/assets/678ff45c-b262-49bd-a36d-943fbe8a74e9" />

Install

  • From AnkiWeb: search for β€œAnkiGlass” in Tools β†’ Add-ons β†’ Get Add-ons.
  • From a build: run ./build.sh and double-click dist/anki-glass.ankiaddon, or in Anki use Tools β†’ Add-ons β†’ Install from file.

Restart Anki after installing.

Configuration

Tools β†’ Add-ons β†’ AnkiGlass β†’ Config. See src/config.md for each option. In short: choose which screens get glass, whether the card area itself is glass, and the tint colour for light and dark mode. A runtime toggle lives under Tools β†’ AnkiGlass.

How it works

Anki's UI is Qt/Chromium web views, not native AppKit controls, so AnkiGlass does not replace the widget engine. Instead it:

  1. Makes the main NSWindow transparent and requests an alpha surface format so Chromium clears its transparent regions cleanly (no ghosting).
  2. Hosts a real NSGlassEffectView in a borderless child window pinned behind the main window. The main window is never re-parented, so Qt keeps ownership of its own view and mouse hover (e.g. AMBOSS pop-ups) keeps working.
  3. Injects small, scoped CSS into Anki's toolbar, bottom bar, and card pages to make their backgrounds transparent and style the controls as frosted glass.

It talks to the Objective-C runtime through ctypes (see objc_bridge.py) β€” the same technique Anki itself uses for its bundled macOS helper β€” because Anki does not ship PyObjC.

Caveats

  • macOS 26 (Tahoe) is required for genuine Liquid Glass; earlier macOS shows a vibrancy fallback.
  • Tiling window managers may try to manage the child glass window; if the glass detaches on move/resize, that is the window manager, not Anki.
  • Some heavily customised note types paint their own full-card background; AnkiGlass neutralises canvas-sized backgrounds automatically, but very unusual templates may need glass_card set to false.

Development

  • Source lives in src/. Symlink or copy it into your Anki add-ons folder as anki_glass to test, then restart Anki.
  • ./build.sh packages src/ into dist/anki-glass.ankiaddon.

License

AGPL-3.0.