Is it possible to change the border / font colors of a particicular participant
without setting it globally using skinparam
?
For a particular participant
I need to have a different border + font color than defined in skinparam
.
Is it possible to change the border / font colors of a particicular participant
without setting it globally using skinparam
?
For a particular participant
I need to have a different border + font color than defined in skinparam
.
Found a solution in the docs using user defined styles:
skinparam useBetaStyle true
<style>
' scope to sequenceDiagram elements
sequenceDiagram {
' define a new style, using CSS class syntax
.todo {
FontColor white
LineColor #52A0DC
BackgroundColor #52A0DC
}
.exists {
LineColor #a9a9a9
BackgroundColor #a9a9a9
}
}
}
</style>
participant Dockerfile <<todo>>
participant "AWS SSM" as SSM <<exists>>
Result as expected: