@@ -9,7 +9,7 @@ import React, {
99} from "react" ;
1010import { type ShortcutDefinition , useShortcutKeys } from "~/hooks/useShortcutKeys" ;
1111import { cn } from "~/utils/cn" ;
12- import { AgentDotMatrix , AgentMonoLogo } from "./AgentDotMatrix" ;
12+ import { AgentMonoLogo } from "./AgentDotMatrix" ;
1313import { ShortcutKey } from "./ShortcutKey" ;
1414import { Tooltip , TooltipContent , TooltipProvider , TooltipTrigger } from "./Tooltip" ;
1515import { Icon , type RenderIcon } from "./Icon" ;
@@ -119,17 +119,19 @@ const theme = {
119119 // Reserved for the AI agent's "Ask AI" affordance: secondary styling with a
120120 // softened trigger-green border.
121121 "ask-ai" : {
122- // Hover fills with a pale brand-green tint; ink flips DARK — dark ink on
123- // the pale green is ~13:1 (white would be ~1.4:1 even on the full green).
122+ // Light hover fills with a pale brand-green tint and the ink flips DARK —
123+ // dark ink on the pale green is ~13:1 (white would be ~1.4:1 even on the
124+ // full green). Dark themes hover like the other grey buttons: a slight
125+ // lift, ink stays bright.
124126 textColor :
125- "text-text-bright transition group-hover/button:text-charcoal-800 group-disabled/button:text-text-dimmed/80" ,
127+ "text-text-bright transition light: group-hover/button:text-charcoal-800 group-disabled/button:text-text-dimmed/80" ,
126128 // The trigger-green /25 border washes out on white, so the light theme
127129 // darkens it (the unified success token clears 3:1 on white).
128130 button :
129- "cursor-pointer bg-secondary border border-[#41FF54]/25 group-hover/button:bg-[# e4ffe8] group-hover/button:border-[#41FF54]/60 light:border-success/60 group-disabled/button:bg-secondary group-disabled/button:opacity-60 group-disabled/button:cursor-default group-disabled/button:pointer-events-none" ,
131+ "cursor-pointer bg-secondary border border-[#41FF54]/25 dark: group-hover/button:bg-background-raised dark:group-hover/button:border-[#41FF54]/40 light:group-hover/button:bg-[# e4ffe8] light: group-hover/button:border-[#41FF54]/60 light:border-success/60 group-disabled/button:bg-secondary group-disabled/button:opacity-60 group-disabled/button:cursor-default group-disabled/button:pointer-events-none" ,
130132 shortcut :
131- "border-text-dimmed/40 text-text-dimmed group-hover/button:text-charcoal-800 group-hover/button:border-charcoal-800/60" ,
132- icon : "text-text-bright group-hover/button:text-charcoal-800" ,
133+ "border-text-dimmed/40 text-text-dimmed dark: group-hover/button:text-text-bright dark:group-hover/button:border-text-dimmed light:group-hover/button:text- charcoal-800 light: group-hover/button:border-charcoal-800/60" ,
134+ icon : "text-text-bright light: group-hover/button:text-charcoal-800" ,
133135 } ,
134136} ;
135137
0 commit comments