Skip to content

Commit e3ee8d4

Browse files
committed
fix(skills): inset suggestion hover (no edge bleed) + high-contrast bud-matched composer chip
1 parent a67d203 commit e3ee8d4

1 file changed

Lines changed: 11 additions & 8 deletions

File tree

apps/web/src/components/home/home-composer.tsx

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -354,13 +354,16 @@ export function HomeComposer({
354354
<div className="bud-composer-fill flex min-h-[124px] flex-col justify-between rounded-[21px] px-2 pb-2">
355355
<div>
356356
{skillCreatorMode ? (
357-
<div className="px-4 pt-3">
358-
<span className="inline-flex h-7 items-center gap-1.5 rounded-full bg-[#f7f7f7] pr-1.5 pl-2.5 font-medium text-[#86641d] text-[12px]">
359-
<CheatcodeMark aria-hidden="true" className="h-3.5 w-3.5" />
357+
<div className="px-3 pt-3">
358+
<span className="inline-flex h-7 items-center gap-1.5 rounded-full border border-black/[0.06] bg-[#f5f5f5] py-0.5 pr-1 pl-2.5 font-medium text-[#1b1b1b] text-[13px]">
359+
<CheatcodeMark
360+
aria-hidden="true"
361+
className="h-3.5 w-3.5 shrink-0 text-[#a9842e]"
362+
/>
360363
Skill Creator
361364
<button
362365
aria-label="Exit Skill Creator"
363-
className="flex h-5 w-5 items-center justify-center rounded-full text-[#a9842e] transition-colors hover:bg-white/70 hover:text-[#86641d]"
366+
className="flex h-5 w-5 items-center justify-center rounded-full text-[#8a8a8a] transition-colors hover:bg-black/[0.04] hover:text-[#1b1b1b]"
364367
onClick={() => setSkillCreatorMode(false)}
365368
type="button"
366369
>
@@ -487,13 +490,13 @@ const SKILL_CREATOR_SUGGESTIONS = [
487490

488491
function SkillCreatorSuggestions({ onPick }: { onPick: (text: string) => void }) {
489492
return (
490-
<div className="mx-auto mt-6 w-full max-w-[448px] overflow-hidden rounded-[17px] border border-[#f1f1f1] bg-white">
491-
<p className="px-3.5 pt-2.5 pb-0.5 font-medium text-[#a0a0a0] text-[12px]">Create skills</p>
492-
<ul className="pb-1">
493+
<div className="mx-auto mt-6 w-full max-w-[448px] rounded-[17px] border border-[#f1f1f1] bg-white p-1.5">
494+
<p className="px-2 pt-1 pb-1 font-medium text-[#a0a0a0] text-[12px]">Create skills</p>
495+
<ul>
493496
{SKILL_CREATOR_SUGGESTIONS.map((suggestion) => (
494497
<li key={suggestion}>
495498
<button
496-
className="flex w-full items-center gap-2.5 rounded-[11px] px-3.5 py-1.5 text-left font-medium text-[#1b1b1b] text-[13px] leading-5 transition-colors hover:bg-[#f7f7f7]"
499+
className="flex w-full items-center gap-2.5 rounded-[11px] px-2 py-1.5 text-left font-medium text-[#1b1b1b] text-[13px] leading-5 transition-colors hover:bg-[#f7f7f7]"
497500
onClick={() => onPick(suggestion)}
498501
type="button"
499502
>

0 commit comments

Comments
 (0)