Merge pull request #18003 from awanlin/topic/replace-theme-palette-text-hint-usages

Replaced usages of theme.palette.theme.hint with theme.palette.text.secondary
This commit is contained in:
Johan Haals
2023-05-29 11:24:47 +02:00
committed by GitHub
3 changed files with 8 additions and 2 deletions
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/core-components': patch
'@backstage/plugin-api-docs': patch
---
Replaced usages of `theme.palette.theme.hint` with `theme.palette.text.secondary` as it has been removed in MUI v5
@@ -677,7 +677,7 @@ const styledScrollbar = (theme: Theme): CreateCSSProperties => ({
borderRadius: '5px',
},
'&::-webkit-scrollbar-thumb': {
backgroundColor: theme.palette.text.hint,
backgroundColor: theme.palette.text.secondary,
borderRadius: '5px',
},
});
@@ -105,7 +105,7 @@ const useStyles = makeStyles(theme => ({
fontWeight: theme.typography.fontWeightRegular,
},
[`& .model-hint`]: {
color: theme.palette.text.hint,
color: theme.palette.text.secondary,
backgroundColor: theme.palette.background.paper,
},
[`& .opblock-summary-method,