Last active
May 25, 2020 15:28
-
-
Save MSSandroid/1eeffb94be79f40e3f273f5de17e0ffe to your computer and use it in GitHub Desktop.
This file contains hidden or 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
!procedure basic_colors($element, $inv, $col) | |
skinparam $element { | |
!if ($inv==1) | |
BackgroundColor white | |
BorderColor $col | |
'FontColor $col | |
!else | |
BackgroundColor $col | |
BorderColor white | |
FontColor white | |
!endif | |
} | |
!endfunction | |
!procedure theme($col1, $col2, $notebg) | |
skinparam BackgroundColor #ffffff | |
skinparam Shadowing false | |
basic_colors('activity',0,$col1) | |
basic_colors('activitydiamond',0,$col1) | |
basic_colors('actor',1,$col1) | |
basic_colors('agent',0,$col1) | |
'basic_colors('archimate') | |
basic_colors('arrow',0,'black') | |
basic_colors('artifact',0,$col1) | |
basic_colors('biddable',0,$col1) | |
basic_colors('boundary',1,$col1) | |
basic_colors('box',0,$col1) | |
basic_colors('card',0,$col1) | |
basic_colors('class',0,$col1) | |
basic_colors('cloud',0,$col1) | |
basic_colors('component',0,$col1) | |
basic_colors('condition',0,$col1) | |
basic_colors('collections',0,$col1) | |
basic_colors('control',1,$col1) | |
basic_colors('database',0,$col1) | |
basic_colors('domain',0,$col1) | |
basic_colors('entity',0,$col1) | |
basic_colors('file',0,$col1) | |
basic_colors('folder',0,$col1) | |
basic_colors('frame',0,$col1) | |
basic_colors('interface',0,$col1) | |
basic_colors('LifeLine',1,$col1) | |
basic_colors('node',0,$col1) | |
basic_colors('note',0,$notebg) | |
basic_colors('object',0,$col1) | |
basic_colors('package',0,$col1) | |
basic_colors('participant',0,$col1) | |
basic_colors('queue',0,$col1) | |
basic_colors('SequenceBox',0,$col1) | |
basic_colors('SequenceLifeLine',1,$col1) | |
basic_colors('SequenceParticipant',0,$col1) | |
basic_colors('stack',1,$col1) | |
basic_colors('state',0,$col1) | |
basic_colors('rectangle',0,$col1) | |
basic_colors('storage',0,$col1) | |
basic_colors('usecase',0,$col1) | |
skinparam ArrowColor $col2 | |
skinparam PartitionBorderColor $col2 | |
skinparam PartitionFontColor $col2 | |
!endfunction |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment