Skip to content

Commit

Permalink
change accordion to fire (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
indaviande authored Dec 6, 2024
1 parent f56ebc6 commit d47127d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/primitives/Accordion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ export default function Accordion({ look, size, items, className }: AccordionPro
return (
<div className="[&>*]:first:pt-0 w-full overflow-y-hidden" key={item.key}>
<motion.div
className="border-b-2 py-lg*2 border-main-10"
className="border-b-2 py-lg*2 border-accent-11"
initial={{ y: "100%" }}
whileInView={{ y: 0 }}
transition={{ delay: 0.2 * index }}
viewport={{ once: true }}>
<RadixAccordion.Item value={`item-${index}`} className="faq-item">
<RadixAccordion.Trigger className="faq-item__trigger text-left overflow-hidden [&>*]:text-main-10 [&>svg]:data-[state=closed]:rotate-180 [&>svg]:data-[state=open]:rotate-0 w-full flex items-center justify-between">
<RadixAccordion.Trigger className="faq-item__trigger text-left overflow-hidden [&>*]:text-accent-11 [&>svg]:data-[state=closed]:rotate-180 [&>svg]:data-[state=open]:rotate-0 w-full flex items-center justify-between">
<Title h={3} className="ease">
{item.trigger}
</Title>
Expand Down

0 comments on commit d47127d

Please sign in to comment.