Styling Mermaid Sequence Diagrams

How do you style a Mermaid Sequence Diagram? It seems you can’t use the same approach used for other diagrams.

Things I have tried

  • Adding style in sequence block
  • Adding style as a snippet
  • Adding sequence.scss as described in the documentation

What I’m trying to do

Style the elements of a sequence diagram.