浏览代码

修改夜间模式

zhangyihao 7 月之前
父节点
当前提交
8219995e29
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/styles/variables.less

+ 4 - 0
src/styles/variables.less

@@ -14,3 +14,7 @@ html.dark {
   --color-background-2: var(--van-background-2, #1c1c1e);
   --color-block-background: var(--van-border-color, #3a3a3c);
 }
+.van-theme-dark{
+  --van-background-2: #ffffff !important;
+  --van-text-color: #445267 !important;
+}