Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add specialized directory for community themes #40

Open
Dzordzu opened this issue May 20, 2021 · 2 comments
Open

Add specialized directory for community themes #40

Dzordzu opened this issue May 20, 2021 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@Dzordzu
Copy link
Contributor

Dzordzu commented May 20, 2021

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
@arnaudroques
Copy link
Contributor

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!

@kirchsth
Copy link
Contributor

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

@The-Lum The-Lum added the documentation Improvements or additions to documentation label May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants