From 5c7171c0497c34cb6caaa543bbcb9f4565374216 Mon Sep 17 00:00:00 2001 From: Alex McKay <77302540+alex-mckay@users.noreply.github.com> Date: Wed, 20 Nov 2024 16:06:58 -0500 Subject: [PATCH] update styling for custom draftPR icon inside gh-pull-requests-board (#2049) * use default mui theme color instead of hardcoding black Signed-off-by: Alex McKay * fix changset Signed-off-by: Alex McKay --------- Signed-off-by: Alex McKay --- .../.changeset/forty-steaks-attend.md | 5 +++++ .../src/components/icons/DraftPr/DraftPr.tsx | 18 ++++++++---------- 2 files changed, 13 insertions(+), 10 deletions(-) create mode 100644 workspaces/github-pull-requests-board/.changeset/forty-steaks-attend.md diff --git a/workspaces/github-pull-requests-board/.changeset/forty-steaks-attend.md b/workspaces/github-pull-requests-board/.changeset/forty-steaks-attend.md new file mode 100644 index 000000000..fb2648b5a --- /dev/null +++ b/workspaces/github-pull-requests-board/.changeset/forty-steaks-attend.md @@ -0,0 +1,5 @@ +--- +'@backstage-community/plugin-github-pull-requests-board': patch +--- + +Make draft PR icon color inherit from theme diff --git a/workspaces/github-pull-requests-board/plugins/github-pull-requests-board/src/components/icons/DraftPr/DraftPr.tsx b/workspaces/github-pull-requests-board/plugins/github-pull-requests-board/src/components/icons/DraftPr/DraftPr.tsx index 9071e9c3a..973a15005 100644 --- a/workspaces/github-pull-requests-board/plugins/github-pull-requests-board/src/components/icons/DraftPr/DraftPr.tsx +++ b/workspaces/github-pull-requests-board/plugins/github-pull-requests-board/src/components/icons/DraftPr/DraftPr.tsx @@ -24,16 +24,14 @@ const DraftPr: FunctionComponent = () => ( width="16" data-view-component="true" > - - - - + + );