Use table header color that meets a11y color contrast requirements

Signed-off-by: Ainhoa Larumbe <ainhoaL@users.noreply.github.com>
This commit is contained in:
Ainhoa Larumbe
2023-02-09 14:36:38 +00:00
parent e6d358237c
commit b7705e176c
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',
},