puml-themes icon indicating copy to clipboard operation
puml-themes copied to clipboard

Dark themes didn't change text color of delays in sequence diagrams

Open yume-chan opened this issue 3 years ago • 2 comments

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

1

I also tested other dark themes (black-knight, cyborg-outline, hacker, superhero and superhero-outline), they all have this issue.

yume-chan avatar Jun 21 '21 04:06 yume-chan

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>

here is an example

I think I should have the fix by late tomorrow...

bschwarz avatar Jun 21 '21 05:06 bschwarz

Sorry for the lateness. This is fixed in puml-themes, and I submitted a pull-request to plantuml for the fixes as well.

bschwarz avatar Jul 06 '21 03:07 bschwarz