IntelliJ Themes: do not ignore UI keys prefixed with [style] to allow using styles

This commit is contained in:
Karl Tauber
2021-10-12 22:29:38 +02:00
parent 51a90d32f8
commit 942e5b9cd1

View File

@@ -249,7 +249,7 @@ public class IntelliJTheme
// search for theme specific UI defaults keys
ArrayList<String> themeSpecificKeys = new ArrayList<>();
for( Object key : defaults.keySet() ) {
if( key instanceof String && ((String)key).startsWith( "[" ) )
if( key instanceof String && ((String)key).startsWith( "[" ) && !((String)key).startsWith( "[style]" ) )
themeSpecificKeys.add( (String) key );
}