Inspectopedia
 
2024.3

Use Darcula aware JBColor

Warning
Code Style
New
Last modified: 03 December 2024

Reports usages of java.awt.Color.

These are not aware of "dark" themes (e.g., bundled "Darcula") and might result in bad looking UI.

Quick-fix replaces usages with JBColor, which defines "dark" color variant.

Examples: