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 (16,980 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.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...