From 934bbe0b0cff7bf6aa482e3449119384d7a5c024 Mon Sep 17 00:00:00 2001
From: Hunain Bin Sajid
Date: Wed, 7 Feb 2024 20:53:56 +0500
Subject: [PATCH] fix: add body color to action icon
---
src/pages/dialog/Dialog.tsx | 4 ++--
src/pages/dialog/popupPrompt.tsx | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/pages/dialog/Dialog.tsx b/src/pages/dialog/Dialog.tsx
index aae64b28..04cfcb54 100644
--- a/src/pages/dialog/Dialog.tsx
+++ b/src/pages/dialog/Dialog.tsx
@@ -81,13 +81,13 @@ export default function Dialog({
{showPopupPrompt ? (
+
{formatMessage({ id: "action.open" })}{" "}
{" "}
{formatMessage({ id: "action.toProceed" })}
-
+
}
/>
) : null}
diff --git a/src/pages/dialog/popupPrompt.tsx b/src/pages/dialog/popupPrompt.tsx
index e2c4e105..9d99d69b 100644
--- a/src/pages/dialog/popupPrompt.tsx
+++ b/src/pages/dialog/popupPrompt.tsx
@@ -6,6 +6,7 @@ interface IPopupPrompt {
const StyledContainer = styled.div`
background-color: ${({ theme }) => theme?.colors?.secondary};
+ color: ${({ theme }) => theme?.colors?.bodyColor};
`;
export const PopupPrompt = ({ message }: IPopupPrompt): JSX.Element => {
@@ -21,7 +22,7 @@ export const PopupPrompt = ({ message }: IPopupPrompt): JSX.Element => {