fix(markdown): preview headings in the preview's text colour (#1171)

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
This commit is contained in:
l0ng-ai
2026-11-04 12:22:32 +08:00
committed by GitHub
parent fd4921c58a
commit 268cf01a86
@@ -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) {