Fixed Mermaid.js styles for dark mode (8.3.0 regression)

This commit is contained in:
squidfunk 2022-06-06 21:51:25 +02:00
parent 08f3833244
commit 26010be27a
4 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block styles %} {% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.1e7fa3a9.min.css' | url }}"> <link rel="stylesheet" href="{{ 'assets/stylesheets/main.4a0965b7.min.css' | url }}">
{% if config.theme.palette %} {% if config.theme.palette %}
{% set palette = config.theme.palette %} {% set palette = config.theme.palette %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.cbb835fc.min.css' | url }}"> <link rel="stylesheet" href="{{ 'assets/stylesheets/palette.cbb835fc.min.css' | url }}">

View File

@ -25,7 +25,7 @@
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// All definitions // All definitions
:root { :root > * {
--md-mermaid-font-family: var(--md-text-font-family), sans-serif; --md-mermaid-font-family: var(--md-text-font-family), sans-serif;
// Colors // Colors