Skip to content

Commit

Permalink
Fixed Mermaid.js styles for dark mode (8.3.0 regression)
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Jun 6, 2022
1 parent 08f3833 commit 26010be
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion material/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
{% endif %}
{% endblock %}
{% 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 %}
{% set palette = config.theme.palette %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.cbb835fc.min.css' | url }}">
Expand Down
2 changes: 1 addition & 1 deletion src/assets/stylesheets/main/integrations/_mermaid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
// ----------------------------------------------------------------------------

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

// Colors
Expand Down

0 comments on commit 26010be

Please # to comment.