Fixed Mermaid sequence diagram box colors

This commit is contained in:
squidfunk 2023-04-07 13:28:41 +02:00
parent 639dabff64
commit 97fd112fe7
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF
4 changed files with 15 additions and 4 deletions

View File

@ -240,7 +240,7 @@
</script> </script>
{% endblock %} {% endblock %}
{% block scripts %} {% block scripts %}
<script src="{{ 'assets/javascripts/bundle.407015b8.min.js' | url }}"></script> <script src="{{ 'assets/javascripts/bundle.51198bba.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 %}

View File

@ -397,6 +397,17 @@ line {
fill: var(--md-accent-bg-color); fill: var(--md-accent-bg-color);
} }
/* Sequence rectangle */
rect.rect {
fill: var(--md-mermaid-node-bg-color);
stroke: none;
}
/* Sequence rectangle text */
rect.rect + text.text {
fill: var(--md-mermaid-edge-color);
}
/* Sequence diagram markers */ /* Sequence diagram markers */
defs #sequencenumber { defs #sequencenumber {
fill: var(--md-mermaid-node-fg-color) !important; fill: var(--md-mermaid-node-fg-color) !important;