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
This works as expected (thank-you!), however when we switch to a dark theme, while the diagram switches, the numbers within the sequences become unreadable.
Expected behaviour
The sequence numbers are readable when in dark mode.
Actual behaviour
The sequence numbers are not readable when in dark mode as they are white on white.
Steps to reproduce
Apply the following diff against this repo
diff --git a/docs/reference/diagrams.md b/docs/reference/diagrams.md
index d6ce3a995..0521ef7cf 100644
--- a/docs/reference/diagrams.md+++ b/docs/reference/diagrams.md@@ -91,6 +91,7 @@ between those actors:
```` markdown title="Sequence diagram"
``` mermaid
sequenceDiagram
+ autonumber
Alice->>John: Hello John, how are you?
loop Healthcheck
John->>John: Fight against hypochondria
@@ -106,6 +107,7 @@ sequenceDiagram
``` mermaid
sequenceDiagram
+ autonumber
Alice->>John: Hello John, how are you?
loop Healthcheck
John->>John: Fight against hypochondria
Contribution guidelines
I've found a bug and checked that ...
the problem doesn't occur with theThe diagrams don't work either with these things so not sure it's relevant.mkdocs
orreadthedocs
themescustom_dir
,extra_javascript
andextra_css
Description
Mermaid's Sequence Diagram can support auto-numbering of sequence numbers.
This works as expected (thank-you!), however when we switch to a dark theme, while the diagram switches, the numbers within the sequences become unreadable.
Expected behaviour
The sequence numbers are readable when in dark mode.
Actual behaviour
The sequence numbers are not readable when in dark mode as they are white on white.
Steps to reproduce
Apply the following diff against this repo
Go to http://localhost:8000/mkdocs-material/reference/diagrams/?h=mermaid#using-sequence-diagrams
Toggle between light and dark mode.
Package versions
Python 3.10.7
mkdocs, version 1.4.2
/ ae7ed95Version: 8.5.11
Configuration
As per https://github.com/squidfunk/mkdocs-material/blob/master/mkdocs.yml
System information
The text was updated successfully, but these errors were encountered: