mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-08 15:00:54 +03:00
IntelliJ Themes: fixed toggle button unselected background in most themes and foreground in Darcula and One Dark themes (issue #86)
This commit is contained in:
@@ -1,6 +1,12 @@
|
|||||||
FlatLaf Change Log
|
FlatLaf Change Log
|
||||||
==================
|
==================
|
||||||
|
|
||||||
|
## Unreleased
|
||||||
|
|
||||||
|
- IntelliJ Themes: Fixed button and toggle button colors. (issue #86)
|
||||||
|
- Updated IntelliJ Themes in demo to the latest versions.
|
||||||
|
|
||||||
|
|
||||||
## 0.31
|
## 0.31
|
||||||
|
|
||||||
- Focus indication border (or background) no longer hidden when temporary
|
- Focus indication border (or background) no longer hidden when temporary
|
||||||
|
|||||||
@@ -183,6 +183,14 @@ public class IntelliJTheme
|
|||||||
if( !uiKeys.contains( "Spinner.background" ) )
|
if( !uiKeys.contains( "Spinner.background" ) )
|
||||||
defaults.put( "Spinner.background", textFieldBackground );
|
defaults.put( "Spinner.background", textFieldBackground );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// fix ToggleButton
|
||||||
|
if( !uiKeys.contains( "ToggleButton.startBackground" ) && !uiKeys.contains( "*.startBackground" ) )
|
||||||
|
defaults.put( "ToggleButton.startBackground", defaults.get( "Button.startBackground" ) );
|
||||||
|
if( !uiKeys.contains( "ToggleButton.endBackground" ) && !uiKeys.contains( "*.endBackground" ) )
|
||||||
|
defaults.put( "ToggleButton.endBackground", defaults.get( "Button.endBackground" ) );
|
||||||
|
if( !uiKeys.contains( "ToggleButton.foreground" ) && uiKeys.contains( "Button.foreground" ) )
|
||||||
|
defaults.put( "ToggleButton.foreground", defaults.get( "Button.foreground" ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user