diff options
| author | Adam <[email protected]> | 2025-12-21 05:50:26 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2025-12-22 05:46:06 -0600 |
| commit | 986d12fd204c0d56c225090090eb2d7c05f0b55c (patch) | |
| tree | 7d7baebb957704073626f5974f2dda48e5e3d561 /packages/ui/src/components/message-part.css | |
| parent | d04a72a4ad6af0bfe75bbff36004d28adca179b2 (diff) | |
| download | opencode-986d12fd204c0d56c225090090eb2d7c05f0b55c.tar.gz opencode-986d12fd204c0d56c225090090eb2d7c05f0b55c.zip | |
feat(desktop): better task tool rendering
Diffstat (limited to 'packages/ui/src/components/message-part.css')
| -rw-r--r-- | packages/ui/src/components/message-part.css | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/packages/ui/src/components/message-part.css b/packages/ui/src/components/message-part.css index 5d2703960..ffeb4cb28 100644 --- a/packages/ui/src/components/message-part.css +++ b/packages/ui/src/components/message-part.css @@ -287,6 +287,44 @@ } } +[data-component="task-tools"] { + padding: 8px 12px; + display: flex; + flex-direction: column; + gap: 6px; + + [data-slot="task-tool-item"] { + display: flex; + align-items: center; + gap: 8px; + color: var(--text-weak); + + [data-slot="icon-svg"] { + flex-shrink: 0; + color: var(--icon-weak); + } + } + + [data-slot="task-tool-title"] { + font-family: var(--font-family-sans); + font-size: var(--font-size-small); + font-weight: var(--font-weight-medium); + line-height: var(--line-height-large); + color: var(--text-weak); + } + + [data-slot="task-tool-subtitle"] { + font-family: var(--font-family-sans); + font-size: var(--font-size-small); + font-weight: var(--font-weight-regular); + line-height: var(--line-height-large); + color: var(--text-weaker); + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } +} + [data-component="diagnostics"] { display: flex; flex-direction: column; |
