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
Цей коміт міститься в:
l0ng-ai authored and GitHub committed 2026-11-04 12:22:32 +08:00
1 джерело fd4921c58a
коміт 268cf01a86
1 file changed
+1 -1
+1 -1
Переглянути файл
@@ -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) {