From 97742a1a103c6908de8ca71d5f010121e5b1e07b Mon Sep 17 00:00:00 2001 From: ChristianZaccaria Date: Fri, 2 May 2025 15:15:40 +0100 Subject: [PATCH] fix: improve Mermaid diagram visibility in dark mode --- docs/_static/css/my_theme.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/_static/css/my_theme.css b/docs/_static/css/my_theme.css index a587f866d..d078ec057 100644 --- a/docs/_static/css/my_theme.css +++ b/docs/_static/css/my_theme.css @@ -27,3 +27,9 @@ pre { white-space: pre-wrap !important; word-break: break-all; } + +[data-theme="dark"] .mermaid { + background-color: #f4f4f6 !important; + border-radius: 6px; + padding: 0.5em; + }