Last active
February 15, 2021 12:11
-
-
Save janjaali/8c94d1b836ac30fec85595e4c29ac8eb to your computer and use it in GitHub Desktop.
PlantUML stylesheet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
' Local setup: ' colors | |
' Store this stylesheet next to you diagrma and include with: | |
' !include style.plantuml | |
' Remote setup: | |
' !include https://gist.githubusercontent.com/janjaali/8c94d1b836ac30fec85595e4c29ac8eb/raw/6d3d94d78db3dd77a3b878708378d181c43fe621/style.plantuml | |
' colors | |
!$MAIN = "#176ccb" | |
!$WHITE = "#ffffff" | |
!$LIGHTGREY = "#8c8e98" | |
' Some adjustments for ligature | |
skinparam defaultFontName "Verdana" | |
skinparam defaultFontSize 12 | |
' aligns text to center | |
skinparam defaultTextAlignment center | |
' Turns shadowing off | |
skinparam shadowing false | |
' Scales diagram, useful when injecting a generated PNG in a fitting resolution | |
' to README's | |
scale 2 | |
' Skins | |
skinparam arrow { | |
Color $MAIN | |
} | |
skinparam actor { | |
BorderColor $MAIN | |
BackgroundColor $WHITE | |
} | |
skinparam component { | |
BorderColor $MAIN | |
BackgroundColor $WHITE | |
} | |
skinparam database { | |
BorderColor $MAIN | |
BackgroundColor $WHITE | |
} | |
skinparam interface { | |
BorderColor $MAIN | |
BackgroundColor $WHITE | |
} | |
skinparam participant { | |
BorderColor $MAIN | |
BackgroundColor $WHITE | |
} | |
skinparam queue { | |
BorderColor $MAIN | |
BackgroundColor $WHITE | |
} | |
skinparam sequence { | |
LifeLineBorderColor $MAIN | |
BackgroundColor $WHITE | |
GroupBorderColor $LIGHTGREY | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment