add inherited class fontcolor and fontsize