Fixed color of cluster labels in Mermaid flowcharts (#3657)

Co-authored-by: Martin Donath <squidfunk@users.noreply.github.com>
This commit is contained in:
Timothée Mazzucotelli 2022-03-06 11:31:19 +01:00 committed by GitHub
parent bd9ad9d1b7
commit d023e49593
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 44 additions and 1 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -214,7 +214,7 @@
</script> </script>
{% endblock %} {% endblock %}
{% block scripts %} {% block scripts %}
<script src="{{ 'assets/javascripts/bundle.144dcfcd.min.js' | url }}"></script> <script src="{{ 'assets/javascripts/bundle.a7a86d2a.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

@ -92,6 +92,12 @@ marker {
stroke: var(--md-default-fg-color--lighter); stroke: var(--md-default-fg-color--lighter);
} }
/* Flowchart subgraph labels */
.cluster span {
color: var(--md-mermaid-label-fg-color);
font-family: var(--md-mermaid-font-family);
}
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* Rules: class diagrams * Rules: class diagrams
* ------------------------------------------------------------------------- */ * ------------------------------------------------------------------------- */