plantuml/plantuml-stdlib

Add specialized directory for community themes

Dzordzu opened this issue · 2 comments

Description

It would be a great thing to have community themes combained into a single dir, within stdlib

Suggested structure

Directory

/community/themes/

Required components in order to merge with plantuml-stdlib

  1. Link to original theme colorscheme (for example dark-breeze, dracula, etc.)
  2. Images of the components in the readme
  3. Single .puml file

Thanks for your suggestion.
I must say that I don't fully understand it...
Is this related to the new !theme functionality ?

It sounds interesting anyway so you can make a pull request with such a /community/themes so that we better get the idea.

Thanks again!

In C4-PlantUML we store all C4 relevant themes in a themes folder
and this folder is exported into stdlib C4/themes folder.
And based on fix forum 17811 it can be used via e.g. !theme C4_united from <C4/themes>

@startuml
!theme C4_united from <C4/themes>

!include <C4/C4_Container>
Person(personAlias, "Label", "Optional Description")
Container(containerAlias, "Label", "Technology", "Optional Description")
System(systemAlias, "Label", "Optional Description")
Rel(personAlias, containerAlias, "Label", "Optional Technology")
@enduml

Maybe this could be a common pattern for all stdlib related themes.

BR Helmut