You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 22, 2023. It is now read-only.
As the title says, I am trying to pass an optional stylesheet for a sequence diagram but it outputs a file, svg, png or pdf without applying it. Tried several configurations on the .css file without success. Here is a simple one I tried:
The problem seems to be on the mermaid.cli side, as I can change the style for all elements on mermaid's webpage using the developer tools. Here's a screenshot:
For some weird reason, with a similar diagram and stylesheet as the above, I am only able to change the font-family for .labelText, .loopText, .messageText and text.actor but not .noteText on the command line.
This is a problem with the core library, see mermaid-js/mermaid#587
Following the "official" way of setting the css does not work for all the items it should.
See also #24 for a PR which would also fix this, but it's on hold since it should be fixed in the core library.
As the title says, I am trying to pass an optional stylesheet for a sequence diagram but it outputs a file, svg, png or pdf without applying it. Tried several configurations on the .css file without success. Here is a simple one I tried:
And on the command line:
I do not seem to be doing anything wrong. I wonder if everyone else is unable to apply an optional stylesheet to sequence diagrams?
The text was updated successfully, but these errors were encountered: