Skip to content

Commit

Permalink
Fix dark mode warning text color in tax and delete app modal (#5317)
Browse files Browse the repository at this point in the history
* Fix dark mode warning text color

* Add changeset
poulch authored and Cloud11PL committed Dec 11, 2024
1 parent 3c4462a commit ea74e8a
Showing 3 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/tame-kangaroos-grin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"saleor-dashboard": patch
---

Warning banner in tax settings and delete app modal now display properly in dark mode
4 changes: 3 additions & 1 deletion src/apps/components/AppDeleteDialog/AppDeleteDialog.tsx
Original file line number Diff line number Diff line change
@@ -66,7 +66,9 @@ const AppDeleteDialog: React.FC<AppDeleteDialogProps> = ({
borderColor="warning1"
borderStyle="solid"
>
<Text size={2}>{intl.formatMessage(msgs.deleteAppWarning)}</Text>
<Text size={2} color="warning1">
{intl.formatMessage(msgs.deleteAppWarning)}
</Text>
</Box>
{getMainText()} <FormattedMessage {...msgs.deleteAppQuestion} />
</Box>
3 changes: 2 additions & 1 deletion src/taxes/components/LegacyFlowWarning.tsx
Original file line number Diff line number Diff line change
@@ -16,14 +16,15 @@ export const LegacyFlowWarning: React.FC<{
display="flex"
alignItems="center"
backgroundColor="warning1"
color="warning1"
padding={2}
gap={1}
borderRadius={3}
marginTop={1}
marginBottom={1}
>
<WarningIcon size="small" color="warning1" />
<Text size={2}>
<Text size={2} color="warning1">
{intl.formatMessage({
defaultMessage: "Legacy flow detected - select tax strategy from dropdown",
id: "k20lqw",

0 comments on commit ea74e8a

Please sign in to comment.