diff --git a/.changeset/brave-books-pretend.md b/.changeset/brave-books-pretend.md new file mode 100644 index 0000000000..ee80aedb18 --- /dev/null +++ b/.changeset/brave-books-pretend.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-playlist': patch +--- + +change color of delete icon to secondary in playlist table diff --git a/plugins/playlist/src/components/PlaylistPage/PlaylistEntitiesTable.tsx b/plugins/playlist/src/components/PlaylistPage/PlaylistEntitiesTable.tsx index 3d6ffc5f8c..c74859ce20 100644 --- a/plugins/playlist/src/components/PlaylistPage/PlaylistEntitiesTable.tsx +++ b/plugins/playlist/src/components/PlaylistPage/PlaylistEntitiesTable.tsx @@ -108,7 +108,7 @@ export const PlaylistEntitiesTable = ({ const actions = editAllowed ? [ { - icon: DeleteIcon, + icon: () => , tooltip: `Remove from ${singularTitleLowerCase}`, onClick: removeEntity, }, diff --git a/plugins/playlist/src/components/PlaylistPage/PlaylistHeader.tsx b/plugins/playlist/src/components/PlaylistPage/PlaylistHeader.tsx index f892e8de7f..3a31dcaade 100644 --- a/plugins/playlist/src/components/PlaylistPage/PlaylistHeader.tsx +++ b/plugins/playlist/src/components/PlaylistPage/PlaylistHeader.tsx @@ -166,7 +166,7 @@ export const PlaylistHeader = ({ playlist, onUpdate }: PlaylistHeaderProps) => { }, { label: `Delete ${singularTitle}`, - icon: , + icon: , disabled: !deleteAllowed, onClick: () => setOpenDeleteDialog(true), },