diff --git a/src/components/Button.tsx b/src/components/Button.tsx index 4b01d5d..c32fefe 100644 --- a/src/components/Button.tsx +++ b/src/components/Button.tsx @@ -21,7 +21,7 @@ const Button: FC = (props) => { 'w-full cursor-pointer rounded-xl font-normal text-xs md:text-sm h-10 px-3 md:px-4 transition-all duration-200 hover:bg-opacity-90 disabled:opacity-50 disabled:cursor-not-allowed', variant === 'secondary' ? 'bg-secondary text-secondary-foreground' - : 'bg-secondary text-secondary-foreground dark:bg-secondary dark:text-secondary-foreground', + : 'bg-primary text-primary-foreground', className ) diff --git a/src/components/Switch.tsx b/src/components/Switch.tsx index 1cbf691..32f98a2 100644 --- a/src/components/Switch.tsx +++ b/src/components/Switch.tsx @@ -20,14 +20,14 @@ const SwitchComponent = (props: Props) => { {({ checked }) => ( )} diff --git a/src/components/newMessage/Forward.tsx b/src/components/newMessage/Forward.tsx index 7064b3f..08a8d67 100644 --- a/src/components/newMessage/Forward.tsx +++ b/src/components/newMessage/Forward.tsx @@ -145,7 +145,7 @@ const Forward: FC = ({ onClick={expandForward} className='flex gap-2 cursor-pointer items-center border-r border-border pr-5 hover:text-primary transition-colors' > - +
{t('mail.forward')}
@@ -160,7 +160,7 @@ const Forward: FC = ({ {/* Forward Header */}
- + ارسال به دیگران
diff --git a/src/components/newMessage/Reply.tsx b/src/components/newMessage/Reply.tsx index 570cae4..e0ce9eb 100644 --- a/src/components/newMessage/Reply.tsx +++ b/src/components/newMessage/Reply.tsx @@ -66,7 +66,7 @@ const Reply: FC = ({ onClick={handleExpand} className='flex gap-2 cursor-pointer items-center hover:text-primary transition-colors' > - +
{t('mail.answer')}
@@ -83,7 +83,7 @@ const Reply: FC = ({
- + پاسخ به {originalMessage.from.name || originalMessage.from.address}
diff --git a/src/pages/guide/ReportBug.tsx b/src/pages/guide/ReportBug.tsx index ebfa583..2a50522 100644 --- a/src/pages/guide/ReportBug.tsx +++ b/src/pages/guide/ReportBug.tsx @@ -114,7 +114,7 @@ const ReportBug: React.FC = () => {
- با ادامه و ارسال، شما تأیید می‌کنید که «دی‌میل» می‌تواند پاسخ‌ها و اطلاعات حساب شما را به‌منظور بهبود خدمات جمع‌آوری و استفاده کند. برای جزئیات بیشتر لطفاً به قوانین و شرایط و سیاست حریم خصوصی مراجعه کنید. + با ادامه و ارسال، شما تأیید می‌کنید که «دی‌میل» می‌تواند پاسخ‌ها و اطلاعات حساب شما را به‌منظور بهبود خدمات جمع‌آوری و استفاده کند. برای جزئیات بیشتر لطفاً به قوانین و شرایط و سیاست حریم خصوصی مراجعه کنید.
diff --git a/src/pages/received/Components/Header.tsx b/src/pages/received/Components/Header.tsx index 18c29d9..063b5f6 100644 --- a/src/pages/received/Components/Header.tsx +++ b/src/pages/received/Components/Header.tsx @@ -144,7 +144,7 @@ const Header: FC<{ onClick={handleDownloadEmail} >
- + {t('mail.download')}
@@ -153,7 +153,7 @@ const Header: FC<{ onClick={handlePrint} >
- + {t('mail.print')}
diff --git a/src/pages/received/Components/MessageFavorite.tsx b/src/pages/received/Components/MessageFavorite.tsx index b826849..2075e1a 100644 --- a/src/pages/received/Components/MessageFavorite.tsx +++ b/src/pages/received/Components/MessageFavorite.tsx @@ -26,7 +26,7 @@ const MessageFavorite: FC<{ flagged: boolean }> = ({ flagged }) => { }) } setIsFavorite(!isFavorite) - }} className='lg:size-[18px] size-[20px]' variant={isFavorite ? 'Bold' : 'Outline'} color={isFavorite ? '#FFC107' : getIconColor('muted')} /> + }} className='lg:size-[18px] size-[20px]' variant={isFavorite ? 'Bold' : 'Outline'} color={isFavorite ? '#FFC107' : getIconColor('primary')} /> ) } diff --git a/src/pages/received/Detail.tsx b/src/pages/received/Detail.tsx index bec9164..19a1afb 100644 --- a/src/pages/received/Detail.tsx +++ b/src/pages/received/Detail.tsx @@ -221,7 +221,7 @@ const DetailEmail: FC = () => { handleDownloadAttachment( attachment.id || `ATT${String(index + 1).padStart(5, '0')}`, attachment.filename || `attachment-${index + 1}`