diff --git a/build/vite/plugin/theme.ts b/build/vite/plugin/theme.ts index 0fff0710..c54f1a83 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 f2cfc473..b584e73d 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%;