fix(web): keep opencode icon hollow in collapsed composer (#9492)
Co-authored-by: maria-rcks <[email protected]>
This commit is contained in:
1 parent
678f23a699
commit
c726c30a14
2 files changed
+13
-3
No files matched your search
@@ -653,9 +653,19 @@ export const AntigravityIcon: Icon = (props) => (
|
||||
export const OpenCodeIcon: Icon = (props) => (
|
||||
<svg {...props} viewBox="0 0 32 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clipPath="url(#opencode__clip0_1311_94969)">
|
||||
<path className="dark:hidden" d="M24 32H8V16H24V32Z" fill="#CFCECD" />
|
||||
<path
|
||||
data-opencode-hole="true"
|
||||
className="dark:hidden"
|
||||
d="M24 32H8V16H24V32Z"
|
||||
fill="#CFCECD"
|
||||
/>
|
||||
<path className="dark:hidden" d="M24 8H8V32H24V8ZM32 40H0V0H32V40Z" fill="#211E1E" />
|
||||
<path className="hidden dark:block" d="M24 32H8V16H24V32Z" fill="#4B4646" />
|
||||
<path
|
||||
data-opencode-hole="true"
|
||||
className="hidden dark:block"
|
||||
d="M24 32H8V16H24V32Z"
|
||||
fill="#4B4646"
|
||||
/>
|
||||
<path className="hidden dark:block" d="M24 8H8V32H24V8ZM32 40H0V0H32V40Z" fill="#F1ECEC" />
|
||||
</g>
|
||||
<defs>
|
||||
|
||||
@@ -3808,7 +3808,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
|
||||
activeProviderIconClassName: cn(
|
||||
composerProviderState.modelPickerIconClassName,
|
||||
composerControlsInStrip &&
|
||||
"fill-muted-foreground/70! text-muted-foreground/70! [&_path]:fill-muted-foreground/70! [&_rect]:fill-muted-foreground/70!",
|
||||
"fill-muted-foreground/70! text-muted-foreground/70! [&_path]:fill-muted-foreground/70! [&_rect]:fill-muted-foreground/70! [&_[data-opencode-hole]]:fill-transparent!",
|
||||
),
|
||||
}
|
||||
: {})}
|
||||
|
||||
Reference in new issue
Block a user