Skip to content

fix: override Zen Twilight acrylic/blur on wrapper and splitter elements#75

Open
gkze wants to merge 8 commits into
catppuccin:mainfrom
gkze:fix/frappe-zen-twilight-acrylic-gap
Open

fix: override Zen Twilight acrylic/blur on wrapper and splitter elements#75
gkze wants to merge 8 commits into
catppuccin:mainfrom
gkze:fix/frappe-zen-twilight-acrylic-gap

Conversation

@gkze

@gkze gkze commented Mar 11, 2026

Copy link
Copy Markdown

Problem

Recent Zen Browser Twilight updates apply system-level acrylic/blur via the appearance property on UI wrapper elements. This causes the system/window background to bleed through gaps between the sidebar and content panels, breaking Catppuccin theming — a visible unstyled strip appears between the side panel and content area.

Fix

For all 4 flavors × 14 accent variants (56 files):

  • appearance: unset on #zen-main-app-wrapper, #zen-appcontent-wrapper, #zen-sidebar-splitter, and #zen-browser-background — disables the acrylic effect so CSS backgrounds take effect
  • Explicit background on all wrapper / splitter / gap elements with each flavor's Catppuccin base color
  • Sidebar splitter styling — matches base color at rest, highlights to surface0 on hover
  • macOS-specific variable overrides for Zen toolbar transparency variables

Flavor colors used

Flavor Base (gap bg) Surface0 (hover)
🌻 Latte #e6e9ef #ccd0da
🪴 Frappé #292c3c #414559
🌺 Macchiato #1e2030 #363a4f
🌿 Mocha #181825 #313244

Testing

Tested on macOS with Zen Browser Twilight (Frappé Blue). The gap between sidebar and content now correctly shows the Catppuccin base color, and the content panel border radius / separation is preserved at Zen defaults.

Recent Zen Twilight updates apply system-level acrylic/blur via the
`appearance` property on wrapper elements (`#zen-main-app-wrapper`,
`#zen-appcontent-wrapper`, `#zen-sidebar-splitter`,
`#zen-browser-background`). This causes the system background to bleed
through the gaps between the sidebar and content panels, breaking
Catppuccin theming.

Changes (all 4 flavors × 14 accent variants = 56 files):

- Set `appearance: unset` on wrapper/splitter elements to disable the
  acrylic effect so CSS backgrounds take effect
- Explicitly paint all wrapper, splitter, and gap elements with each
  flavor's Catppuccin base color
- Style `#zen-sidebar-splitter` with matching base color at rest and
  surface0 highlight on hover
- Add macOS-specific variable overrides for toolbar transparency vars

Flavor base/surface colors used:

  | Flavor     | Base      | Surface0  |
  |------------|-----------|-----------|
  | Latte      | #e6e9ef   | #ccd0da   |
  | Frappé     | #292c3c   | #414559   |
  | Macchiato  | #1e2030   | #363a4f   |
  | Mocha      | #181825   | #313244   |

Tested on macOS with Zen Browser Twilight (Frappé Blue).
@gkze gkze force-pushed the fix/frappe-zen-twilight-acrylic-gap branch from 2fd80c1 to c0c833e Compare March 11, 2026 03:18
@gkze gkze changed the title fix(frappe): override Zen Twilight acrylic/blur on wrapper and splitter elements fix: override Zen Twilight acrylic/blur on wrapper and splitter elements Mar 11, 2026
@gkze

gkze commented Mar 11, 2026

Copy link
Copy Markdown
Author

Disclosure this was AI generated but I tested Frappe Blue and then prompted my clanker to apply to the rest, not sure if there's an AI contribution policy but wanted to be clear.

@berrimi

berrimi commented Mar 11, 2026

Copy link
Copy Markdown

Thank you for your work i hope they will merge that soon

@AlphaNecron

Copy link
Copy Markdown

No, never edit .css directly. Do edit userChrome.tera and run whiskers to generate *.css, or your changes would get overwritten the next time you run whiskers.

@gkze

gkze commented Apr 1, 2026

Copy link
Copy Markdown
Author

Thanks - fixed

@gkze gkze force-pushed the fix/frappe-zen-twilight-acrylic-gap branch from 60f1dc3 to 8fa767e Compare April 26, 2026 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants