From 30fa4cfa2ab6229efc67224fd082e32da0a95d49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=9F=E9=BA=BB=E5=A6=9E?= <50100681+jiangmaniu@users.noreply.github.com> Date: Thu, 26 Aug 2021 20:01:25 +0800 Subject: [PATCH] =?UTF-8?q?fix(table):=20=E4=BF=AE=E5=A4=8D=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E8=83=8C=E6=99=AF=E9=A2=9C=E8=89=B2=E5=86=8D=E6=B7=B1?= =?UTF-8?q?=E8=89=B2=E6=A8=A1=E5=BC=8F=E4=B8=8B=E4=BC=9A=E8=A2=AB=E7=A9=BF?= =?UTF-8?q?=E9=80=8F=E9=97=AE=E9=A2=98=20(#1133)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/vite/plugin/theme.ts | 2 +- src/components/Table/src/BasicTable.vue | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/build/vite/plugin/theme.ts b/build/vite/plugin/theme.ts index 0fff07104..c54f1a834 100644 --- a/build/vite/plugin/theme.ts +++ b/build/vite/plugin/theme.ts @@ -66,7 +66,7 @@ export function configThemePlugin(isBuild: boolean): Plugin[] { 'border-color-base': '#303030', // 'border-color-split': '#30363d', 'item-active-bg': '#111b26', - 'app-content-background': 'rgb(255 255 255 / 4%)', + 'app-content-background': '#1e1e1e', 'tree-node-selected-bg': '#11263c', 'alert-success-border-color': '#274916', diff --git a/src/components/Table/src/BasicTable.vue b/src/components/Table/src/BasicTable.vue index f2cfc4739..b584e73d3 100644 --- a/src/components/Table/src/BasicTable.vue +++ b/src/components/Table/src/BasicTable.vue @@ -334,6 +334,13 @@ @prefix-cls: ~'@{namespace}-basic-table'; + [data-theme='dark'] { + .ant-table-tbody > tr:hover.ant-table-row-selected > td, + .ant-table-tbody > tr.ant-table-row-selected td { + background-color: #262626; + } + } + .@{prefix-cls} { max-width: 100%;