diff --git a/.changeset/early-worms-pretend.md b/.changeset/early-worms-pretend.md new file mode 100644 index 0000000000..a3250138fb --- /dev/null +++ b/.changeset/early-worms-pretend.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-search': patch +--- + +Remove the hardcoded 'black' color give to the search type accordion icon as it doesn't work with dark themes diff --git a/plugins/search/src/components/SearchType/SearchType.Accordion.tsx b/plugins/search/src/components/SearchType/SearchType.Accordion.tsx index 67785b89cb..a77af17a7e 100644 --- a/plugins/search/src/components/SearchType/SearchType.Accordion.tsx +++ b/plugins/search/src/components/SearchType/SearchType.Accordion.tsx @@ -43,7 +43,7 @@ const useStyles = makeStyles(theme => ({ paddingTop: theme.spacing(1), }, icon: { - color: theme.palette.common.black, + color: theme.palette.text.primary, }, list: { width: '100%',