Max
Max

Reputation: 126

Colorize plantuml activity diagram

I want to set a custom skin for my activity diagrams. I only managed to set the skin for activities:

skinparam activity {
    BackgroundColor #AAAAAA
    BorderColor #BBBBBB
}

Is it possible to set custom colors for conditions and loops, too?

Thanks in advance! Max

Upvotes: 2

Views: 3042

Answers (1)

Xiaofeng
Xiaofeng

Reputation: 600

try this:

skinparam activityDiamondBackgroundColor #AAAAAA
skinparam activityDiamondBorderColor #BBBBBB

or:

skinparam activity {
    DiamondBackgroundColor #AAAAAA
    DiamondBorderColor #BBBBBB
}

found in ColorParam.java

The default color for background is #FEFECE, search the source file, got MY_YELLOW, then search MY_YELLOW, got activityDiamondBackground, then I tried activityDiamondBackgroundColor, and it works.

Upvotes: 2

Related Questions