Add background styling for dark theme in editor and markdown preview
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user