From 4344f1b3a038a0650892e70493feb3c3b5bb6126 Mon Sep 17 00:00:00 2001 From: Karl Tauber Date: Sun, 9 Jul 2023 14:09:01 +0200 Subject: [PATCH] IntelliJ Themes: fixed focused tab background color for themes "Arc *", "Material Design Dark", "Monocai", "One Dark", "Spacegray" and "Xcode-Dark" (issue #697) --- CHANGELOG.md | 3 +++ .../src/main/java/com/formdev/flatlaf/IntelliJTheme.java | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e273e984..4025a29f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,9 @@ FlatLaf Change Log not visible. (issue #686) - "Monocai" theme: Fixed unreadable text color of default buttons. (issue #693) + - TabbedPane: Fixed focused tab background color for themes "Arc *", "Material + Design Dark", "Monocai", "One Dark", "Spacegray" and "Xcode-Dark". (issue + #697) - Native Windows libraries: Fixed crash when running in Java 8 and newer Java version is installed in `PATH` environment variable and using class `SystemInfo` before AWT initialization. (issue #673) diff --git a/flatlaf-core/src/main/java/com/formdev/flatlaf/IntelliJTheme.java b/flatlaf-core/src/main/java/com/formdev/flatlaf/IntelliJTheme.java index 07d1786d..2869fcf3 100644 --- a/flatlaf-core/src/main/java/com/formdev/flatlaf/IntelliJTheme.java +++ b/flatlaf-core/src/main/java/com/formdev/flatlaf/IntelliJTheme.java @@ -395,7 +395,8 @@ public class IntelliJTheme // replace all values in UI defaults that match the wildcard key for( Object k : defaultsKeysCache ) { if( k.equals( "Desktop.background" ) || - k.equals( "DesktopIcon.background" ) ) + k.equals( "DesktopIcon.background" ) || + k.equals( "TabbedPane.focusColor" ) ) continue; if( k instanceof String ) {