dark mode v1
This commit is contained in:
@@ -12,6 +12,7 @@ import { useEmailActions } from '@/hooks/useEmailActions';
|
||||
import { useSharedStore } from '@/shared/store/sharedStore';
|
||||
import { Checkbox } from '@/components/ui/checkbox';
|
||||
import React from 'react';
|
||||
import { getIconColor } from '@/utils/colorUtils';
|
||||
|
||||
const List: FC = () => {
|
||||
const navigate = useNavigate();
|
||||
@@ -155,7 +156,7 @@ const List: FC = () => {
|
||||
</div>
|
||||
<Refresh2
|
||||
size={18}
|
||||
color='black'
|
||||
color={getIconColor('primary')}
|
||||
className={`cursor-pointer ${isFetching ? 'animate-spin-reverse' : ''}`}
|
||||
onClick={() => refetch()}
|
||||
/>
|
||||
@@ -166,19 +167,19 @@ const List: FC = () => {
|
||||
<>
|
||||
<Send
|
||||
size={18}
|
||||
color='black'
|
||||
color={getIconColor('primary')}
|
||||
onClick={() => handleSendSelected()}
|
||||
className="cursor-pointer"
|
||||
/>
|
||||
<Edit
|
||||
size={18}
|
||||
color='black'
|
||||
color={getIconColor('primary')}
|
||||
onClick={() => handleEditSelected()}
|
||||
className="cursor-pointer"
|
||||
/>
|
||||
<Trash
|
||||
size={18}
|
||||
color='black'
|
||||
color={getIconColor('primary')}
|
||||
onClick={() => handleDeleteSelected()}
|
||||
className="cursor-pointer"
|
||||
/>
|
||||
@@ -243,12 +244,12 @@ const List: FC = () => {
|
||||
const getRowActions = (message: DraftMessage): RowActionItem[] => [
|
||||
{
|
||||
label: 'ارسال',
|
||||
icon: <Send size={16} color="black" />,
|
||||
icon: <Send size={16} color={getIconColor('primary')} />,
|
||||
onClick: () => handleSendDraft(message.id),
|
||||
},
|
||||
{
|
||||
label: 'ویرایش',
|
||||
icon: <Edit size={16} color="black" />,
|
||||
icon: <Edit size={16} color={getIconColor('primary')} />,
|
||||
onClick: () => handleEditDraft(message.id),
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user