diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index c1d6fa10b0e5c37e9ff1e6bebb343c83a3c5966a..e2f0abe73b6fc7149c7bccf29cb44f8f2c957763 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -30,6 +30,12 @@ --md-typeset-mark-color: #ffdc4e85; --md-admonition-fg-color: #ffdd4e; --md-typeset-a-color: #ffdd4e; + + /* Fixes mermaid diagrams in dark mode*/ + --md-mermaid-sequence-message-fg-color: white !important; + --md-mermaid-label-bg-color: #ffdd4e; + --md-mermaid-edge-color: white; + --md-mermaid-sequence-actor-line-color: white; } :root > * [data-md-color-scheme="slate"] { diff --git a/overrides/partials/header.html b/overrides/partials/header.html index 52fa36834d9f952aceea876a305657ee89993bb2..c5514d005a22b543e0971d3478d34d0ea4bca508 100644 --- a/overrides/partials/header.html +++ b/overrides/partials/header.html @@ -43,8 +43,7 @@ <option value="/1-0/">Version 1.0</option> </select> </div> - --> remove this line - + --> {% if config.theme.palette %} {% if not config.theme.palette is mapping %} {% include "partials/palette.html" %}