3

I would like to change the default black color of the font to white. I tried to add this to the styling section of my graph:

style request-rejected fill:#e74c3c,color:#FFFFFF;

The background is correctly changed to #e74c3c but the font stays black. It looks however that normal CSS styles are used in the .less source.

Is it possible to change the font color in a graph?

WoJ
  • 27,165
  • 48
  • 180
  • 345

1 Answers1

1

I know that this is a SUPER old post - but just in case someone else ends up here...

Please see Mermaid documentation for information on styling

Justin Greywolf
  • 650
  • 7
  • 17