Add background styling for dark theme in editor and markdown preview

This commit is contained in:
2026-03-12 16:14:32 +01:00
parent 56ab395eb2
commit db20dd5107

View File

@@ -608,6 +608,10 @@ body:not([data-theme="light"]) .editor__textarea-wrap--preview {
flex-direction: row;
}
body:not([data-theme="light"]) .editor__textarea-wrap--split {
background: var(--bg);
}
.editor__textarea-wrap--split .editor__codemirror {
flex: 1;
border-right: 1px solid var(--border);
@@ -754,6 +758,10 @@ body:not([data-theme="light"]) .editor__textarea-wrap--split .markdown-preview {
color: var(--ink);
}
body:not([data-theme="light"]) .markdown-preview {
background: var(--bg);
}
.markdown-preview--hidden {
display: none;
}