From 3465897824d55778ad899061ccfeceefb657a973 Mon Sep 17 00:00:00 2001 From: njdaoyehu Date: Thu, 21 Nov 2024 17:15:37 +0800 Subject: [PATCH] fixed --- src/assets/custom.scss | 24 ++++++++++++++++++++++++ src/views/data/task/drawer.vue | 3 ++- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/src/assets/custom.scss b/src/assets/custom.scss index cf73dce..30d574e 100644 --- a/src/assets/custom.scss +++ b/src/assets/custom.scss @@ -525,3 +525,27 @@ border: 1px solid rgba(45, 119, 243, 0.3) !important; background-color: #13265a !important; } + +:deep(.CodeMirror) { + border-radius: 6px; + border: 1px solid rgba(45, 119, 243, 0.3) !important; + background-color: #13265a !important; +} + +:deep(.CodeMirror-lines) { + font-family: "Noto Sans SC", serif; + font-size: 14px; + color: white !important; +} + +:deep(.CodeMirror-gutters) { + border-right: 1px solid rgba(45, 119, 243, 0.3) !important; +} + +:deep(.CodeMirror-cursor) { + border-left: 1px solid white; +} + +:deep(.cm-string) { + color: darkorange !important; +} diff --git a/src/views/data/task/drawer.vue b/src/views/data/task/drawer.vue index 67628f8..b2158f6 100644 --- a/src/views/data/task/drawer.vue +++ b/src/views/data/task/drawer.vue @@ -3,7 +3,8 @@