fix(ui): dead tokens replaced or deleted — text-ok, --radius-lg, real surface (#1740)
text-success was not a token (now text-ok) in ChatToolCall and BindEvent; var(--radius) is undefined (now var(--radius-lg)) in input-group and Sonner; Sonner's hsl(var(--popover) / 0.9) wrapped a hex (now a plain hex); the undefined cn-font-heading class is deleted from the nine title components.
This commit is contained in:
13 files changed
+18
-18
No files matched your search
@@ -344,7 +344,7 @@ const resume = () => transition(api.bindingResume, "pending_approval");
|
||||
class="h-8 w-full font-mono text-caption"
|
||||
/>
|
||||
<Alert v-if="rows[name]!.from === 'path' && resolved(name).failure" variant="destructive"><AlertDescription>{{ resolved(name).failure }}</AlertDescription></Alert>
|
||||
<p v-else-if="rows[name]!.from === 'path' && resolved(name).value !== undefined" class="truncate font-mono text-caption text-success" :title="resolved(name).value">{{ resolved(name).value }}</p>
|
||||
<p v-else-if="rows[name]!.from === 'path' && resolved(name).value !== undefined" class="truncate font-mono text-caption text-ok" :title="resolved(name).value">{{ resolved(name).value }}</p>
|
||||
</div>
|
||||
<div v-if="repository" class="space-y-1 px-3 py-2">
|
||||
<div class="text-caption" title="Optional: owner/name of a configured repository; blank uses the configured one">Repository</div>
|
||||
@@ -356,7 +356,7 @@ const resume = () => transition(api.bindingResume, "pending_approval");
|
||||
class="h-8 w-full font-mono text-caption"
|
||||
/>
|
||||
<Alert v-if="resolved(REPOSITORY_FIELD).failure" variant="destructive"><AlertDescription>{{ resolved(REPOSITORY_FIELD).failure }}</AlertDescription></Alert>
|
||||
<p v-else-if="resolved(REPOSITORY_FIELD).value !== undefined" class="truncate font-mono text-caption text-success">{{ resolved(REPOSITORY_FIELD).value }}</p>
|
||||
<p v-else-if="resolved(REPOSITORY_FIELD).value !== undefined" class="truncate font-mono text-caption text-ok">{{ resolved(REPOSITORY_FIELD).value }}</p>
|
||||
</div>
|
||||
<p v-if="!inputs.length && !repository" class="px-3 py-2 text-caption text-fg-subtle">No inputs.</p>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user