IntelliJ Themes: fixed system colors

This commit is contained in:
Karl Tauber
2021-04-06 11:29:55 +02:00
parent 240b08e55c
commit 277c288952
2 changed files with 18 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ FlatLaf Change Log
background is enabled. background is enabled.
- IntelliJ Themes: Fixed window title bar background if unified background is - IntelliJ Themes: Fixed window title bar background if unified background is
enabled. enabled.
- IntelliJ Themes: Fixed system colors.
- Button and ToggleButton: Do not paint background of disabled (and unselected) - Button and ToggleButton: Do not paint background of disabled (and unselected)
toolBar buttons. (issue #292; regression since fixing #112) toolBar buttons. (issue #292; regression since fixing #112)
- SplitPane: `JSplitPane.setContinuousLayout(false)` did not work. (issue #301) - SplitPane: `JSplitPane.setContinuousLayout(false)` did not work. (issue #301)

View File

@@ -24,8 +24,24 @@
#---- system colors ---- #---- system colors ----
# fix system colors because they are usually not set in .json files # fix (most) system colors because they are usually not set in .json files
desktop = lazy(TextField.background)
activeCaptionText = lazy(TextField.foreground)
inactiveCaptionText = lazy(TextField.foreground)
window = lazy(Panel.background)
windowBorder = lazy(TextField.foreground)
windowText = lazy(TextField.foreground)
menu = lazy(Menu.background)
menuText = lazy(Menu.foreground)
text = lazy(TextField.background)
textText = lazy(TextField.foreground)
textHighlight = lazy(TextField.selectionBackground)
textHighlightText = lazy(TextField.selectionForeground)
textInactiveText = lazy(TextField.inactiveForeground)
control = lazy(Panel.background) control = lazy(Panel.background)
controlText = lazy(TextField.foreground)
info = lazy(ToolTip.background)
infoText = lazy(ToolTip.foreground)
#---- Button ---- #---- Button ----