plantuml / plantuml-stdlib

Contains official Standard Library for PlantUML
556 stars 122 forks source link

AddComponentTag uses default component font color #60

Closed oatkiller closed 2 years ago

oatkiller commented 2 years ago

AddComponentTag and AddExternalComponentTag should use the $COMPONENT_FONT_COLOR by default instead of the $ELEMENT_FONT_COLOR. Without this change, a component with a tag that is defined by AddComponentTag will have a different font color even if $fontColor is not passed in, because the font color used by default components is different than the default font color set by AddComponentTag.

The-Lum commented 2 years ago

Hello @oatkiller,

Perhaps inform @plantuml-stdlib and/or @Potherca (authors of the official C4-PlantUML stdlib), and/or send the same PR on:

Regards.