mirror of
https://github.com/fugary/simple-element-plus-template.git
synced 2026-02-23 06:37:01 +00:00
opt: 优化编辑器、charts等页面主题样式
This commit is contained in:
@@ -567,4 +567,36 @@ body,
|
||||
|
||||
.dark::view-transition-new(root) {
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
/* 整体编辑器区域 */
|
||||
.monaco-editor.vs {
|
||||
background-color: #f5f7fa;
|
||||
}
|
||||
|
||||
/* gutter(行号区) */
|
||||
.monaco-editor.vs .margin {
|
||||
background-color: #f0f2f5;
|
||||
box-shadow: inset -1px 0 0 #dcdfe6;
|
||||
}
|
||||
|
||||
/* 内容区 */
|
||||
.monaco-editor.vs .monaco-editor-background {
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
/* Dark Mode Editor Contrast */
|
||||
.dark .monaco-editor.vs-dark {
|
||||
background-color: var(--el-bg-color);
|
||||
border: none;
|
||||
}
|
||||
|
||||
.dark .monaco-editor.vs-dark .margin {
|
||||
background-color: #252526 !important;
|
||||
box-shadow: inset -1px 0 0 #424242;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.dark .monaco-editor.vs-dark .monaco-editor-background {
|
||||
background-color: #1e1e1e !important;
|
||||
}
|
||||
Reference in New Issue
Block a user