puml-themes
puml-themes copied to clipboard
Dark themes didn't change text color of delays in sequence diagrams
I'm using Cyborg theme for my dark themed site, but delays are still in black thus invisible.
Example:
@startuml
!theme cyborg
participant Client
participant Daemon
Client -> Daemon: CNXN (host::)
...Optional Authentication...
Daemon -> Client: CNXN (device::)
@enduml
Result:
http://www.plantuml.com/plantuml/png/LOqn3i8m34Ltdy9iC903P415PIuhQqWjQYbnejP1ulOa2WnTtzTxVzZKhLfY03ZeGf7GVvvfVG7aojbpTg8u1YRH7RevYaa0-eJdouzO7AV7XCSbRMhj2OmnzwoSn0MybdeXDU4Qg0jqfzczyxTdUhEdviD0CfSOlW00
I also tested other dark themes (black-knight
, cyborg-outline
, hacker
, superhero
and superhero-outline
), they all have this issue.
Thank you for the report. I know how to fix it, but I won't have time until tomorrow to get it into puml-themes and plantuml.
In the meantime, you can set these values yourself, if you are able to. Specifically for the Delay font color:
skinparam SequenceDelayFontColor <PUT YOUR COLOR HERE>
I think I should have the fix by late tomorrow...
Sorry for the lateness. This is fixed in puml-themes, and I submitted a pull-request to plantuml for the fixes as well.