From f1c96d66e6a30c909e84a4410effdafef55bf60f Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Thu, 12 Mar 2026 16:15:50 +0100 Subject: [PATCH] Add light theme styles for editor textarea wrap and markdown preview --- src/index.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/index.css b/src/index.css index 141da12..a9756e8 100644 --- a/src/index.css +++ b/src/index.css @@ -600,6 +600,10 @@ body:not([data-theme="light"]) .folder-item { border-color: transparent; } +body[data-theme="light"] .editor__textarea-wrap--preview { + background: var(--bg); +} + body:not([data-theme="light"]) .editor__textarea-wrap--preview { background: var(--bg); } @@ -608,6 +612,10 @@ body:not([data-theme="light"]) .editor__textarea-wrap--preview { flex-direction: row; } +body[data-theme="light"] .editor__textarea-wrap--split { + background: var(--bg); +} + body:not([data-theme="light"]) .editor__textarea-wrap--split { background: var(--bg); } @@ -621,6 +629,10 @@ body:not([data-theme="light"]) .editor__textarea-wrap--split { 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 { background: var(--bg); } @@ -758,6 +770,10 @@ body:not([data-theme="light"]) .editor__textarea-wrap--split .markdown-preview { color: var(--ink); } +body[data-theme="light"] .markdown-preview { + background: var(--bg); +} + body:not([data-theme="light"]) .markdown-preview { background: var(--bg); }