Add light theme styles for editor textarea wrap and markdown preview
This commit is contained in:
@@ -600,6 +600,10 @@ body:not([data-theme="light"]) .folder-item {
|
|||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body[data-theme="light"] .editor__textarea-wrap--preview {
|
||||||
|
background: var(--bg);
|
||||||
|
}
|
||||||
|
|
||||||
body:not([data-theme="light"]) .editor__textarea-wrap--preview {
|
body:not([data-theme="light"]) .editor__textarea-wrap--preview {
|
||||||
background: var(--bg);
|
background: var(--bg);
|
||||||
}
|
}
|
||||||
@@ -608,6 +612,10 @@ body:not([data-theme="light"]) .editor__textarea-wrap--preview {
|
|||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body[data-theme="light"] .editor__textarea-wrap--split {
|
||||||
|
background: var(--bg);
|
||||||
|
}
|
||||||
|
|
||||||
body:not([data-theme="light"]) .editor__textarea-wrap--split {
|
body:not([data-theme="light"]) .editor__textarea-wrap--split {
|
||||||
background: var(--bg);
|
background: var(--bg);
|
||||||
}
|
}
|
||||||
@@ -621,6 +629,10 @@ body:not([data-theme="light"]) .editor__textarea-wrap--split {
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body[data-theme="light"] .editor__textarea-wrap--split .markdown-preview {
|
||||||
|
background: var(--bg);
|
||||||
|
}
|
||||||
|
|
||||||
body:not([data-theme="light"]) .editor__textarea-wrap--split .markdown-preview {
|
body:not([data-theme="light"]) .editor__textarea-wrap--split .markdown-preview {
|
||||||
background: var(--bg);
|
background: var(--bg);
|
||||||
}
|
}
|
||||||
@@ -758,6 +770,10 @@ body:not([data-theme="light"]) .editor__textarea-wrap--split .markdown-preview {
|
|||||||
color: var(--ink);
|
color: var(--ink);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body[data-theme="light"] .markdown-preview {
|
||||||
|
background: var(--bg);
|
||||||
|
}
|
||||||
|
|
||||||
body:not([data-theme="light"]) .markdown-preview {
|
body:not([data-theme="light"]) .markdown-preview {
|
||||||
background: var(--bg);
|
background: var(--bg);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user