Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Mica (Windows transparency effects) - #717

Merged
eliandoran merged 23 commits into
developfrom
feature/mica
Dec 7, 2024
Merged

eliandoran merged 23 commits into
developfrom
feature/mica

Conversation

@eliandoran

@eliandoran eliandoran commented Dec 7, 2024 •

Copy link
Copy Markdown
Contributor

This introduces the Windows 11 transparency effects called Mica, for the TriliumNext theme.

Theme developers can also benefit from it by setting --background-material in body to either mica or tabbed.

⚠️ Important caveat

Due to a few bugs in Electron, we cannot enable Mica by default. More specifically, as soon as the window is maximized, the background effects disappear until the next application restart (see electron/electron#41824, electron/electron#42393). Similarly, if native title bar is enabled, the maximize button is disabled (see electron/electron#10414).

Light theme

Vertical layout:
image

Horizontal layout:
image

Dark theme

Vertical layout:
image

Horizontal layout:
image

@eliandoran
eliandoran marked this pull request as ready for review December 7, 2024 08:42
@eliandoran
eliandoran merged commit aeb0519 into develop Dec 7, 2024
@eliandoran
eliandoran deleted the feature/mica branch December 7, 2024 08:42
@eliandoran
eliandoran restored the feature/mica branch December 14, 2024 06:56
@eliandoran
eliandoran deleted the feature/mica branch December 14, 2024 06:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant