From e92af02673fd4ef767250a64731d61f09ef48582 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Thu, 12 Mar 2026 16:14:37 +0100 Subject: [PATCH] Update markdown root surface alt color for dark theme --- src/markdown/markdown-render.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/markdown/markdown-render.css b/src/markdown/markdown-render.css index bb0dc89..c5d107d 100644 --- a/src/markdown/markdown-render.css +++ b/src/markdown/markdown-render.css @@ -17,6 +17,10 @@ "Liberation Mono", "Courier New", monospace; } +body:not([data-theme="light"]) .md-root { + --md-surface-alt: var(--bg); +} + body[data-theme="light"] .md-root { --md-link-color: #0a66c2; --md-link-hover-color: #004182;