mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-10 22:17:13 -06:00
Styling:
- support references in color functions - added test for using color functions in styling
This commit is contained in:
@@ -131,7 +131,9 @@ class FlatThemeFileEditor
|
||||
darkLafMenuItem.setSelected( true );
|
||||
|
||||
// highlight selected tab
|
||||
tabbedPane.setStyle( "[light]selectedBackground: #fff; [dark]selectedBackground: #303234" );
|
||||
tabbedPane.setStyle(
|
||||
"[light]selectedBackground: lighten($TabbedPane.background,5%);" +
|
||||
" [dark]selectedBackground: darken($TabbedPane.background,5%)" );
|
||||
|
||||
// add "+" button to tabbed pane
|
||||
newButton = new JButton( new FlatSVGIcon( "com/formdev/flatlaf/themeeditor/icons/add.svg" ) );
|
||||
|
||||
@@ -14,11 +14,6 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
#---- TabbedPane ----
|
||||
|
||||
#TabbedPane.selectedBackground = darken($TabbedPane.background,5%)
|
||||
|
||||
|
||||
#---- FlatThemeEditorPane ----
|
||||
|
||||
FlatThemeEditorPane.background = #2b2b2b
|
||||
|
||||
@@ -14,11 +14,6 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
#---- TabbedPane ----
|
||||
|
||||
#TabbedPane.selectedBackground = lighten($TabbedPane.background,5%)
|
||||
|
||||
|
||||
#---- FlatThemeEditorPane ----
|
||||
|
||||
FlatThemeEditorPane.background = #fff
|
||||
|
||||
Reference in New Issue
Block a user