private URL getIconURL( String name, boolean dark ) {
		if( dark ) {
			int dotIndex = name.lastIndexOf( '.' );
			name = name.substring( 0, dotIndex ) + "_dark" + name.substring( dotIndex );
		}

		ClassLoader cl = (classLoader != null) ? classLoader : FlatSVGIcon.class.getClassLoader();
		return cl.getResource( name );
	}
Sets a color filter that can freely modify colors of this icon during painting.
<p>
This method accepts a {@link ColorFilter}. Usually you would want to use a ColorFilter created using the
{@link ColorFilter#ColorFilter(Function)} constructor.
<p>
This can be used to brighten colors of the icon:
<pre>icon.setColorFilter( new FlatSVGIcon.ColorFilter( color -&gt; color.brighter() ) );</pre>
<p>
Using a filter, icons can also be turned monochrome (painted with a single color):
<pre>icon.setColorFilter( new FlatSVGIcon.ColorFilter( color -&gt; Color.RED ) );</pre>
<p>
Note: If a filter is already set, it will be replaced.

@param colorFilter The color filter
@since 1.2
flatlaf-extras/src/main/java/com/formdev/flatlaf/extras/FlatSVGIcon.java