CSS style seems to disable inline style (e.g. line or text color) [Deployment diagram]

0 votes
asked Feb 15 in Bug by The-Lu (22,220 points)
edited Feb 15 by The-Lu

Hello PlantUML team,

  • CSS [beta-]style seems to disable inline style (e.g. inline line or text color).
Without CSS styleWith CSS styleWith minimal CSS style
Code
@startuml




agent a
cloud c #pink;line:red;line.bold;text:red
file  f #palegreen;line:green;line.dashed;text:green
node  n #aliceblue;line:blue;line.dotted;text:blue
@enduml
@startuml
<style>
document {
  BackGroundColor gray
}
</style>
agent a
cloud c #pink;line:red;line.bold;text:red
file  f #palegreen;line:green;line.dashed;text:green
node  n #aliceblue;line:blue;line.dotted;text:blue
@enduml

@startuml
<style>
</style>
agent a
cloud c #pink;line:red;line.bold;text:red
file  f #palegreen;line:green;line.dashed;text:green
node  n #aliceblue;line:blue;line.dotted;text:blue
@enduml
Output
ObservationLine style (red bold, green dashed and blue dotted): OK
Text color (c red, f green, n blue): OK
Line style: KO → all is normal! (no bold, dashed or dotted)
Text color: KO → all is black! (no color)
Just the background color is taken in account.
Line style: KO → all is normal!
Text color: KO → all is black!
Just the background color is taken in account.

Thanks for your support,
Regards,
Th.

1 Answer

0 votes
answered Apr 28 by The-Lu (22,220 points)
 
Best answer

Hello PlantUML,

It is now corrected.

Thanks a lot,
Regards,
Th.

...