Closed Potherca closed 1 year ago
@mweagle themes can be used with a !theme
line like below.
@startuml
!theme cb_seq_OrRd_9 from https://raw.githubusercontent.com/mweagle/C4-PlantUML-Themes/main/palettes
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Container.puml
Person(personAlias, "Label", "Optional Description")
Container(containerAlias, "Label", "Technology", "Optional Description")
System(systemAlias, "Label", "Optional Description")
Rel(personAlias, containerAlias, "Label", "Optional Technology")
@enduml
A list of all possible themes see.
The corresponding theme name is without puml-theme-
and .puml
(e.g. file puml-theme-cb_seq_Blues_9.puml
corresponds to theme cb_seq_Blues_9
)
Thanks @kirchsth - I'll update the include.
@mweagle: The next PlantUML v1.2023.8 supports calculated themes and stdlib themes (details see forum). I will update our docu. Maybe you want to use the feature via the already existing PlantUML v1.2023.8 beta.
As mentioned by @mweagle in https://github.com/plantuml-stdlib/C4-PlantUML/issues/295#issuecomment-1511620596, we might want to add / link to the themes there.