Skip to content

Commit 6a57a1e

Browse files
committed
fix(webapp): ask-ai hover is a pale brand-green tint
1 parent b474312 commit 6a57a1e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,14 @@ 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 the brand green; ink flips DARK, not white — white on
123-
// #41FF54 is ~1.4:1, charcoal-800 is ~12.8:1 (the brand's black-on-green).
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).
124124
textColor:
125125
"text-text-bright transition group-hover/button:text-charcoal-800 group-disabled/button:text-text-dimmed/80",
126126
// The trigger-green /25 border washes out on white, so the light theme
127127
// darkens it (the unified success token clears 3:1 on white).
128128
button:
129-
"cursor-pointer bg-secondary border border-[#41FF54]/25 group-hover/button:bg-[#41FF54] group-hover/button:border-[#41FF54] 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",
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",
130130
shortcut:
131131
"border-text-dimmed/40 text-text-dimmed group-hover/button:text-charcoal-800 group-hover/button:border-charcoal-800/60",
132132
icon: "text-text-bright group-hover/button:text-charcoal-800",

0 commit comments

Comments
 (0)