Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions apps/mail/components/icons/icons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,6 @@ export const ExclamationCircle = ({ className }: { className?: string }) => (
fillRule="evenodd"
clipRule="evenodd"
d="M7 13.5C10.5899 13.5 13.5 10.5899 13.5 7C13.5 3.41015 10.5899 0.5 7 0.5C3.41015 0.5 0.5 3.41015 0.5 7C0.5 10.5899 3.41015 13.5 7 13.5ZM7 3.28571C7.38463 3.28571 7.69643 3.59752 7.69643 3.98214V6.76786C7.69643 7.15248 7.38463 7.46429 7 7.46429C6.61537 7.46429 6.30357 7.15248 6.30357 6.76786V3.98214C6.30357 3.59752 6.61537 3.28571 7 3.28571ZM7 10.7143C7.51284 10.7143 7.92857 10.2986 7.92857 9.78571C7.92857 9.27288 7.51284 8.85714 7 8.85714C6.48716 8.85714 6.07143 9.27288 6.07143 9.78571C6.07143 10.2986 6.48716 10.7143 7 10.7143Z"
fill="var(--icon-color)"
fillOpacity="0.5"
/>
</svg>
);
Expand Down
10 changes: 7 additions & 3 deletions apps/mail/components/mail/mail-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -268,14 +268,18 @@ const Thread = memo(
<Button
variant="ghost"
size="icon"
className="h-6 w-6 [&_svg]:size-3.5"
className={cn("h-6 w-6 [&_svg]:size-3.5",
displayImportant
? 'hover:bg-orange-200/70 dark:hover:bg-orange-800/40'
: ''
)}
onClick={handleToggleImportant}
>
<ExclamationCircle
className={cn(
displayImportant
? 'fill-orange-400 stroke-orange-400'
: 'fill-transparent stroke-[#9D9D9D] dark:stroke-[#9D9D9D]',
? 'fill-orange-400'
: 'fill-[#9D9D9D]',
)}
/>
</Button>
Expand Down