Merge pull request #88 from matt-pan/patch-1

IntelliJ Themes: Fix relative resource location for Material UI Lite Themes
This commit is contained in:
Karl T
2020-04-27 16:14:50 +02:00
committed by GitHub

View File

@@ -32,7 +32,7 @@ class Utils
static IntelliJTheme loadTheme( String name ) {
try {
return new IntelliJTheme( Utils.class.getResourceAsStream( "../themes/material-theme-ui-lite/" + name ) );
return new IntelliJTheme( Utils.class.getResourceAsStream( "themes/material-theme-ui-lite/" + name ) );
} catch( ParseException | IOException ex ) {
String msg = "FlatLaf: Failed to load IntelliJ theme '" + name + "'";
LOG.log( Level.SEVERE, msg, ex );