From 831c403321a96977ae5817be7a1715849f559202 Mon Sep 17 00:00:00 2001 From: LeoKu Date: Mon, 11 Sep 2023 21:21:32 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BE=8E=E5=8C=96=E4=B8=BB=E9=A2=98=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E7=BC=96=E8=BE=91=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles/v2ex-theme-default.scss | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/src/styles/v2ex-theme-default.scss b/src/styles/v2ex-theme-default.scss index 351fc0ca..0c04de29 100644 --- a/src/styles/v2ex-theme-default.scss +++ b/src/styles/v2ex-theme-default.scss @@ -435,8 +435,21 @@ body { } } - .CodeMirror-focused.cm-s-one-dark { - background-color: transparent; + // 主题内容编辑器。 + .CodeMirror { + .CodeMirror-focused.cm-s-one-dark { + background-color: transparent; + } + + .CodeMirror-gutters { + padding-right: 5px; + background-color: var(--v2p-color-bg-input); + border-right: 1px solid var(--v2p-color-main-300); + } + + .CodeMirror-linenumber { + color: var(--v2p-color-main-400); + } } .cm-s-one-dark {