Fix ItemCardHeader colour token again (#32346)
Signed-off-by: James Brooks <jamesbrooks@spotify.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/core-components': patch
|
||||
---
|
||||
|
||||
Update colour token again in ItemCardHeader to respect theme definition.
|
||||
@@ -30,7 +30,7 @@ export type ItemCardHeaderClassKey = 'root';
|
||||
const styles = (theme: Theme) =>
|
||||
createStyles({
|
||||
root: {
|
||||
color: theme.palette.text.primary,
|
||||
color: theme.getPageTheme({ themeId: 'card' }).fontColor,
|
||||
padding: theme.spacing(2, 2, 3),
|
||||
backgroundImage: theme.getPageTheme({ themeId: 'card' }).backgroundImage,
|
||||
backgroundPosition: 0,
|
||||
|
||||
Reference in New Issue
Block a user