Bug in some themes color scheme

0 votes
asked May 3 in Bug by boshka (3,740 points)
edited May 3 by boshka
Some themes fail to correctly display the following pattern:

!theme cerulean
:action text}

The "action text" is invisible. Please, see: http://www.plantuml.com/plantuml/umla/SoWkIImgAStDuL8ioKZDJLL8JYqgpKbDpEEoIamkoSpFKoX9hIYfvN98pKi1gW80

Could this be fixed in all failing themes?
commented May 4 by The-Lu (57,460 points)

Hi B., and all,

  • Is there no other exception?

Because it is the texts that are directly on the background that are concerned and should be changed in black or white depending the background color (light or dark).



commented May 4 by boshka (3,740 points)
hi The-Lu,

I haven't noticed any other exceptions.

commented May 5 by The-Lu (57,460 points)

Hi all,

In fact, there are a lot of other elements impacted:
- map element
- json element
- some Gantt task
- EBNF diagram
- Timing diagram

[FYI bschwarz]


Another question/wanted feature will be:

  • It will be perhaps also necessary to manage dark and light mode?

2 Answers

0 votes
answered May 7 by anonymous

So for this particular problem, and I suspect it is the same for the other problems, is that the styling for that particular syntax uses the same styling as other actions. For example, the below snippet has "First" and "Second". I believe both of these use the same styling. If I am incorrect, then please let me know how to differentiate.

I think the only way around this is to use inline coloring as shown for Second below. I tried to use custom styling, but I was getting an error when used with !theme cerulean

!theme cerulean



See here for example: http://www.plantuml.com/plantuml/umla/SoWkIImgAStDuL8ioKZDJLL8JYqgpKbDpEFYKb2mSiiiAYwnvkAoiadEpyaliahAIKpEjWjEJSxFIwdbSaZDIm7g1000

0 votes
answered May 9 by The-Lu (57,460 points)