diff --git a/C4.puml b/C4.puml index ce06b85..03e7649 100644 --- a/C4.puml +++ b/C4.puml @@ -5,6 +5,8 @@ ' ################################## !global $ELEMENT_FONT_COLOR = "#FFFFFF" +!global $LEGEND_FONT_COLOR = "#FFFFFF" +!global $LEGEND_TITLE_COLOR = "#000000" ' Styling ' ################################## @@ -16,6 +18,10 @@ skinparam defaultTextAlignment center skinparam wrapWidth 200 skinparam maxMessageSize 150 +skinparam LegendBorderColor transparent +skinparam LegendBackgroundColor transparent +skinparam LegendFontColor $LEGEND_FONT_COLOR + skinparam rectangle { StereotypeFontSize 12 shadowing false diff --git a/C4_Component.puml b/C4_Component.puml index b2fae6a..e95532c 100644 --- a/C4_Component.puml +++ b/C4_Component.puml @@ -35,13 +35,13 @@ skinparam database<> { !function LAYOUT_WITH_LEGEND() hide stereotype legend right -|= |= Type | -|<$PERSON_BG_COLOR> | person | -|<$EXTERNAL_PERSON_BG_COLOR> | external person | -|<$SYSTEM_BG_COLOR> | system | -|<$EXTERNAL_SYSTEM_BG_COLOR> | external system | -|<$CONTAINER_BG_COLOR> | container | -|<$COMPONENT_BG_COLOR> | component | +|**Legend** | +|<$PERSON_BG_COLOR> person | +|<$SYSTEM_BG_COLOR> system | +|<$CONTAINER_BG_COLOR> container | +|<$COMPONENT_BG_COLOR> component | +|<$EXTERNAL_PERSON_BG_COLOR> external person | +|<$EXTERNAL_SYSTEM_BG_COLOR> external system | endlegend !endfunction diff --git a/C4_Container.puml b/C4_Container.puml index 0c6a195..4bbfcd7 100644 --- a/C4_Container.puml +++ b/C4_Container.puml @@ -35,12 +35,12 @@ skinparam database<> { !function LAYOUT_WITH_LEGEND() hide stereotype legend right -|= |= Type | -|<$PERSON_BG_COLOR> | person | -|<$EXTERNAL_PERSON_BG_COLOR> | external person | -|<$SYSTEM_BG_COLOR> | system | -|<$EXTERNAL_SYSTEM_BG_COLOR> | external system | -|<$CONTAINER_BG_COLOR> | container | +|**Legend** | +|<$PERSON_BG_COLOR> person | +|<$SYSTEM_BG_COLOR> system | +|<$CONTAINER_BG_COLOR> container | +|<$EXTERNAL_PERSON_BG_COLOR> external person | +|<$EXTERNAL_SYSTEM_BG_COLOR> external system | endlegend !endfunction diff --git a/C4_Context.puml b/C4_Context.puml index 143def2..aa6c88a 100644 --- a/C4_Context.puml +++ b/C4_Context.puml @@ -66,11 +66,11 @@ BorderColor #8A8A8A !function LAYOUT_WITH_LEGEND() hide stereotype legend right -|= |= Type | -|<$PERSON_BG_COLOR> | person | -|<$EXTERNAL_PERSON_BG_COLOR> | external person | -|<$SYSTEM_BG_COLOR> | system | -|<$EXTERNAL_SYSTEM_BG_COLOR> | external system | +|**Legend** | +|<$PERSON_BG_COLOR> person | +|<$SYSTEM_BG_COLOR> system| +|<$EXTERNAL_PERSON_BG_COLOR> external person | +|<$EXTERNAL_SYSTEM_BG_COLOR> external system | endlegend !endfunction