plantuml-stdlib / C4-PlantUML

C4-PlantUML combines the benefits of PlantUML and the C4 model for providing a simple way of describing and communicate software architectures

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

$baseShape="label" does not use the correct color (size, ...?) in combination with themes

kirchsth opened this issue · comments

In the current version the labels are not written with the correct font color ("background") if e.g. themes are active.
In following image the label is invisible (but it should be orange).

Based on how-to-skinparam-label, it should be possible to change the label font color,... via style (skinparam is not working).

@startuml
!ENABLE_ALL_PLANT_ELEMENTS = 1
!theme C4_united from <C4/themes>
!include <C4/C4_Component>


<style>
' componentDiagram {
  label {
    Fontcolor $COMPONENT_BG_COLOR
    ' ...
  }
' }
</style>


System(file, "A File", $baseShape="file")
Component(label, "A Label", $baseShape="label")

SHOW_LEGEND()
@enduml

BR Helmut