Demo: support using own FlatLaf themes (.properties files) that are located in working directory of Demo application

This commit is contained in:
Karl Tauber
2020-03-29 18:02:35 +02:00
parent 1bebfe9cf2
commit 5ed40cab1d
8 changed files with 159 additions and 32 deletions

View File

@@ -0,0 +1,13 @@
# This file demonstrates using a FlatLaf theme file in the FlatLaf Demo application.
# Must be in the working directory of the Demo application.
# Shown in the "Themes" list under category "Current Directory".
#
# Modifications to this file are automatically loaded by the FlatLaf Demo application
# when the Demo window is activated.
# base theme (light, dark, intellij or darcula)
@baseTheme=light
# add you theme defaults here
@background=#ccc