Welcome to PlantUML Q&A, where you can ask questions and receive answers from other members of the community.

You can also submit new features request and vote for them.

How to style package titles?

0 votes

How do I style the package title? 

 

I can not find any hints on how to do that. I would like to have the title in a different font color and not thick. I can only style border and background of the package.

 

@startuml

skinparam package {
  BackgroundColor #DDDDDD
  BorderColor #404246
  BorderThickness 1
  FontColor #404246
}
package "Configuration files" {
[mapping] 
}
@enduml
asked Dec 1, 2015 by anonymous

1 Answer

0 votes

Hi, there is a bug in the current version.

This has been fixed in last beta : https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

You can now have:

@startuml
skinparam package {
  BackgroundColor blue
  BorderColor red
  BorderThickness 4
  FontColor green
  FontSize 40
}

package "Configuration files" {
[foo]
}
@enduml

 

answered Dec 3, 2015 by plantuml (124,290 points)
Support This Project Offer 250 Mo! Follow PlantUML on Twitter
...