Ver código fonte

深色模式,还在适配中,不要发版

ZaiZai 1 ano atrás
pai
commit
06b3436ed3
3 arquivos alterados com 10 adições e 2 exclusões
  1. 1 1
      src/layout/index.scss
  2. 1 1
      src/styles/app/main.scss
  3. 8 0
      src/styles/app/theme.scss

+ 1 - 1
src/layout/index.scss

@@ -487,7 +487,7 @@ html.dark {
                 color: white;
             }
             &.cur::after {
-                background: white;
+                background: #a4a2a2;
             }
         }
     }

+ 1 - 1
src/styles/app/main.scss

@@ -41,7 +41,7 @@ embed {
     align-items: center;
     color: #8c9099;
     font-size: 22px;
-    border-radius: 5px;
+    border-radius: 1px;
     transition: background 0.2s;
     background: rgba(255, 255, 255, 0);
     &:hover {

+ 8 - 0
src/styles/app/theme.scss

@@ -40,6 +40,9 @@ html.dark {
     .data-custom-tree-node .menu-icon1 {
         background: hsla(0,0%,100%,0.46);
     }
+    .data-custom-tree-node .menu-icon1 .cu-tree-node-popover-menu-icon {
+        color: black;
+    }
     //右键菜单
     .hc-context-menu-box {
         background-color: #4A4A4A;
@@ -75,4 +78,9 @@ html.dark {
     .el-card.hc-tab-card-box .tab-card-header-tabs .item.cur:after {
         background: #181818;
     }
+    //切换线
+    .hc-expansion-contraction-tree:hover {
+        color: #8c9099;
+        background: #181818;
+    }
 }