Skip to content

Commit bdd6961

Browse files
authored
fix: Update table text styling (#605)
1 parent f0e3a48 commit bdd6961

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/Table.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ const Td = styled.td<{
276276
$truncateColumn: truncateColumn = false,
277277
$center: center,
278278
}) => ({
279+
...theme.partials.text.body2LooseLineHeight,
279280
display: 'flex',
280281
flexDirection: 'column',
281282
justifyContent: 'center',
@@ -285,7 +286,7 @@ const Td = styled.td<{
285286

286287
backgroundColor: 'inherit',
287288
borderTop: firstRow ? '' : theme.borders.default,
288-
color: theme.colors.text,
289+
color: theme.colors['text-light'],
289290

290291
padding: loose ? '16px 12px' : '8px 12px',
291292
'&:first-child': stickyColumn
@@ -314,7 +315,7 @@ const TdExpand = styled.td(({ theme }) => ({
314315
gridColumn: '2 / -1',
315316
},
316317
backgroundColor: 'inherit',
317-
color: theme.colors.text,
318+
color: theme.colors['text-light'],
318319
height: 'auto',
319320
minHeight: 52,
320321
padding: '16px 12px',

0 commit comments

Comments
 (0)