From 4392c7627b3135bc9c522aa9491ca3c0cea94756 Mon Sep 17 00:00:00 2001 From: Karl Tauber Date: Wed, 21 Jun 2023 00:02:01 +0200 Subject: [PATCH] IntelliJ Themes: - "Light Owl" theme: Fixed wrong (unreadable) text color in selected menu items, selected text in text components, and selection in ComboBox popup list. (issue #687) - "Gradianto Midnight Blue" theme: Fixed color of ScrollBar track, which was not visible. (issue #686) --- CHANGELOG.md | 6 ++++ .../flatlaf/IntelliJTheme$ThemeLaf.properties | 28 +++++++++++++++++-- 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 76287cd8..7c12413a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,12 @@ FlatLaf Change Log Tree; `iconTextGap` for Button, CheckBox and RadioButton). (issue #682) - Fixed `IllegalComponentStateException` when invoker is not showing in `SubMenuUsabilityHelper`. (issue #692) +- IntelliJ Themes: + - "Light Owl" theme: Fixed wrong (unreadable) text color in selected menu + items, selected text in text components, and selection in ComboBox popup + list. (issue #687) + - "Gradianto Midnight Blue" theme: Fixed color of ScrollBar track, which was + not visible. (issue #686) ## 3.1.1 diff --git a/flatlaf-core/src/main/resources/com/formdev/flatlaf/IntelliJTheme$ThemeLaf.properties b/flatlaf-core/src/main/resources/com/formdev/flatlaf/IntelliJTheme$ThemeLaf.properties index c97ac775..163a367e 100644 --- a/flatlaf-core/src/main/resources/com/formdev/flatlaf/IntelliJTheme$ThemeLaf.properties +++ b/flatlaf-core/src/main/resources/com/formdev/flatlaf/IntelliJTheme$ThemeLaf.properties @@ -163,6 +163,8 @@ ToggleButton.endBackground = $ToggleButton.background [Gradianto_Dark_Fuchsia]MenuItem.checkBackground = @ijMenuCheckBackgroundL10 [Gradianto_Dark_Fuchsia]MenuItem.underlineSelectionCheckBackground = @ijMenuCheckBackgroundL10 +[Gradianto_Midnight_Blue]ScrollBar.thumb = #533B6B + [Gruvbox_Dark_Hard]Component.accentColor = lazy(TabbedPane.underlineColor) [Gruvbox_Dark_Hard]ToggleButton.selectedBackground = $ToggleButton.selectedBackground [Gruvbox_Dark_Hard]ToggleButton.toolbar.selectedBackground = $ToggleButton.toolbar.selectedBackground @@ -253,17 +255,39 @@ ToggleButton.endBackground = $ToggleButton.background [GitHub_Contrast]ProgressBar.selectionBackground = #222 [GitHub_Contrast]ProgressBar.selectionForeground = #222 +[Light_Owl]CheckBoxMenuItem.selectionForeground = lazy(CheckBoxMenuItem.foreground) +[Light_Owl]ComboBox.selectionForeground = lazy(ComboBox.foreground) +[Light_Owl]EditorPane.selectionForeground = lazy(EditorPane.foreground) +[Light_Owl]FormattedTextField.selectionForeground = lazy(FormattedTextField.foreground) [Light_Owl]List.selectionInactiveForeground = lazy(List.foreground) +[Light_Owl]Menu.selectionForeground = lazy(Menu.foreground) +[Light_Owl]MenuBar.selectionForeground = lazy(MenuBar.foreground) +[Light_Owl]MenuItem.selectionForeground = lazy(MenuItem.foreground) +[Light_Owl]PasswordField.selectionForeground = lazy(PasswordField.foreground) [Light_Owl]ProgressBar.selectionBackground = #111 [Light_Owl]ProgressBar.selectionForeground = #fff -[Light_Owl]TabbedPane.selectedForeground = lazy(TabbedPane.foreground) +[Light_Owl]Spinner.selectionForeground = lazy(Spinner.foreground) [Light_Owl]Table.selectionForeground = lazy(Table.foreground) +[Light_Owl]TextArea.selectionForeground = lazy(TextArea.foreground) +[Light_Owl]TextField.selectionForeground = lazy(TextField.foreground) +[Light_Owl]TextPane.selectionForeground = lazy(TextPane.foreground) +[Light_Owl_Contrast]CheckBoxMenuItem.selectionForeground = lazy(CheckBoxMenuItem.foreground) +[Light_Owl_Contrast]ComboBox.selectionForeground = lazy(ComboBox.foreground) +[Light_Owl_Contrast]EditorPane.selectionForeground = lazy(EditorPane.foreground) +[Light_Owl_Contrast]FormattedTextField.selectionForeground = lazy(FormattedTextField.foreground) [Light_Owl_Contrast]List.selectionInactiveForeground = lazy(List.foreground) +[Light_Owl_Contrast]Menu.selectionForeground = lazy(Menu.foreground) +[Light_Owl_Contrast]MenuBar.selectionForeground = lazy(MenuBar.foreground) +[Light_Owl_Contrast]MenuItem.selectionForeground = lazy(MenuItem.foreground) +[Light_Owl_Contrast]PasswordField.selectionForeground = lazy(PasswordField.foreground) [Light_Owl_Contrast]ProgressBar.selectionBackground = #111 [Light_Owl_Contrast]ProgressBar.selectionForeground = #fff -[Light_Owl_Contrast]TabbedPane.selectedForeground = lazy(TabbedPane.foreground) +[Light_Owl_Contrast]Spinner.selectionForeground = lazy(Spinner.foreground) [Light_Owl_Contrast]Table.selectionForeground = lazy(Table.foreground) +[Light_Owl_Contrast]TextArea.selectionForeground = lazy(TextArea.foreground) +[Light_Owl_Contrast]TextField.selectionForeground = lazy(TextField.foreground) +[Light_Owl_Contrast]TextPane.selectionForeground = lazy(TextPane.foreground) [Material_Lighter]ProgressBar.selectionBackground = #222 [Material_Lighter]ProgressBar.selectionForeground = #fff