Fixed sequence numbers in sequence diagrams in dark mode

This commit is contained in:
squidfunk 2022-12-07 21:24:41 +01:00
parent 071b97de07
commit ee2c7ee15d
9 changed files with 19 additions and 7 deletions

View File

@ -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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -239,13 +239,13 @@
</script>
{% endblock %}
{% block scripts %}
<script src="{{ 'assets/javascripts/bundle.7dfa1ad6.min.js' | url }}"></script>
<script src="{{ 'assets/javascripts/bundle.f1ef77e2.min.js' | url }}"></script>
{% for path in config.extra_javascript %}
<script src="{{ path | url }}"></script>
{% endfor %}
{% endblock %}
{% if page.meta and page.meta.ᴴₒᴴₒᴴₒ %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/extra.0d47dbba.min.css' | url }}">
<link rel="stylesheet" href="{{ 'assets/stylesheets/extra.510b91e2.min.css' | url }}">
<script src="{{ 'assets/javascripts/extra/bundle.f719a234.min.js' | url }}" defer></script>
{% endif %}
</body>

View File

@ -375,3 +375,13 @@ line {
font-family: var(--md-mermaid-font-family);
fill: var(--md-mermaid-node-fg-color);
}
/* Sequence number */
.sequenceNumber {
fill: var(--md-accent-bg-color);
}
/* Sequence diagram markers */
defs #sequencenumber {
fill: var(--md-mermaid-node-fg-color) !important;
}