From 56ab395eb22d16853370f0f8a11fc28b745e29fe Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Thu, 12 Mar 2026 16:11:14 +0100 Subject: [PATCH] Update CSS for dark theme in editor components --- src/index.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/index.css b/src/index.css index e2fd652..ba1cfc2 100644 --- a/src/index.css +++ b/src/index.css @@ -600,6 +600,10 @@ body:not([data-theme="light"]) .folder-item { border-color: transparent; } +body:not([data-theme="light"]) .editor__textarea-wrap--preview { + background: var(--bg); +} + .editor__textarea-wrap--split { flex-direction: row; } @@ -613,6 +617,10 @@ body:not([data-theme="light"]) .folder-item { flex: 1; } +body:not([data-theme="light"]) .editor__textarea-wrap--split .markdown-preview { + background: var(--bg); +} + .editor__textarea-wrap:focus-within { border-color: rgba(255, 255, 255, 0.18); }