mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-26 12:14:20 +01:00
wip: desktop work
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
gap: 8px;
|
||||
|
||||
[data-slot="tool-error-icon"] {
|
||||
color: var(--icon-critical-active);
|
||||
color: var(--icon-critical-base);
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
@@ -50,13 +50,13 @@
|
||||
font-weight: var(--font-weight-medium);
|
||||
line-height: var(--line-height-large);
|
||||
letter-spacing: var(--letter-spacing-normal);
|
||||
color: var(--ember-light-11);
|
||||
text-transform: capitalize;
|
||||
color: var(--text-on-critical-base);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* [data-slot="tool-error-message"] { */
|
||||
/* } */
|
||||
[data-slot="tool-error-message"] {
|
||||
color: var(--text-on-critical-weak);
|
||||
}
|
||||
}
|
||||
|
||||
[data-component="tool-output"] {
|
||||
|
||||
@@ -153,7 +153,7 @@ PART_MAPPING["tool"] = function ToolPartDisplay(props) {
|
||||
<div data-component="tool-error">
|
||||
<Icon name="circle-ban-sign" size="small" data-slot="tool-error-icon" />
|
||||
<Switch>
|
||||
<Match when={title}>
|
||||
<Match when={title && title.length < 30}>
|
||||
<div data-slot="tool-error-content">
|
||||
<div data-slot="tool-error-title">{title}</div>
|
||||
<span data-slot="tool-error-message">{rest.join(": ")}</span>
|
||||
|
||||
Reference in New Issue
Block a user