mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed sequence numbers in sequence diagrams in dark mode
This commit is contained in:
@@ -91,6 +91,7 @@ between those actors:
|
|||||||
```` markdown title="Sequence diagram"
|
```` markdown title="Sequence diagram"
|
||||||
``` mermaid
|
``` mermaid
|
||||||
sequenceDiagram
|
sequenceDiagram
|
||||||
|
autonumber
|
||||||
Alice->>John: Hello John, how are you?
|
Alice->>John: Hello John, how are you?
|
||||||
loop Healthcheck
|
loop Healthcheck
|
||||||
John->>John: Fight against hypochondria
|
John->>John: Fight against hypochondria
|
||||||
@@ -106,6 +107,7 @@ sequenceDiagram
|
|||||||
|
|
||||||
``` mermaid
|
``` mermaid
|
||||||
sequenceDiagram
|
sequenceDiagram
|
||||||
|
autonumber
|
||||||
Alice->>John: Hello John, how are you?
|
Alice->>John: Hello John, how are you?
|
||||||
loop Healthcheck
|
loop Healthcheck
|
||||||
John->>John: Fight against hypochondria
|
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
1
material/assets/stylesheets/extra.510b91e2.min.css
vendored
Normal file
1
material/assets/stylesheets/extra.510b91e2.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/extra.510b91e2.min.css.map
Normal file
1
material/assets/stylesheets/extra.510b91e2.min.css.map
Normal file
File diff suppressed because one or more lines are too long
@@ -239,13 +239,13 @@
|
|||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block scripts %}
|
{% 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 %}
|
{% for path in config.extra_javascript %}
|
||||||
<script src="{{ path | url }}"></script>
|
<script src="{{ path | url }}"></script>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% if page.meta and page.meta.ᴴₒᴴₒᴴₒ %}
|
{% 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>
|
<script src="{{ 'assets/javascripts/extra/bundle.f719a234.min.js' | url }}" defer></script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -375,3 +375,13 @@ line {
|
|||||||
font-family: var(--md-mermaid-font-family);
|
font-family: var(--md-mermaid-font-family);
|
||||||
fill: var(--md-mermaid-node-fg-color);
|
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;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user