Skip to content

Commit

Permalink
fix: trash-icon color modified
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanjoy-droid committed Oct 21, 2024
1 parent e9646df commit faa4ccf
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/web/src/components/cells/generate-ai.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default function GenerateAiCell(props: {
? 'ring-1 ring-ai-ring border-ai-ring'
: 'focus-within:ring-1 focus-within:ring-ring focus-within:border-ring',
error &&
'ring-1 ring-sb-red-30 border-sb-red-30 hover:border-sb-red-30 focus-within:border-sb-red-30 focus-within:ring-sb-red-30',
'ring-1 ring-sb-red-30 border-sb-red-30 hover:border-sb-red-30 focus-within:border-sb-red-30 focus-within:ring-sb-red-30',
)}
>
<div className="flex flex-col">
Expand All @@ -75,7 +75,7 @@ export default function GenerateAiCell(props: {
className="border-secondary hover:border-muted"
onClick={() => removeCell(cell)}
>
<Trash2 size={16} />
<Trash2 color='#EE4B2B' size={16} />
</Button>
</div>

Expand Down
5 changes: 3 additions & 2 deletions packages/web/src/components/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ export function SessionNavbar(props: SessionNavbarProps) {
openSrcbook(result.path);
}


return (
<>
<GenerateSrcbookModal
Expand Down Expand Up @@ -223,9 +224,9 @@ export function SessionNavbar(props: SessionNavbarProps) {
variant="icon"
size="icon"
onClick={() => setShowDelete(true)}
className="active:translate-y-0"
className="active:translate-y-0 hover:border-2 hover:border-red-500"
>
<TrashIcon size={18} />
<TrashIcon color='#EE4B2B' size={18} />
</Button>
</TooltipTrigger>
<TooltipContent>Delete this Srcbook</TooltipContent>
Expand Down
4 changes: 2 additions & 2 deletions packages/web/src/components/srcbook-cards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export function SrcbookCard(props: SrcbookCardPropsType) {
onClick={onDelete}
className="hidden group-hover:block hover:text-foreground"
>
<Trash2 size={16} />
<Trash2 color='#EE4B2B' size={16} />
</button>
</div>
</CardContainer>
Expand Down Expand Up @@ -203,7 +203,7 @@ export function AppCard(props: AppCardPropsType) {
onClick={onDelete}
className="hidden group-hover:block hover:text-foreground"
>
<Trash2 size={16} />
<Trash2 color='#EE4B2B' size={16} />
</button>
</div>
</CardContainer>
Expand Down
4 changes: 2 additions & 2 deletions packages/web/src/routes/secrets.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,8 @@ function SecretRow(props: {
)}
</td>
<td className="h-10 pl-3 text-right align-middle w-[52px]">
<Button variant="icon" onClick={() => setOpen(true)}>
<Trash2 size={18} />
<Button className='bg-red-800 hover:bg-red-700' variant="icon" onClick={() => setOpen(true)}>
<Trash2 color='white' size={18} />
</Button>
</td>
</tr>
Expand Down

0 comments on commit faa4ccf

Please sign in to comment.