authorgravatar for maria@kuuro.netmaria <maria@kuuro.net> 2026-09-03 18:48:44-04:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-09-03 18:48:44-04:00
logc726c30a148c2add6a3ec7f31f54ae48dc5d2f0c
tree9f30ab96360c0e60ad8f35c180fe0a2882571c67
parent678f23a69943e3eef7171f452b44f2931d2ef21f
signature Signed by PGP key B5690EEEBB952194

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

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

2 files changed, 13 insertions(+), 3 deletions(-)

apps/web/src/components/Icons.tsx+12-2
...@@ -653,9 +653,19 @@ export const AntigravityIcon: Icon = (props) => (...@@ -653,9 +653,19 @@ export const AntigravityIcon: Icon = (props) => (
653export const OpenCodeIcon: Icon = (props) => (653export const OpenCodeIcon: Icon = (props) => (
654 <svg {...props} viewBox="0 0 32 40" fill="none" xmlns="http://www.w3.org/2000/svg">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)">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 />
657 <path className="dark:hidden" d="M24 8H8V32H24V8ZM32 40H0V0H32V40Z" fill="#211E1E" />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 />
659 <path className="hidden dark:block" d="M24 8H8V32H24V8ZM32 40H0V0H32V40Z" fill="#F1ECEC" />669 <path className="hidden dark:block" d="M24 8H8V32H24V8ZM32 40H0V0H32V40Z" fill="#F1ECEC" />
660 </g>670 </g>
661 <defs>671 <defs>
apps/web/src/components/chat/ChatComposer.tsx+1-1
...@@ -3808,7 +3808,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)...@@ -3808,7 +3808,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
3808 activeProviderIconClassName: cn(3808 activeProviderIconClassName: cn(
3809 composerProviderState.modelPickerIconClassName,3809 composerProviderState.modelPickerIconClassName,
3810 composerControlsInStrip &&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 ),3812 ),
3813 }3813 }
3814 : {})}3814 : {})}