Allow new styling for nested package

0 votes
asked Feb 2, 2022 in Wanted features by The-Lu (64,340 points)

Hello PlantUML team,

  • Could you allow new styling for nested package?

Here is an example:

@startuml
<style>
file {
  BackGroundColor #b
  LineThickness 1
  LineColor black
}
folder {
  BackGroundColor #pink
  LineThickness 1
  LineColor black
}
frame {
  BackGroundColor #palegreen
  LineThickness 1
  LineColor black
}
package {
  BackGroundColor #LightSkyBlue
  LineThickness 1
  LineColor black
}
</style>
rectangle OK {
folder folder
frame frame
package package
}
rectangle package_KO {
folder e7 as "folder" {
file f7
}
frame e8 as "frame" {
file f8
}
package e11 as "package" {
file f11
}
}
@enduml

  • Why nested package is pink?

See also example here:

Regards.

1 Answer

+1 vote
answered Feb 3, 2022 by plantuml (295,000 points)
selected Feb 3, 2022 by The-Lu
 
Best answer

Thanks for the report, this is indeed a bug.

This should be fixed in last snapshot and on the online server.

...