summaryrefslogtreecommitdiff
path: root/_themes/doubleslash
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2024-04-01 03:22:12 +0200
committerJonas Smedegaard <dr@jones.dk>2024-04-01 03:22:12 +0200
commit0fd0eaab3b8bfc154b83a3507c3caa9d9ab556c6 (patch)
treed96bea9deadaf86f49d2bf31a30983d042c77aeb /_themes/doubleslash
parent29cee1399c977def72f1c8e1e13d83a841b75c89 (diff)
use PlantUML for Gantt diagrams
Diffstat (limited to '_themes/doubleslash')
-rw-r--r--_themes/doubleslash/README.md3
-rw-r--r--_themes/doubleslash/general.puml73
-rw-r--r--_themes/doubleslash/pgantt.puml70
3 files changed, 146 insertions, 0 deletions
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: <https://github.com/doubleSlashde/umltheme>
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
+
+<style>
+ganttDiagram {
+ task {
+ FontName FONTNAME
+ FontSize 12
+ FontColor black
+ FontStyle normal
+ BackGroundColor DS_LIGHTBLUE
+ LineColor DS_LIGHTBLUE
+ Padding 3
+ }
+
+ timeline {
+ FontName FONTNAME
+ FontSize 12
+ BackgroundColor SUPERLIGHTGREY
+ }
+
+ milestone {
+ FontColor black
+ FontSize 12
+ FontStyle normal
+ BackGroundColor DS_BLUE
+ LineColor DS_BLUE
+ LineThickness 15.0
+ Margin 5
+ }
+
+ note {
+ FontColor black
+ FontSize 10
+ LineColor DS_LIGHTGREY
+ }
+
+ closed {
+ BackgroundColor #ffdfd4
+ FontColor black
+ }
+
+ Arrow {
+ LineColor DS_GREY
+ LineStyle solid
+ LineThickness 1.5
+ FontName FONTNAME
+ FontColor black
+ FontSize 12
+ }
+
+ Separator {
+ LineColor DS_GREY
+ LineThickness 1.0
+ FontSize 12
+ FontColor black
+ Margin 5
+ Padding 5
+ }
+}
+</style>