Change class header text color and background color

0 votes
asked Dec 2 in Wanted features by hukameniz (680 points)
It would be cool to be able to set the class header (the part where the class name appears) text color and background color.

1 Answer

0 votes
answered Dec 2 by hukameniz (680 points)
selected 3 days ago by hukameniz
 
Best answer

I figured I can change those by adding a "" around.

Ex: "<color:Red><size:16>**name**</size></color>" works.

This can also be changed using the skimparam attributes:

skinparam class<<optional_stereotype>> {
        FontColor             color
        FontName              name
        FontSize              size
        FontStyle             color
        HeaderBackgroundColor color
}

...