This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch template_less
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 31eb10590ef8410fa0341d6ec79a87de94e5969e
Author: Maxime Beauchemin <[email protected]>
AuthorDate: Mon Mar 24 09:17:45 2025 -0700

    touchups
---
 superset-frontend/src/components/Table/VirtualTable.tsx  | 2 +-
 superset-frontend/src/components/Table/index.tsx         | 3 ++-
 superset-frontend/src/components/TableView/TableView.tsx | 1 +
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/superset-frontend/src/components/Table/VirtualTable.tsx 
b/superset-frontend/src/components/Table/VirtualTable.tsx
index beb69978b2..7fa98d71d0 100644
--- a/superset-frontend/src/components/Table/VirtualTable.tsx
+++ b/superset-frontend/src/components/Table/VirtualTable.tsx
@@ -42,7 +42,7 @@ const StyledCell = styled('div')<{ height?: number }>(
   text-overflow: ellipsis;
   padding-left: ${theme.sizeUnit * 2}px;
   padding-right: ${theme.sizeUnit}px;
-  border-bottom: 1px solid ${theme.colors.grayscale.light3};
+  border-bottom: 1px solid ${theme.colorSplit};
   transition: background 0.3s;
   line-height: ${height}px;
   box-sizing: border-box;
diff --git a/superset-frontend/src/components/Table/index.tsx 
b/superset-frontend/src/components/Table/index.tsx
index 7a7ade365c..d76ebd6207 100644
--- a/superset-frontend/src/components/Table/index.tsx
+++ b/superset-frontend/src/components/Table/index.tsx
@@ -165,6 +165,7 @@ const HEADER_HEIGHT = 68;
 
 const StyledTable = styled(AntTable)<{ height?: number }>(
   ({ theme, height }) => `
+    color: ${theme.colorText};
     .ant-table-body {
       overflow: auto;
       height: ${height ? `${height}px` : undefined};
@@ -182,7 +183,7 @@ const StyledTable = styled(AntTable)<{ height?: number }>(
       white-space: nowrap;
       overflow: hidden;
       text-overflow: ellipsis;
-      border-bottom: 1px solid ${theme.colors.grayscale.light3};
+      border-bottom: 1px solid ${theme.colorSplit};
     }
 
     .ant-pagination-item-active {
diff --git a/superset-frontend/src/components/TableView/TableView.tsx 
b/superset-frontend/src/components/TableView/TableView.tsx
index b8e1e21015..df7f2e22a1 100644
--- a/superset-frontend/src/components/TableView/TableView.tsx
+++ b/superset-frontend/src/components/TableView/TableView.tsx
@@ -70,6 +70,7 @@ const TableViewStyles = styled.div<{
     margin-bottom: ${theme.sizeUnit * 4}px;
     overflow: auto;
   `}
+  color: ${({ theme }) => theme.colorText};
 
   .table-row {
     ${({ theme, small }) => !small && `height: ${theme.sizeUnit * 11 - 1}px;`}

Reply via email to