2021-05-01 17:40:56 +00:00
|
|
|
''
|
|
|
|
'' superhero theme based off of the bootstrap theme of the same name
|
|
|
|
'' https://bootswatch.com/minty/
|
|
|
|
''
|
|
|
|
'' Author = "Brett Schwarz
|
|
|
|
'' Copyright (c) 2020 by Brett Schwarz
|
|
|
|
|
|
|
|
!$THEME = "minty"
|
|
|
|
|
|
|
|
!if %not(%variable_exists("$BGCOLOR"))
|
|
|
|
!$BGCOLOR = "transparent"
|
|
|
|
!endif
|
|
|
|
|
|
|
|
skinparam backgroundColor $BGCOLOR
|
|
|
|
skinparam useBetaStyle false
|
|
|
|
|
|
|
|
''
|
|
|
|
'' Colors taken from the css file of the BS theme
|
|
|
|
''
|
|
|
|
!$BLUE = "#007bff"
|
|
|
|
!$INDIGO = "#6610f2"
|
|
|
|
!$PURPLE = "#6f42c1"
|
|
|
|
!$PINK = "#e83e8c"
|
|
|
|
!$RED = "#ff7851"
|
|
|
|
!$ORANGE = "#fd7e14"
|
|
|
|
!$YELLOW = "#ffce67"
|
|
|
|
!$GREEN = "#56cc9d"
|
|
|
|
!$TEAL = "#20c997"
|
|
|
|
!$CYAN = "#6cc3d5"
|
|
|
|
!$WHITE = "#fff"
|
|
|
|
!$GRAY = "#888"
|
|
|
|
!$GRAYDARK = "#343a40"
|
|
|
|
!$PRIMARY = "#78c2ad"
|
|
|
|
!$SECONDARY = "#f3969a"
|
|
|
|
!$SUCCESS = "#56cc9d"
|
|
|
|
!$INFO = "#6cc3d5"
|
|
|
|
!$WARNING = "#ffce67"
|
|
|
|
!$DANGER = "#ff7851"
|
|
|
|
!$LIGHT = "#f8f9fa"
|
|
|
|
!$DARK = "#343a40"
|
|
|
|
|
|
|
|
'' *_DARK = tint (lighter) of the main color of 80%
|
|
|
|
'' where TINT is calculated by clr + (255-clr) * tint_factor
|
|
|
|
'' *_LIGHT = shade (darker) of the main color of 80%
|
|
|
|
'' and SHADE is calculated by clr * (1 - shade_factor)
|
|
|
|
''
|
|
|
|
!$FGCOLOR = $WHITE
|
|
|
|
!$PRIMARY_DARK = "#6caf9c"
|
|
|
|
!$PRIMARY_LIGHT = "#86c8b5"
|
|
|
|
!$PRIMARY_TEXT = $WHITE
|
|
|
|
!$SECONDARY_DARK = "#db878b"
|
|
|
|
!$SECONDARY_LIGHT = "#f4a1a4"
|
|
|
|
!$SECONDARY_TEXT = $WHITE
|
|
|
|
!$INFO_DARK = "#61b0c0"
|
|
|
|
!$INFO_LIGHT = "#7bc9d9"
|
|
|
|
!$INFO_TEXT = $WHITE
|
|
|
|
!$SUCCESS_DARK = "#4db88d"
|
|
|
|
!$SUCCESS_LIGHT = "#67d1a7"
|
|
|
|
!$SUCCESS_TEXT = $WHITE
|
|
|
|
!$WARNING_DARK = "#e6b95d"
|
|
|
|
!$WARNING_LIGHT = "#ffd376"
|
|
|
|
!$WARNING_TEXT = $WHITE
|
|
|
|
!$DANGER_DARK = "#e66c49"
|
|
|
|
!$DANGER_LIGHT = "#ff8662"
|
|
|
|
!$DANGER_TEXT = $WHITE
|
|
|
|
!$DARK_DARK = "#2f343a"
|
|
|
|
!$DARK_LIGHT = "#484e53"
|
|
|
|
!$LIGHT_DARK = "#dfe0e1"
|
|
|
|
!$LIGHT_LIGHT = "#f9fafb"
|
|
|
|
|
|
|
|
!procedure $success($msg)
|
|
|
|
<font color=$SUCCESS><b>$msg
|
|
|
|
!endprocedure
|
|
|
|
|
|
|
|
!procedure $failure($msg)
|
|
|
|
<font color=$DANGER><b>$msg
|
|
|
|
!endprocedure
|
|
|
|
|
|
|
|
!procedure $warning($msg)
|
|
|
|
<font color=$WARNING><b>$msg
|
|
|
|
!endprocedure
|
|
|
|
|
|
|
|
!procedure $primary_scheme()
|
|
|
|
FontColor $PRIMARY_TEXT
|
|
|
|
BorderColor $PRIMARY
|
|
|
|
BackgroundColor $PRIMARY_LIGHT
|
|
|
|
!endprocedure
|
2021-11-09 05:18:52 +00:00
|
|
|
''
|
|
|
|
'' Style settings
|
|
|
|
''
|
|
|
|
<style>
|
|
|
|
root {
|
|
|
|
BackgroundColor $BGCOLOR
|
|
|
|
FontColor $PRIMARY_TEXT
|
|
|
|
HyperLinkColor $ORANGE
|
|
|
|
LineColor $PRIMARY_DARK
|
|
|
|
LineThickness 1
|
|
|
|
Margin 10
|
|
|
|
Padding 6
|
|
|
|
Shadowing 0.0
|
|
|
|
}
|
|
|
|
node {
|
|
|
|
Padding 15
|
|
|
|
roundcorner 20
|
|
|
|
BackgroundColor $PRIMARY-$PRIMARY_DARK
|
|
|
|
}
|
|
|
|
caption {
|
|
|
|
LineThickness 0
|
|
|
|
}
|
|
|
|
footer {
|
|
|
|
LineThickness 0
|
|
|
|
}
|
|
|
|
groupHeader {
|
|
|
|
BackgroundColor $SECONDARY
|
|
|
|
FontColor $INFO
|
|
|
|
FontStyle bold
|
|
|
|
}
|
|
|
|
header {
|
|
|
|
LineThickness 0
|
|
|
|
}
|
|
|
|
referenceHeader {
|
|
|
|
BackgroundColor $BGCOLOR
|
|
|
|
FontColor $DARK
|
|
|
|
FontStyle bold
|
|
|
|
}
|
|
|
|
separator {
|
|
|
|
BackgroundColor $FGCOLOR
|
|
|
|
FontColor $BGCOLOR
|
|
|
|
FontStyle bold
|
|
|
|
}
|
|
|
|
title {
|
|
|
|
FontSize 20
|
|
|
|
BorderRoundCorner 8
|
|
|
|
BorderThickness 1
|
|
|
|
BackgroundColor $SECONDARY_LIGHT-$SECONDARY
|
|
|
|
FontColor $PRIMARY
|
|
|
|
BorderColor $SECONDARY
|
|
|
|
}
|
2021-11-11 04:15:33 +00:00
|
|
|
nwdiagDiagram {
|
|
|
|
network {
|
|
|
|
$primary_scheme()
|
|
|
|
LineColor $PRIMARY
|
|
|
|
LineThickness 1.0
|
|
|
|
FontColor $PRIMARY_DARK
|
|
|
|
}
|
|
|
|
server {
|
|
|
|
$primary_scheme()
|
|
|
|
}
|
|
|
|
arrow {
|
|
|
|
FontColor $PRIMARY_DARK
|
|
|
|
LineColor $PRIMARY_DARK
|
|
|
|
}
|
|
|
|
group {
|
|
|
|
BackGroundColor $LIGHT
|
|
|
|
LineColor $LIGHT_DARK
|
|
|
|
LineThickness 2.0
|
|
|
|
Margin 5
|
|
|
|
Padding 5
|
|
|
|
}
|
2021-11-10 03:11:36 +00:00
|
|
|
}
|
2021-11-11 04:08:38 +00:00
|
|
|
ganttDiagram {
|
|
|
|
task {
|
|
|
|
$primary_scheme()
|
|
|
|
LineColor $PRIMARY
|
|
|
|
Margin 10
|
|
|
|
Padding 6
|
|
|
|
}
|
|
|
|
note {
|
|
|
|
FontColor $INFO_TEXT
|
|
|
|
LineColor $INFO_DARK
|
|
|
|
BackGroundColor $INFO
|
|
|
|
}
|
|
|
|
separator {
|
|
|
|
LineColor $SECONDARY
|
|
|
|
BackGroundColor $SECONDARY-$SECONDARY_DARK
|
|
|
|
FontColor $SECONDARY_TEXT
|
|
|
|
}
|
|
|
|
milestone {
|
|
|
|
FontColor $INFO
|
2021-11-13 01:28:21 +00:00
|
|
|
FontSize 16
|
2021-11-11 04:08:38 +00:00
|
|
|
FontStyle italic
|
|
|
|
BackGroundColor $SECONDARY
|
|
|
|
LineColor $SECONDARY_DARK
|
|
|
|
}
|
|
|
|
timeline {
|
|
|
|
BackgroundColor $SECONDARY
|
|
|
|
FontColor $SECONDARY_TEXT
|
|
|
|
}
|
|
|
|
closed {
|
|
|
|
BackgroundColor $WARNING_DARK
|
|
|
|
FontColor $WARNING_TEXT
|
|
|
|
}
|
|
|
|
}
|
2021-11-09 05:18:52 +00:00
|
|
|
</style>
|
2021-05-01 17:40:56 +00:00
|
|
|
''
|
|
|
|
'' Global Default Values
|
|
|
|
''
|
|
|
|
skinparam defaultFontName "Verdana"
|
|
|
|
skinparam defaultFontSize 12
|
|
|
|
skinparam dpi 100
|
|
|
|
skinparam shadowing false
|
|
|
|
skinparam roundcorner 8
|
|
|
|
skinparam ParticipantPadding 40
|
|
|
|
skinparam BoxPadding 40
|
|
|
|
skinparam Padding 5
|
|
|
|
skinparam ArrowColor $DARK
|
|
|
|
skinparam stereotype {
|
|
|
|
CBackgroundColor $SECONDARY_LIGHT
|
|
|
|
CBorderColor $SECONDARY_DARK
|
|
|
|
ABackgroundColor $SUCCESS_LIGHT
|
|
|
|
ABorderColor $SUCCESS_DARK
|
|
|
|
IBackgroundColor $DANGER_LIGHT
|
|
|
|
IBorderColor $DANGER_DARK
|
|
|
|
EBackgroundColor $WARNING_LIGHT
|
|
|
|
EBorderColor $WARNING_DARK
|
|
|
|
NBackgroundColor $INFO_LIGHT
|
|
|
|
NBorderColor $INFO_DARK
|
|
|
|
}
|
|
|
|
skinparam title {
|
|
|
|
FontColor $PRIMARY_DARK
|
|
|
|
BorderColor $SECONDARY_DARK
|
|
|
|
FontSize 20
|
|
|
|
BorderRoundCorner 8
|
|
|
|
BorderThickness 1
|
|
|
|
BackgroundColor $SECONDARY_LIGHT-$SECONDARY
|
|
|
|
}
|
|
|
|
|
|
|
|
skinparam legend {
|
|
|
|
BackgroundColor $SECONDARY
|
|
|
|
BorderColor $SECONDARY_DARK
|
|
|
|
FontColor $LIGHT
|
|
|
|
}
|
|
|
|
|
|
|
|
!startsub swimlane
|
|
|
|
skinparam swimlane {
|
|
|
|
BorderColor $INFO
|
|
|
|
BorderThickness 2
|
|
|
|
TitleBackgroundColor $SECONDARY_LIGHT-$SECONDARY
|
|
|
|
TitleFontColor $PRIMARY
|
|
|
|
}
|
|
|
|
!endsub
|
|
|
|
|
|
|
|
!startsub activity
|
|
|
|
|
|
|
|
skinparam activity {
|
|
|
|
$primary_scheme()
|
|
|
|
BarColor $SUCCESS
|
|
|
|
StartColor $INFO
|
|
|
|
EndColor $INFO
|
|
|
|
''
|
|
|
|
DiamondBackgroundColor $SECONDARY_LIGHT
|
|
|
|
DiamondBorderColor $SECONDARY_DARK
|
|
|
|
DiamondFontColor $SECONDARY_TEXT
|
|
|
|
}
|
|
|
|
!endsub
|
|
|
|
|
|
|
|
!startsub participant
|
|
|
|
|
|
|
|
skinparam participant {
|
|
|
|
$primary_scheme()
|
|
|
|
ParticipantBorderThickness 2
|
|
|
|
}
|
|
|
|
!endsub
|
|
|
|
|
|
|
|
!startsub actor
|
|
|
|
|
|
|
|
skinparam actor {
|
|
|
|
$primary_scheme()
|
|
|
|
}
|
|
|
|
!endsub
|
|
|
|
|
|
|
|
!startsub arrow
|
|
|
|
|
|
|
|
skinparam arrow {
|
|
|
|
Thickness 3
|
|
|
|
Color $PRIMARY
|
|
|
|
FontColor $FGCOLOR
|
|
|
|
}
|
|
|
|
!endsub
|
|
|
|
|
|
|
|
!startsub sequence
|
|
|
|
|
|
|
|
skinparam sequence {
|
|
|
|
BorderColor $PRIMARY
|
|
|
|
' For some reason sequence title font color does not pick up from global
|
|
|
|
TitleFontColor $PRIMARY
|
|
|
|
BackgroundColor $BGCOLOR
|
|
|
|
StartColor $PRIMARY
|
|
|
|
EndColor $PRIMARY
|
|
|
|
''
|
|
|
|
BoxBackgroundColor $BGCOLOR
|
|
|
|
BoxBorderColor $DARK
|
2021-07-06 03:14:13 +00:00
|
|
|
BoxFontColor $DARK
|
|
|
|
''
|
|
|
|
DelayFontColor $DARK
|
2021-05-01 17:40:56 +00:00
|
|
|
''
|
|
|
|
LifeLineBorderColor $SECONDARY
|
|
|
|
LifeLineBorderThickness 2
|
|
|
|
LifeLineBackgroundColor $SECONDARY_DARK
|
|
|
|
''
|
|
|
|
GroupBorderColor $DARK
|
|
|
|
GroupFontColor $DARK
|
|
|
|
GroupHeaderFontColor $INFO
|
|
|
|
GroupBackgroundColor $SECONDARY
|
|
|
|
GroupHeaderBackgroundColor $BGCOLOR
|
|
|
|
''
|
|
|
|
DividerBackgroundColor $DARK
|
|
|
|
DividerBorderColor $DARK
|
|
|
|
DividerBorderThickness 2
|
|
|
|
DividerFontColor $LIGHT
|
|
|
|
''
|
|
|
|
ReferenceBackgroundColor $BGCOLOR
|
|
|
|
ReferenceBorderColor $DARK
|
|
|
|
ReferenceFontColor $DARK
|
|
|
|
ReferenceHeaderFontColor $INFO
|
|
|
|
ReferenceHeaderBackgroundColor $SECONDARY
|
2021-07-06 03:14:13 +00:00
|
|
|
''
|
|
|
|
StereotypeFontColor $PRIMARY_TEXT
|
2021-05-01 17:40:56 +00:00
|
|
|
}
|
|
|
|
!endsub
|
|
|
|
|
|
|
|
!startsub partition
|
|
|
|
|
|
|
|
skinparam partition {
|
|
|
|
BorderColor $PRIMARY
|
|
|
|
FontColor $PRIMARY
|
|
|
|
BackgroundColor $BGCOLOR
|
|
|
|
}
|
|
|
|
!endsub
|
|
|
|
|
|
|
|
!startsub collections
|
|
|
|
|
|
|
|
skinparam collections {
|
|
|
|
$primary_scheme()
|
|
|
|
}
|
|
|
|
!endsub
|
|
|
|
|
|
|
|
!startsub control
|
|
|
|
|
|
|
|
skinparam control {
|
|
|
|
$primary_scheme()
|
|
|
|
}
|
|
|
|
!endsub
|
|
|
|
|
|
|
|
!startsub entity
|
|
|
|
|
|
|
|
skinparam entity {
|
|
|
|
$primary_scheme()
|
|
|
|
}
|
|
|
|
!endsub
|
|
|
|
|
|
|
|
!startsub boundary
|
|
|
|
|
|
|
|
skinparam boundary {
|
|
|
|
$primary_scheme()
|
|
|
|
}
|
|
|
|
!endsub
|
|
|
|
|
|
|
|
!startsub agent
|
|
|
|
|
|
|
|
skinparam agent {
|
|
|
|
BackgroundColor $WARNING
|
|
|
|
BorderColor $WARNING_LIGHT
|
|
|
|
FontColor $DARK
|
|
|
|
}
|
|
|
|
!endsub
|
|
|
|
|
|
|
|
!startsub note
|
|
|
|
|
|
|
|
skinparam note {
|
|
|
|
BorderThickness 1
|
|
|
|
BackgroundColor $INFO
|
|
|
|
BorderColor $INFO_DARK
|
|
|
|
FontColor $WHITE
|
|
|
|
}
|
|
|
|
!endsub
|
|
|
|
|
|
|
|
!startsub artifact
|
|
|
|
|
|
|
|
skinparam artifact {
|
|
|
|
BackgroundColor $DARK
|
|
|
|
BorderColor $DARK_DARK
|
|
|
|
FontColor $LIGHT
|
|
|
|
}
|
|
|
|
!endsub
|
|
|
|
|
|
|
|
!startsub component
|
|
|
|
|
|
|
|
skinparam component {
|
|
|
|
$primary_scheme()
|
|
|
|
}
|
|
|
|
!endsub
|
|
|
|
|
|
|
|
!startsub interface
|
|
|
|
|
|
|
|
skinparam interface {
|
|
|
|
BackgroundColor $DANGER_DARK
|
|
|
|
BorderColor $DANGER
|
|
|
|
FontColor $DARK
|
|
|
|
}
|
|
|
|
!endsub
|
|
|
|
|
|
|
|
!startsub storage
|
|
|
|
|
|
|
|
skinparam storage {
|
|
|
|
BackgroundColor $WARNING
|
|
|
|
BorderColor $WARNING_DARK
|
|
|
|
FontColor $WARNING_TEXT
|
|
|
|
}
|
|
|
|
!endsub
|
|
|
|
|
|
|
|
!startsub node
|
|
|
|
|
|
|
|
skinparam node {
|
|
|
|
BackgroundColor $SECONDARY
|
|
|
|
BorderColor $LIGHT
|
|
|
|
FontColor $LIGHT
|
|
|
|
}
|
|
|
|
!endsub
|
|
|
|
|
|
|
|
!startsub cloud
|
|
|
|
|
|
|
|
skinparam cloud {
|
|
|
|
BackgroundColor #F2FCFE-#eeeeee
|
|
|
|
BorderColor #F2FCFE
|
|
|
|
FontColor $DARK
|
|
|
|
}
|
|
|
|
!endsub
|
|
|
|
|
|
|
|
!startsub database
|
|
|
|
|
|
|
|
skinparam database {
|
|
|
|
$primary_scheme()
|
|
|
|
}
|
|
|
|
!endsub
|
|
|
|
|
|
|
|
!startsub class
|
|
|
|
|
|
|
|
skinparam class {
|
|
|
|
$primary_scheme()
|
|
|
|
HeaderBackgroundColor $PRIMARY_LIGHT
|
|
|
|
StereotypeFontColor $DARK
|
|
|
|
BorderThickness 1
|
|
|
|
AttributeFontColor $DARK
|
|
|
|
AttributeFontSize 11
|
|
|
|
}
|
|
|
|
!endsub
|
|
|
|
|
|
|
|
!startsub object
|
|
|
|
|
|
|
|
skinparam object {
|
|
|
|
$primary_scheme()
|
|
|
|
StereotypeFontColor $DARK
|
|
|
|
BorderThickness 1
|
|
|
|
AttributeFontColor $SECONDARY_TEXT
|
|
|
|
AttributeFontSize 11
|
|
|
|
}
|
|
|
|
!endsub
|
|
|
|
|
|
|
|
!startsub usecase
|
|
|
|
|
|
|
|
skinparam usecase {
|
|
|
|
$primary_scheme()
|
|
|
|
BorderThickness 2
|
|
|
|
StereotypeFontColor $PRIMARY
|
|
|
|
}
|
|
|
|
!endsub
|
|
|
|
|
|
|
|
!startsub rectangle
|
|
|
|
|
|
|
|
skinparam rectangle {
|
|
|
|
$primary_scheme()
|
|
|
|
BackgroundColor $SECONDARY_LIGHT
|
|
|
|
BorderThickness 2
|
|
|
|
StereotypeFontColor $PRIMARY
|
|
|
|
}
|
|
|
|
!endsub
|
|
|
|
|
|
|
|
!startsub package
|
|
|
|
|
|
|
|
skinparam package {
|
|
|
|
BackgroundColor $SECONDARY
|
|
|
|
BorderColor $PRIMARY
|
|
|
|
FontColor $PRIMARY
|
|
|
|
BorderThickness 2
|
|
|
|
}
|
|
|
|
!endsub
|
|
|
|
|
|
|
|
!startsub folder
|
|
|
|
|
|
|
|
skinparam folder {
|
|
|
|
BackgroundColor $SECONDARY_LIGHT
|
|
|
|
BorderColor $WARNING
|
|
|
|
FontColor $WARNING
|
|
|
|
BorderThickness 2
|
|
|
|
}
|
|
|
|
!endsub
|
|
|
|
|
|
|
|
!startsub frame
|
|
|
|
|
|
|
|
skinparam frame {
|
|
|
|
BackgroundColor $SECONDARY_LIGHT
|
|
|
|
BorderColor $INFO
|
|
|
|
FontColor $INFO
|
|
|
|
BorderThickness 2
|
|
|
|
}
|
|
|
|
!endsub
|
|
|
|
|
|
|
|
!startsub state
|
|
|
|
|
|
|
|
skinparam state {
|
|
|
|
$primary_scheme()
|
|
|
|
StartColor $INFO
|
|
|
|
EndColor $INFO
|
|
|
|
AttributeFontColor $SECONDARY_TEXT
|
|
|
|
AttributeFontSize 11
|
|
|
|
}
|
|
|
|
!endsub
|
|
|
|
|
|
|
|
!startsub queue
|
|
|
|
|
|
|
|
skinparam queue {
|
|
|
|
$primary_scheme()
|
|
|
|
}
|
|
|
|
!endsub
|
|
|
|
|
|
|
|
!startsub card
|
|
|
|
|
|
|
|
skinparam card {
|
|
|
|
BackgroundColor $INFO
|
|
|
|
BorderColor $INFO_DARK
|
|
|
|
FontColor $INFO_TEXT
|
|
|
|
}
|
|
|
|
!endsub
|
|
|
|
|
|
|
|
!startsub file
|
|
|
|
|
|
|
|
skinparam file {
|
|
|
|
BackgroundColor $SECONDARY_DARK
|
|
|
|
BorderColor $LIGHT
|
|
|
|
FontColor $LIGHT
|
|
|
|
}
|
|
|
|
!endsub
|
|
|
|
|
|
|
|
!startsub stack
|
|
|
|
|
|
|
|
skinparam stack {
|
|
|
|
$primary_scheme()
|
|
|
|
}
|
|
|
|
!endsub
|