IntelliJ Themes: moved themes into own sub-project and build a JAR that contains all themes

This commit is contained in:
Karl Tauber
2020-04-23 11:06:12 +02:00
parent b08ccc9767
commit 13cbbd8bc1
81 changed files with 149 additions and 6 deletions

View File

@@ -51,6 +51,7 @@ import javax.swing.plaf.UIResource;
import javax.swing.plaf.basic.BasicLookAndFeel;
import com.formdev.flatlaf.*;
import com.formdev.flatlaf.demo.intellijthemes.IJThemesManager;
import com.formdev.flatlaf.demo.intellijthemes.IJThemesPanel;
import com.formdev.flatlaf.util.StringUtils;
import com.formdev.flatlaf.util.SystemInfo;
@@ -112,7 +113,7 @@ public class UIDefaultsDump
for( String resourceName : themesManager.getBundledResourceNames() ) {
IntelliJTheme.install( UIDefaultsDump.class.getResourceAsStream(
"/com/formdev/flatlaf/demo/intellijthemes/" + resourceName ) );
IJThemesPanel.THEMES_PACKAGE + resourceName ) );
dump( dir, StringUtils.removeTrailing( resourceName, ".theme.json" ) );
}