diff --git a/dashboard/frontend/src/views/toolbox/luxsin-controller/index.vue b/dashboard/frontend/src/views/toolbox/luxsin-controller/index.vue index 1dd8bbb..80ea54e 100644 --- a/dashboard/frontend/src/views/toolbox/luxsin-controller/index.vue +++ b/dashboard/frontend/src/views/toolbox/luxsin-controller/index.vue @@ -534,12 +534,14 @@ onBeforeUnmount(() => { background: rgba(251, 113, 133, 0.06); } -:global(html.dark) .json-output { +/* 注意:scoped 下 :global(html.dark) .xxx 会被编译成 html.dark { ... }(丢弃 .xxx), + * 直接写 html.dark .xxx 才能编译为 html.dark .xxx[data-v] 正确命中 */ +html.dark .json-output { color: #cbd5e1; background: rgba(15, 23, 42, 0.5); } -:global(html.dark) .error-text { +html.dark .error-text { color: #fb7185; } @@ -590,11 +592,11 @@ onBeforeUnmount(() => { font-weight: 500; } -:global(html.dark) .log-entry { +html.dark .log-entry { border-bottom-color: rgba(255, 255, 255, 0.06); } -:global(html.dark) .log-path { +html.dark .log-path { color: #818cf8; }