From 4af9112121a25198936fa5ea67213ed84d7bea34 Mon Sep 17 00:00:00 2001 From: pany <939630029@qq.com> Date: Mon, 24 Oct 2022 11:02:23 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E6=9B=B4=E6=94=B9=E6=B7=B1=E8=93=9D?= =?UTF-8?q?=E8=89=B2=E4=B8=BB=E9=A2=98=E6=A0=B7=E5=BC=8F=E9=A3=8E=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles/theme/dark-blue/element-plus.css | 14 ++++++++------ src/views/table/element-plus/index.vue | 4 ++-- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/src/styles/theme/dark-blue/element-plus.css b/src/styles/theme/dark-blue/element-plus.css index 352f5519..2921eca3 100644 --- a/src/styles/theme/dark-blue/element-plus.css +++ b/src/styles/theme/dark-blue/element-plus.css @@ -1,15 +1,15 @@ -/* 查阅所有变量:https://github.com/element-plus/element-plus/blob/dev/packages/theme-chalk/src/common/var.scss */ +/* 查阅所有可自定义的 Element Plus CSS 变量:https://github.com/element-plus/element-plus/blob/dev/packages/theme-chalk/src/common/var.scss */ html.dark-blue { /* color */ --el-color-primary: #01efb7bb; --el-color-success: #01efb7bb; /* text-color */ - --el-text-color-primary: #ffffffee; - --el-text-color-regular: #ffffffee; - --el-text-color-secondary: #ffffffee; - --el-text-color-placeholder: #ffffffee; - --el-text-color-disabled: #ffffff55; + --el-text-color-primary: rgba(255, 255, 255, 0.8); + --el-text-color-regular: rgba(255, 255, 255, 0.8); + --el-text-color-secondary: rgba(255, 255, 255, 0.8); + --el-text-color-placeholder: rgba(255, 255, 255, 0.8); + --el-text-color-disabled: rgba(255, 255, 255, 0.3); /* border-color */ --el-border-color: #01efb755; --el-border-color-light: #01efb755; @@ -21,4 +21,6 @@ html.dark-blue { /* bg-color */ --el-bg-color: #021633; --el-bg-color-overlay: #021633; + /** mask */ + --el-mask-color: rgba(0, 0, 0, 0.5); } diff --git a/src/views/table/element-plus/index.vue b/src/views/table/element-plus/index.vue index 22d6413f..6ea722d4 100644 --- a/src/views/table/element-plus/index.vue +++ b/src/views/table/element-plus/index.vue @@ -155,10 +155,10 @@ getTableData() 批量删除
- + - +