From 8e7cf4b10edd9aa3fda4a756ee91b3a6efc12eaf Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Tue, 8 Oct 2024 14:01:18 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20vxe=E8=A1=A8=E6=A0=BC=E5=A4=B4?= =?UTF-8?q?=E9=83=A8=E8=83=8C=E6=99=AF=E8=89=B2=20=E4=B8=8Eantd=E4=BF=9D?= =?UTF-8?q?=E6=8C=81=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/styles/src/antd/index.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/styles/src/antd/index.css b/packages/styles/src/antd/index.css index c9f57469..d1e91145 100644 --- a/packages/styles/src/antd/index.css +++ b/packages/styles/src/antd/index.css @@ -91,3 +91,11 @@ vxe默认圆角 html { --vxe-ui-border-radius: 8px !important; } + +/** +vxe表格头部背景色 与antd保持一致 只需要处理light模式 夜间模式用vxe默认的 +*/ +html[data-vxe-ui-theme='light'] { + /** 只支持hsl格式 */ + --vxe-ui-table-header-background-color: hsl(0deg 0% 98%) !important; +}