update src/components/Accordion/AccordionDesign1/index.js and src/components/Accordion/index.js

master
mahdi 2 years ago
parent 4d31b21c14
commit 3a37df7b45
  1. 6
      src/components/Accordion/AccordionDesign1/index.js
  2. 2
      src/components/Accordion/index.js

@ -126,7 +126,7 @@ function AccordionDesign1({ vod }) {
<Droppable droppableId="characters"> <Droppable droppableId="characters">
{(provided) => ( {(provided) => (
<section <section
className="characters w-full flex flex-col bg-gray-200" className="characters w-full flex flex-col bg-surface"
id="container" id="container"
{...provided.droppableProps} {...provided.droppableProps}
ref={provided.innerRef} ref={provided.innerRef}
@ -149,8 +149,8 @@ function AccordionDesign1({ vod }) {
} }
className={`flex flex-row items-center justify-between px-3 py-4 border-b-2 ${ className={`flex flex-row items-center justify-between px-3 py-4 border-b-2 ${
activeAccordion === item activeAccordion === item
? "border-surfaceBorder " ? "border-secondary"
: "border-secondary" : "border-surfaceBorder"
} cursor-pointer`} } cursor-pointer`}
> >
<CircleInCircle <CircleInCircle

@ -10,7 +10,7 @@ function Accordion() {
return ( return (
<div className="w-full flex flex-col items-center"> <div className="w-full flex flex-col items-center">
<select <select
className="mb-10 w-20 bg-gray-200" className="mb-10 w-20 bg-surface"
onChange={(e) => setType(e.target.value)} onChange={(e) => setType(e.target.value)}
> >
{Object.keys(list).map((option, index) => ( {Object.keys(list).map((option, index) => (

Loading…
Cancel
Save