Skip to content

Commit abad1cc

Browse files
committed
fix(ui-table): match fontWeight in style to the appropriate theme variabel
INSTUI-4462
1 parent 411219e commit abad1cc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/ui-table/src/Table/RowHeader/styles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const generateStyle = (
4646
label: 'rowHeader',
4747
fontSize: componentTheme.fontSize,
4848
fontFamily: componentTheme.fontFamily,
49-
fontWeight: 'bold',
49+
fontWeight: componentTheme.fontWeight,
5050
color: componentTheme.color,
5151
background: componentTheme.background,
5252
boxSizing: 'border-box',

packages/ui-table/src/Table/RowHeader/theme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const generateComponentTheme = (theme: Theme): TableRowHeaderTheme => {
3636
const componentVariables: TableRowHeaderTheme = {
3737
fontSize: typography?.fontSizeMedium,
3838
fontFamily: typography?.fontFamily,
39-
fontWeight: typography?.fontWeightNormal,
39+
fontWeight: typography?.fontWeightBold,
4040

4141
color: colors?.contrasts?.grey125125,
4242
background: colors?.contrasts?.white1010,

0 commit comments

Comments
 (0)