Skip to content

Fix dark mode titlebar - #1584

Merged
catilac merged 2 commits into
processing:4.xfrom
overcast302:fix-dark-mode-titlebar
Nov 13, 2026
Merged

catilac merged 2 commits into
processing:4.xfrom
overcast302:fix-dark-mode-titlebar

Conversation

@overcast302

Copy link
Copy Markdown

Resolves #1583

Before:
image
image

After:
image
image

All built-in themes shipped laf.mode = light, so dark themes never
installed FlatDarkLaf. The theme's look-and-feel also was updated only after
the first Editor window was already constructed, so its menu bar
kept the colors stamped by FlatLightLaf at birth.

This change sets laf.mode = dark for dark themes, and makes the theme's look and feel install before any window is constructed.

@joshgiesbrecht

Copy link
Copy Markdown
Contributor

Tested on Debian 13, looks good!

@SableRaf
SableRaf requested review from SableRaf and catilac October 23, 2026 06:14

@SableRaf SableRaf left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

@catilac
catilac merged commit 2878303 into processing:4.x Nov 13, 2026
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.

4 participants