@Override
	public Color getBackgroundForToken( Token t ) {
		if( useColorOfColorTokens && t.getType() == FlatThemeTokenMaker.TOKEN_COLOR ) {
			Color color = parseColor( t );
			if( color != null )
				return color;
		}

		return super.getBackgroundForToken( t );
	}
A text area that supports editing FlatLaf themes.

@author Karl Tauber
flatlaf-theme-editor/src/main/java/com/formdev/flatlaf/themeeditor/FlatSyntaxTextArea.java