puml-themes is a repo for some themes for the great plantuml diagraming tool, which takes a markdown type text file and converts it into an image of a diagram. The reason why you might use
plantuml is for several reasons:
- Sometimes it’s easier to use text markdown then a full fledge GUI diagramming tool.
- Having text in a source control repo is more convenient since you can track changes easier.
- It’s easy to auto generate the diagrams.
However, the out of the box color scheme for
plantuml is not very pleasing to the eyes (at least to me). That and the fact you may want to match your diagrams with the rest of your documentation (as in my case) lead me to put together some themes.
note the themes files use some of the newer syntax from plantuml, so you will need to use at least version
1.2020.8. If you can not use that version, then you can download the puml file from this repo, and edit it, and replace each instance of !procedure with !function and !endprocedure with !endfunction
There are a few ways you can use these themes:
You can clone this repo, or you could download just the theme file from the repo. There is one file per theme, so you don’t have to worry about copying multiple files.
Use the themes from a URL. Plantuml allows you to include files on the internet with this syntax:
Blue based theme based off of the Cerulean theme at bootswatch
Blue based theme based off of the Cerulean theme at bootswatch, but with only outline colors no fill (transparent)
Dark theme meant for dark backgrounds based off of the Cyborg theme at bootswatch
Dark theme meant for dark backgrounds based off of the Cyborg theme at bootswatch, but with only outline colors no fill (transparent)
Theme similar to Material based off of the Materia theme at bootswatch