Merge pull request #16280 from ainhoaL/a11y-table-header

Change base theme to use table header color that meets a11y color contrast requirements
This commit is contained in:
Ben Lambert
2023-02-09 18:29:59 +01:00
committed by GitHub
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/theme': patch
---
Use same table header color as @backstage/core-components Table to meet accessibility color contrast requirements. This change affects material-ui tables.
+1 -1
View File
@@ -159,7 +159,7 @@ export function createThemeOverrides(theme: BackstageTheme): Overrides {
head: {
wordBreak: 'break-word',
overflow: 'hidden',
color: 'rgb(179, 179, 179)',
color: theme.palette.textSubtle,
fontWeight: 'normal',
lineHeight: '1',
},