GitBucket
4.21.2
Toggle navigation
Snippets
Sign in
Files
Branches
1
Releases
Issues
Pull requests
Labels
Priorities
Milestones
Wiki
Forks
1
nigel.stanger
/
templates
forked from
mark.george/templates
Browse code
Restored black borders for deployment diagrams
master
1 parent
0d09657
commit
1509c867d2d76f7e5874cd8e7b6ad9ed9f426520
Nigel Stanger
authored
on 9 Apr 2021
Patch
Showing
1 changed file
plantuml/default-skin.ipu
Ignore Space
Show notes
View
plantuml/default-skin.ipu
skinparam { ' use the strictuml style - no circles, no footboxes, no drop shadows, and proper arrows Style strictuml ' slightly rounded boxes RoundCorner 8 ' transparent would be better, but seems to be problematic for some diagrams ' (black background fill on some things) BackgroundColor white ' slightly increase space around participants (currently has a bug with participant creation) 'ParticipantPadding 5 DefaultFontName "Open Sans" DefaultFontStyle plain TitleFontName "Open Sans" TitleFontStyle bold TitleFontSize 18 Artifact { ' make stereotypes less ugly Stereotype { Font { Size 10 Style plain } } } Card { ' make stereotypes less ugly Stereotype { Font { Size 10 Style plain } } } Cloud { ' make stereotypes less ugly Stereotype { Font { Size 10 Style plain } } } Database { ' Databases default to a black border, which is fine in deployment ' diagrams, but can look a bit out of place in other contexts. ' DatabaseBorderColor #A80036 will fix it when needed. ' make stereotypes less ugly Stereotype { Font { Size 10 Style plain } } } File { ' make stereotypes less ugly Stereotype { Font { Size 10 Style plain } } } Folder { ' make stereotypes less ugly Stereotype { Font { Size 10 Style plain } } } Frame { ' make stereotypes less ugly Stereotype { Font { Size 10 Style plain } } } Hexagon { ' make stereotypes less ugly Stereotype { Font { Size 10 Style plain } } } Node { ' make stereotypes less ugly Stereotype { Font { Size 10 Style plain } } } Package { ' make stereotypes less ugly Stereotype { Font { Size 10 Style plain } } } Rectangle { ' make stereotypes less ugly Stereotype { Font { Size 10 Style plain } } } Storage { ' make stereotypes less ugly Stereotype { Font { Size 10 Style plain } } } Usecase { ' make stereotypes less ugly Stereotype { Font { Size 10 Style plain } } } Sequence { ' for some reason sequence diagrams are ignoring the default font, so set it explicitly TitleFontName "Open Sans" TitleFontStyle bold TitleFontSize 18 ' make lifelines yellow too LifeLineBackgroundColor #FDFDCD Message { Align left } ' make stereotypes less ugly Stereotype { Font { Size 10 Style plain } } } Class { FontStyle bold ' get rid of access modifier icons ' use AttributeIconSize default to override this for ERDs AttributeIconSize 0 ' shrink message font size ArrowFontSize 10 ' make stereotypes less ugly Stereotype { Font { Size 10 Style plain } } } Note { FontSize 11 BackgroundColor LightGreen } }
skinparam { ' use the strictuml style - no circles, no footboxes, no drop shadows, and proper arrows Style strictuml ' slightly rounded boxes RoundCorner 8 ' transparent would be better, but seems to be problematic for some diagrams ' (black background fill on some things) BackgroundColor white ' slightly increase space around participants (currently has a bug with participant creation) 'ParticipantPadding 5 DefaultFontName "Open Sans" DefaultFontStyle plain TitleFontName "Open Sans" TitleFontStyle bold TitleFontSize 18 Artifact { ' for some reason half of the elements for deployment diagrams have a black border ' instead of the default reddish BorderColor #A80036 ' make stereotypes less ugly Stereotype { Font { Size 10 Style plain } } } Card { ' for some reason half of the elements for deployment diagrams have a black border ' instead of the default reddish BorderColor #A80036 ' make stereotypes less ugly Stereotype { Font { Size 10 Style plain } } } Cloud { ' for some reason half of the elements for deployment diagrams have a black border ' instead of the default reddish BorderColor #A80036 ' make stereotypes less ugly Stereotype { Font { Size 10 Style plain } } } Database { ' for some reason half of the elements for deployment diagrams have a black border ' instead of the default reddish BorderColor #A80036 ' make stereotypes less ugly Stereotype { Font { Size 10 Style plain } } } File { ' for some reason half of the elements for deployment diagrams have a black border ' instead of the default reddish BorderColor #A80036 ' make stereotypes less ugly Stereotype { Font { Size 10 Style plain } } } Folder { ' for some reason half of the elements for deployment diagrams have a black border ' instead of the default reddish BorderColor #A80036 ' make stereotypes less ugly Stereotype { Font { Size 10 Style plain } } } Frame { ' for some reason half of the elements for deployment diagrams have a black border ' instead of the default reddish BorderColor #A80036 ' make stereotypes less ugly Stereotype { Font { Size 10 Style plain } } } Hexagon { ' for some reason half of the elements for deployment diagrams have a black border ' instead of the default reddish BorderColor #A80036 ' make stereotypes less ugly Stereotype { Font { Size 10 Style plain } } } Node { ' for some reason half of the elements for deployment diagrams have a black border ' instead of the default reddish BorderColor #A80036 ' make stereotypes less ugly Stereotype { Font { Size 10 Style plain } } } Package { ' for some reason half of the elements for deployment diagrams have a black border ' instead of the default reddish BorderColor #A80036 ' make stereotypes less ugly Stereotype { Font { Size 10 Style plain } } } Rectangle { ' for some reason half of the elements for deployment diagrams have a black border ' instead of the default reddish BorderColor #A80036 ' make stereotypes less ugly Stereotype { Font { Size 10 Style plain } } } Storage { ' for some reason half of the elements for deployment diagrams have a black border ' instead of the default reddish BorderColor #A80036 ' make stereotypes less ugly Stereotype { Font { Size 10 Style plain } } } Usecase { ' make stereotypes less ugly Stereotype { Font { Size 10 Style plain } } } Sequence { ' for some reason sequence diagrams are ignoring the default font, so set it explicitly TitleFontName "Open Sans" TitleFontStyle bold TitleFontSize 18 ' make lifelines yellow too LifeLineBackgroundColor #FDFDCD Message { Align left } ' make stereotypes less ugly Stereotype { Font { Size 10 Style plain } } } Class { FontStyle bold ' get rid of access modifier icons ' use AttributeIconSize default to override this for ERDs AttributeIconSize 0 ' shrink message font size ArrowFontSize 10 ' make stereotypes less ugly Stereotype { Font { Size 10 Style plain } } } Note { FontSize 11 BackgroundColor LightGreen } }
Show line notes below