private void applyIconsColorPalette( Properties properties ) {
		if( jsonIcons == null )
			return;

		Object palette = jsonIcons.get( "ColorPalette" );
		if( !(palette instanceof Map) )
			return;

		@SuppressWarnings( "unchecked" )
		Map<String, Object> colorPalette = (Map<String, Object>) palette;
		for( Map.Entry<String, Object> e : colorPalette.entrySet() ) {
			String key = e.getKey();
			Object value = e.getValue();
			if( key.startsWith( "Checkbox." ) || key.startsWith( "#" ) || !(value instanceof String) )
				continue;

			if( dark )
				key = StringUtils.removeTrailing( key, ".Dark" );

			String color = toColor( (String) value );
			if( color != null )
				put( properties, key, color );
		}
	}
http://www.jetbrains.org/intellij/sdk/docs/reference_guide/ui_themes/themes_customize.html#custom-ui-control-colors
flatlaf-core/src/main/java/com/formdev/flatlaf/IntelliJTheme.java