From bdd69613660a094df824cc00b3390c2deb632c0f Mon Sep 17 00:00:00 2001 From: Marcin Maciaszczyk Date: Fri, 7 Jun 2024 16:58:36 +0200 Subject: [PATCH] fix: Update table text styling (#605) --- src/components/Table.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/Table.tsx b/src/components/Table.tsx index b4abff64..5520a7a2 100644 --- a/src/components/Table.tsx +++ b/src/components/Table.tsx @@ -276,6 +276,7 @@ const Td = styled.td<{ $truncateColumn: truncateColumn = false, $center: center, }) => ({ + ...theme.partials.text.body2LooseLineHeight, display: 'flex', flexDirection: 'column', justifyContent: 'center', @@ -285,7 +286,7 @@ const Td = styled.td<{ backgroundColor: 'inherit', borderTop: firstRow ? '' : theme.borders.default, - color: theme.colors.text, + color: theme.colors['text-light'], padding: loose ? '16px 12px' : '8px 12px', '&:first-child': stickyColumn @@ -314,7 +315,7 @@ const TdExpand = styled.td(({ theme }) => ({ gridColumn: '2 / -1', }, backgroundColor: 'inherit', - color: theme.colors.text, + color: theme.colors['text-light'], height: 'auto', minHeight: 52, padding: '16px 12px',