From 268cf01a86e65fbc516a78c38dff1fd9fe350381 Mon Sep 17 00:00:00 2001 From: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com> Date: Wed, 4 Nov 2026 12:22:32 +0800 Subject: [PATCH] fix(markdown): preview headings in the preview's text colour (#1171) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Preview headings used the editor scheme's Markdown › Heading attribute (meant for the source) since #992; they now use the editor foreground like the rest of the preview. Fixes #1151 --- src/features/viewers/markdown/Markdown.module.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/viewers/markdown/Markdown.module.css b/src/features/viewers/markdown/Markdown.module.css index 38cc5e58..421583c3 100644 --- a/src/features/viewers/markdown/Markdown.module.css +++ b/src/features/viewers/markdown/Markdown.module.css @@ -56,7 +56,7 @@ .preview :global(h5), .preview :global(h6) { margin: 1.2em 0 0.6em; - color: var(--syn-markup-heading, var(--fg-strong)); + color: var(--fg-editor, var(--fg-strong)); line-height: 1.25; } .preview :global(h1) {