fix dark mode and design bug

This commit is contained in:
hamid zarghami
2025-08-22 12:24:46 +03:30
parent 1fbbc0519c
commit 3fbe466f7e
8 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -144,7 +144,7 @@ const Header: FC<{
onClick={handleDownloadEmail}
>
<div className='flex gap-2 items-center xl:px-5'>
<DocumentDownload size={20} color={'#000000'} />
<DocumentDownload size={20} color={'#000000'} className='filterWhite' />
<span className='pt-0.5 xl:block hidden'>{t('mail.download')}</span>
</div>
</Button>
@@ -153,7 +153,7 @@ const Header: FC<{
onClick={handlePrint}
>
<div className='flex gap-2 items-center xl:px-5'>
<Printer size={20} color={'#000000'} />
<Printer size={20} color={'#000000'} className='filterWhite' />
<span className='pt-0.5 xl:block hidden'>{t('mail.print')}</span>
</div>
</Button>
@@ -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')} />
)
}
+1 -1
View File
@@ -221,7 +221,7 @@ const DetailEmail: FC = () => {
<DocumentDownload
size={20}
color={getIconColor('primary')}
className='cursor-pointer hover:opacity-70 transition-opacity'
className='cursor-pointer hover:opacity-70 transition-opacity filterWhite'
onClick={() => handleDownloadAttachment(
attachment.id || `ATT${String(index + 1).padStart(5, '0')}`,
attachment.filename || `attachment-${index + 1}`