Skip to content

Fix dark mode titlebar - #1584

Open
overcast302 wants to merge 2 commits into
processing:4.xfrom
overcast302:fix-dark-mode-titlebar
Open

overcast302 wants to merge 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.

This branch has not been deployed

No deployments
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.

1 participant