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
FlatDark is not best match for MacOS Dark mode #497
Comments
There are plans to provide macOS (and Windows) specific light and dark themes, that are closer to the OS look, in the future... In the meantime you can use following: Create a file
In your FlatLaf.registerCustomDefaultsSource( "com.myapp.themes" );
FlatDarkLaf.setup(); Then it looks like this on macOS: Default look for comparison: |
Thanks, that looks great. However, can I do it i code ? The reason being introducing config files for different platforms not so easy |
The file To do it in code, have a look at |
ok, thanks that works for me This is my code if they select Dark Mode
Also found if they set light mode i need to clear out that global extra mapping i was using in dark by calling again with empty map
|
…the same on Windows or Linux as on macOS (issue #497)
macOS specific themes are coming in FlatLaf 3: see PR #533 |
…the same on Windows or Linux as on macOS (issue #497)
…menus and combo box selection colors (issue #497)
PR #533 merged |
I naively assumed that FlatDark laf would mimic the dark mode on MacOS, but actually it seems a lot lighter. Im no expert on MacOS but I do know that Mac users are very particular about how applications look and therefore would it not be a good idea to use MacOS dark mode as the basis for the FlatDark laf.
If not I did try out the demo and it seems that maybe GitDark was the best match, why not add a theme called MacOS Dark to give developers such as myself with no expertise in this the confidence to know what is the best laf to use to best match MacOS native apps.
The text was updated successfully, but these errors were encountered: