From 99824ab201eda8e93143ec3c069d516d3bf56530 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Chy=C5=82a?= Date: Wed, 11 Dec 2024 13:57:16 +0100 Subject: [PATCH 1/2] Fix dark mode warning text color --- src/apps/components/AppDeleteDialog/AppDeleteDialog.tsx | 4 +++- src/taxes/components/LegacyFlowWarning.tsx | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/apps/components/AppDeleteDialog/AppDeleteDialog.tsx b/src/apps/components/AppDeleteDialog/AppDeleteDialog.tsx index 9bc75946db8..fb182137e27 100644 --- a/src/apps/components/AppDeleteDialog/AppDeleteDialog.tsx +++ b/src/apps/components/AppDeleteDialog/AppDeleteDialog.tsx @@ -66,7 +66,9 @@ const AppDeleteDialog: React.FC = ({ borderColor="warning1" borderStyle="solid" > - {intl.formatMessage(msgs.deleteAppWarning)} + + {intl.formatMessage(msgs.deleteAppWarning)} + {getMainText()} diff --git a/src/taxes/components/LegacyFlowWarning.tsx b/src/taxes/components/LegacyFlowWarning.tsx index bad38dcb66a..97004c9b453 100644 --- a/src/taxes/components/LegacyFlowWarning.tsx +++ b/src/taxes/components/LegacyFlowWarning.tsx @@ -16,6 +16,7 @@ export const LegacyFlowWarning: React.FC<{ display="flex" alignItems="center" backgroundColor="warning1" + color="warning1" padding={2} gap={1} borderRadius={3} @@ -23,7 +24,7 @@ export const LegacyFlowWarning: React.FC<{ marginBottom={1} > - + {intl.formatMessage({ defaultMessage: "Legacy flow detected - select tax strategy from dropdown", id: "k20lqw", From e83861362d90676fe2ca737729df6d9639e5e2a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Chy=C5=82a?= Date: Wed, 11 Dec 2024 13:59:38 +0100 Subject: [PATCH 2/2] Add changeset --- .changeset/tame-kangaroos-grin.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/tame-kangaroos-grin.md diff --git a/.changeset/tame-kangaroos-grin.md b/.changeset/tame-kangaroos-grin.md new file mode 100644 index 00000000000..dbc9ca4ce03 --- /dev/null +++ b/.changeset/tame-kangaroos-grin.md @@ -0,0 +1,5 @@ +--- +"saleor-dashboard": patch +--- + +Warning banner in tax settings and delete app modal now display properly in dark mode