Skip to content

Commit 39e9ed3

Browse files
committed
fix(webapp): the agent callout (wake toast) dresses like the Ask Trigger button
Agent logo instead of the indigo bubble, the button's own surface (charcoal on dark, white on light) and softened green border.
1 parent 97a8e16 commit 39e9ed3

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

apps/webapp/app/components/primitives/Callout.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import {
2-
ChatBubbleLeftRightIcon,
32
CreditCardIcon,
43
ExclamationCircleIcon,
54
ExclamationTriangleIcon,
@@ -14,6 +13,7 @@ import {
1413
} from "@heroicons/react/24/solid";
1514
import { Link } from "@remix-run/react";
1615
import { cn } from "~/utils/cn";
16+
import { AgentMonoLogo } from "./AgentDotMatrix";
1717
import { Paragraph } from "./Paragraph";
1818
import { Spinner } from "./Spinner";
1919

@@ -61,12 +61,13 @@ export const variantClasses = {
6161
linkClassName: "transition hover:bg-callout-pending/20",
6262
},
6363
// Something the dashboard agent has to say, carrying a way into the chat.
64-
// Indigo is the agent's accent, and the icon is the launcher's own.
64+
// Dressed like the Ask Trigger button: the agent logo on the button's own
65+
// surface (charcoal on dark, white on light) with the softened green border.
6566
agent: {
66-
className: "border-indigo-500/20 bg-indigo-500/10",
67-
icon: <ChatBubbleLeftRightIcon className="h-5 w-5 shrink-0 text-indigo-500" />,
67+
className: "border-[#41FF54]/25 bg-secondary light:border-success/60",
68+
icon: <AgentMonoLogo size={20} decorative />,
6869
textColor: "text-text-bright",
69-
linkClassName: "transition hover:bg-indigo-500/20",
70+
linkClassName: "transition dark:hover:bg-background-raised light:hover:bg-[#e4ffe8]",
7071
},
7172
pricing: {
7273
className: "border-callout-pricing/20 bg-callout-pricing-bg/30",

0 commit comments

Comments
 (0)