This commit is contained in:
Ra
2025-08-20 12:24:56 -07:00
parent 9332a48542
commit be2cab7c9e
5 changed files with 80 additions and 61 deletions

View File

@@ -21,14 +21,14 @@ export const FigmaMultipleChoice: React.FC<FigmaMultipleChoiceProps> = ({
<div
key={index}
className={`flex-1 h-20 relative rounded-[999px] overflow-hidden cursor-pointer transition-colors ${isSelected
? 'bg-Neutrals-NeutralSlate800'
: 'bg-Neutrals-NeutralSlate100 hover:bg-Neutrals-NeutralSlate200'
? 'bg-[--Neutrals-NeutralSlate800]'
: 'bg-[--Neutrals-NeutralSlate100] hover:bg-[--Neutrals-NeutralSlate200]'
}`}
onClick={() => onSelect?.(option)}
>
<div className={`absolute inset-0 flex items-center justify-center text-center text-base font-normal font-['Inter'] leading-normal ${isSelected
? 'text-Neutrals-NeutralSlate0'
: 'text-Neutrals-NeutralSlate950'
? 'text-[--Neutrals-NeutralSlate0]'
: 'text-[--Neutrals-NeutralSlate950]'
}`}>
{option}
</div>