Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS light and dark themes #533

Merged
merged 4 commits into from Nov 1, 2022
Merged

macOS light and dark themes #533

merged 4 commits into from Nov 1, 2022

Conversation

DevCharly
Copy link
Collaborator

@DevCharly DevCharly commented May 13, 2022

This PR adds macOS light and dark themes that use macOS Monterey (v12.2) colors and style.

The intention was to create themes that look similar to native macOS applications.

Screenshot 2022-05-13 at 14 26 40 Screenshot 2022-05-13 at 14 26 56

The popup of not editable combo boxes is positioned similar to native macOS NSPopUpButton controls:

Screenshot 2022-05-13 at 14 30 09 Screenshot 2022-05-13 at 14 31 45

Known issues:

  • changing accent color not yet supported
  • tabbed pane style not macOS like

To try it out, download the build artifacts from here: https://github.com/JFormDesigner/FlatLaf/actions/runs/2319472414

The new look and feel class names are:

  • com.formdev.flatlaf.themes.FlatMacLightLaf
  • com.formdev.flatlaf.themes.FlatMacDarkLaf

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.

None yet

1 participant