@devries-cameron20 / t3code Mirror · read-only / commits / c726c30a14
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 24, 11:30 UTC

fix(web): keep opencode icon hollow in collapsed composer (#9492)

Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>

maria committed Sep 3, 2026 at 18:48 UTC c726c30a148c2add6a3ec7f31f54ae48dc5d2f0c
2 files changed +13 -3
apps/web/src/components/Icons.tsx
+12 -2
@@ -653,9 +653,19 @@ export const AntigravityIcon: Icon = (props) => (
653 export const OpenCodeIcon: Icon = (props) => (
654 <svg {...props} viewBox="0 0 32 40" fill="none" xmlns="http://www.w3.org/2000/svg">
655 <g clipPath="url(#opencode__clip0_1311_94969)">
656 - <path className="dark:hidden" d="M24 32H8V16H24V32Z" fill="#CFCECD" />
656 + <path
657 + data-opencode-hole="true"
658 + className="dark:hidden"
659 + d="M24 32H8V16H24V32Z"
660 + fill="#CFCECD"
661 + />
662 <path className="dark:hidden" d="M24 8H8V32H24V8ZM32 40H0V0H32V40Z" fill="#211E1E" />
658 - <path className="hidden dark:block" d="M24 32H8V16H24V32Z" fill="#4B4646" />
663 + <path
664 + data-opencode-hole="true"
665 + className="hidden dark:block"
666 + d="M24 32H8V16H24V32Z"
667 + fill="#4B4646"
668 + />
669 <path className="hidden dark:block" d="M24 8H8V32H24V8ZM32 40H0V0H32V40Z" fill="#F1ECEC" />
670 </g>
671 <defs>
apps/web/src/components/chat/ChatComposer.tsx
+1 -1
@@ -3808,7 +3808,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
3808 activeProviderIconClassName: cn(
3809 composerProviderState.modelPickerIconClassName,
3810 composerControlsInStrip &&
3811 - "fill-muted-foreground/70! text-muted-foreground/70! [&_path]:fill-muted-foreground/70! [&_rect]:fill-muted-foreground/70!",
3811 + "fill-muted-foreground/70! text-muted-foreground/70! [&_path]:fill-muted-foreground/70! [&_rect]:fill-muted-foreground/70! [&_[data-opencode-hole]]:fill-transparent!",
3812 ),
3813 }
3814 : {})}