Skip to content

Commit a6106a5

Browse files
committed
refactor(web): move the ACP agent glyph into its own module
Keeps Icons.tsx identical to upstream; the square ACP mark lives in AcpAgentIcon.tsx and is imported where the driver is mapped.
1 parent d027779 commit a6106a5

4 files changed

Lines changed: 28 additions & 26 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
import type { Icon } from "./Icons";
2+
import { cn } from "~/lib/utils";
3+
4+
/**
5+
* Square mark for generic ACP agent instances. The official ACP logo
6+
* (`ACPRegistryIcon`) is ~2.6:1 and collapses to a sliver in the square slots
7+
* every other provider glyph fills; this plug mirrors the mobile app's choice.
8+
*/
9+
export const AcpAgentIcon: Icon = ({ className, ...props }) => (
10+
<svg
11+
{...props}
12+
viewBox="0 0 24 24"
13+
fill="none"
14+
stroke="currentColor"
15+
strokeWidth="2"
16+
strokeLinecap="round"
17+
strokeLinejoin="round"
18+
className={cn("text-black dark:text-white", className)}
19+
>
20+
<path d="M12 22v-5" />
21+
<path d="M9 8V2" />
22+
<path d="M15 8V2" />
23+
<path d="M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z" />
24+
</svg>
25+
);

0 commit comments

Comments
 (0)