question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow themes to describe FlatLaf standard styles

See original GitHub issue

Unless 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:open
  • Created 4 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Chrriiscommented, Feb 5, 2020

@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.

0reactions
ijabzcommented, Mar 8, 2022

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 ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Customizing | FlatLaf - Flat Look and Feel - JFormDesigner
You can customize the appearance of FlatLaf to some degree by setting UI defaults either in ... This page describes only some of...
Read more >
JFormDesigner/FlatLaf - java - GitHub
FlatLaf - Swing Look and Feel (with Darcula/IntelliJ themes support) ... Windows 10 allows increasing font size independent of scaling:.
Read more >
FlatClientProperties (flatlaf-core 2.6) - javadoc.io
Modifier and Type Field Description static String BUTTON_TYPE Specifies type of a button. static String BUTTON_TYPE_HELP Paint a help button (circle with questio... static String BUTTON_TYPE_ROUND_RECT...
Read more >
How to Set the Look and Feel (The Java™ Tutorials ...
This Swing Java Tutorial describes developing graphical user interfaces (GUIs) ... javax.swing.plaf.multi —a multiplexing look and feel that allows the UI ...
Read more >
FlatLaf - Flat Look and Feel : r/java - Reddit
Light, Dark, IntelliJ and Darcula themes. scales on HiDPI displays. cross-platform. lightweight (under 200 KB; no dependencies). minimalistic, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found