Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: files changed app/src/components/assistant-ui/thread.tsx\n\nAuto-committed-on: macbook\n

Steven Enamakel51db80cda9e6
diff --git a/app/src/components/assistant-ui/thread.tsx b/app/src/components/assistant-ui/thread.tsx
index 3aa87f2a49..852085b1fb 100644
--- a/app/src/components/assistant-ui/thread.tsx
+++ b/app/src/components/assistant-ui/thread.tsx
@@ -549,21 +549,20 @@ const ComposerAction: FC<{
{showIdleAction ? (
<ComposerIdleAction />
) : hasComposerAttachments && composerText.trim().length === 0 ? (
- {/* Pinned to `primary-500` rather than left on `variant="default"`.
- That variant paints `bg-primary`, which `styles/shadcn-tokens.css`
- aliases to `primary-500` in light but `primary-400` in DARK — a
- pale sky blue. Its label is `--content-inverted`, which is white
- in both themes (not actually inverted per theme), so in dark the
- send button was white-on-pale-blue: washed out, and about 2.4:1,
- which is below AA for a control. `primary-500` under white is
- ~4.6:1 and reads as the accent in both themes.
-
- Overriding here rather than repointing the dark `--primary`
- alias: that token backs every `variant="default"` button in the
- app, and dark-mode-lightens-the-accent is a defensible palette
- choice to make deliberately, not as a side effect of fixing one
- button. `cn` is tailwind-merge, so the later `bg-primary-500`
- replaces the variant's `bg-primary` cleanly. */}
+ // Pinned to `primary-500` rather than left on `variant="default"`.
+ // That variant paints `bg-primary`, which `styles/shadcn-tokens.css`
+ // aliases to `primary-500` in light but `primary-400` in DARK — a
+ // pale sky blue. Its label is `--content-inverted`, which is white
+ // in both themes (not actually inverted per theme), so in dark the
+ // send button was white-on-pale-blue: washed out, and about 2.4:1,
+ // which is below AA for a control. `primary-500` under white is
+ // ~4.6:1 and reads as the accent in both themes.
+ // Overriding here rather than repointing the dark `--primary`
+ // alias: that token backs every `variant="default"` button in the
+ // app, and dark-mode-lightens-the-accent is a defensible palette
+ // choice to make deliberately, not as a side effect of fixing one
+ // button. `cn` is tailwind-merge, so the later `bg-primary-500`
+ // replaces the variant's `bg-primary` cleanly.
<TooltipIconButton
tooltip="Send message"
side="bottom"