Allow themes to describe FlatLaf standard styles
See original GitHub issueUnless I am mistaken, there are several incompatible ways of defining the application to use FlatLaf:
- Set the look and feel to a core FlatLaf class (
FlatLightLaf
,FlatDarkLaf
,FlatIntelliJLaf
,FlatDarculaLaf
). - Load an IntelliJ theme.
It would be beneficial to have the possibility of defining all of the above cases in a coherent way. I think there should be an IntelliJ theme file defining the 4 core looks. This probably means enhancing the IntelliJ format to indicate whether to use chevrons or arrows, etc. If done right, these files could be loaded by IntelliJ, ignoring the FlatLaf specific definitions, and (who knows?) maybe one day be supported by IntelliJ so we get chevrons there too.
The benefit is that the application would not have to support 2 methods for loading FlatLaf: simply reference a theme file which can be replaced/tweaked. Configuration of that L&F would be completely external.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
@smileatom I personally do not care about IntelliJ, but the themes are a convenient way of having different color schemes shipped with the application. Currently you have to code a special case to have the default in addition to all the available color schemes.
Im not clear is a theme installed independently of FlatLaf, or do you install one of the four core Flatlaf classes as the look and feel first and then install the theme over the top ?