From 0fd0eaab3b8bfc154b83a3507c3caa9d9ab556c6 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Mon, 1 Apr 2024 03:22:12 +0200 Subject: use PlantUML for Gantt diagrams --- _themes/doubleslash/README.md | 3 ++ _themes/doubleslash/general.puml | 73 ++++++++++++++++++++++++++++++++++++++++ _themes/doubleslash/pgantt.puml | 70 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 146 insertions(+) create mode 100644 _themes/doubleslash/README.md create mode 100644 _themes/doubleslash/general.puml create mode 100644 _themes/doubleslash/pgantt.puml (limited to '_themes') diff --git a/_themes/doubleslash/README.md b/_themes/doubleslash/README.md new file mode 100644 index 0000000..80d3431 --- /dev/null +++ b/_themes/doubleslash/README.md @@ -0,0 +1,3 @@ +# PlantUML Theme + +Origin: diff --git a/_themes/doubleslash/general.puml b/_themes/doubleslash/general.puml new file mode 100644 index 0000000..b8941ce --- /dev/null +++ b/_themes/doubleslash/general.puml @@ -0,0 +1,73 @@ +''Define colors in doubleSlash corporate identity +!define DS_BLUE #00A5E1 +!define DS_LIGHTBLUE #D7E9F4 +!define DS_ORANGE #FF9F00 +!define DS_LIGHTGREY #C6C6C6 +!define DS_GREY #7A7A7A +!define DS_DARKGREY #515151 + +!define SUPERLIGHTGREY #F8F8F8 +!define ALICEBLUE #F0F8FF +!define STEELBLUE25 #374656 +!define STEELBLUE40 #8A9DB3 +!define BLACK50 #7F7F7F +!define BLACK25 #404040 +!define LIGHTGREEN #D5E8D4 + +!define TIPBGCOLOR #FFF6E7 +!define TIPBORDERCOLOR #FFD999 + +!define FONTNAME "Arial" + +skinparam Shadowing false +skinparam Padding 2 +skinparam Roundcorner 16 +skinparam BackgroundColor white +skinparam DefaultFontName FONTNAME +skinparam DefaultFontColor black +skinparam DefaultTextAlignment center + +' Title +'================================================================= +skinparam TitleFontSize 28 +skinparam TitleFontName FONTNAME +skinparam TitleFontColor black +skinparam TitleFontStyle normal + +' Note +'================================================================= +'skinparam NoteBackgroundColor TIPBGCOLOR +'skinparam NoteBorderColor TIPBORDERCOLOR +'skinparam NoteBorderThickness 0.3 +'skinparam NoteShadowing true +skinparam NoteBackgroundColor transparent +skinparam NoteBorderColor transparent +skinparam NoteBorderThickness 0.0 +skinparam NoteFontColor black +skinparam NoteFontSize 11 +skinparam NoteTextAlignment left + +' Rectangle +'================================================================= +skinparam RectangleBackgroundColor SUPERLIGHTGREY +skinparam RectangleBorderColor DS_DARKGREY +skinparam RectangleBorderColor DS_GREY +skinparam RectangleBorderThickness 0.5 +skinparam RectangleFontColor black +skinparam RectangleFontSize 14 + + +' Package +'================================================================= +skinparam PackageFontColor black +skinparam PackageBackgroundColor SUPERLIGHTGREY +skinparam PackageBorderColor DS_DARKGREY +skinparam PackageFontSize 14 + +' Arrow +'================================================================= +skinparam ArrowColor DS_GREY +skinparam ArrowThickness 1.5 +skinparam ArrowFontName FONTNAME +skinparam ArrowFontColor black +skinparam ArrowFontStyle normal diff --git a/_themes/doubleslash/pgantt.puml b/_themes/doubleslash/pgantt.puml new file mode 100644 index 0000000..15a3e1d --- /dev/null +++ b/_themes/doubleslash/pgantt.puml @@ -0,0 +1,70 @@ +!include general.puml + +'saturday are closed +'sunday are closed +'language de + +skinparam Roundcorner 6 + +saturday are colored in SUPERLIGHTGREY +sunday are colored in SUPERLIGHTGREY +printscale weekly zoom 4 + + -- cgit v1.2.3