Hello A., and all,
For that you can use local style, as:
@startuml
<style>
activityDiagram {
diamond {
BackgroundColor palegreen
FontColor blue
}
</style>
skin debug
:A;
if (decision) then (yes)
:B;
else (no)
endif
<style>
activityDiagram {
diamond {
BackgroundColor pink
FontColor red
}
</style>
:C;
if (decision) then (yes)
:D;
else (no)
endif
@enduml
FYI, that is:
- OK for BackgroundColor
- but KO for FontColor --> There is on issue on `FontColor`, which seems to be global not local!
Enjoy,
Regards,
Th.