C4-PlantUML
C4-PlantUML copied to clipboard
$baseShape="label" does not use the correct color (size, ...?) in combination with themes
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