Correct FontColor of collections with skinparam

0 votes
asked Jul 7, 2021 in Bug by The-Lu (88,340 points)

Hello PlantUML,

Here is a test with collections on Sequence diagram:

CodeOurput
skinparam: KO
@startuml
skinparam participant {
    BackgroundColor palegreen
    FontColor red
}
skinparam collections {
    BackgroundColor pink
    FontColor blue
}
participant participant 
collections collections
note over collections: Why the label\n of collections\n is not blue?
@enduml

style: OK

@startuml
<style>
participant {
  BackGroundColor palegreen
  FontColor red
}
collections {
  BackGroundColor palegreen
  FontColor blue
}
</style>
participant participant 
collections collections
note over collections: With **style** the label\n of collections\n is **blue**?
@enduml

With skinparam the FontColor of the Collections is taken from the FontColor of participant!

Is it possible to correct, or just to confirm to use style now?

Regards,
Th.

related to an answer for: skinparam for deployments not working
commented Jul 7, 2021 by The-Lu (88,340 points)

Same thing with deployment:

@startuml
skinparam collections {
    BackgroundColor pink
    FontColor blue
}
node n
collections collections
note left of collections: Why the label\n of collections\n is not blue?
@enduml

In fact the skinparam collectionsFontColor seems to don't exist! blush

Regards,
Th.

1 Answer

0 votes
answered Feb 3, 2022 by The-Lu (88,340 points)
 
Best answer
We can close... and use style now...
...