File tree Expand file tree Collapse file tree 1 file changed +20
-6
lines changed
app/[locale]/(user)/datasets/components/FIlter Expand file tree Collapse file tree 1 file changed +20
-6
lines changed Original file line number Diff line number Diff line change @@ -37,10 +37,16 @@ const Filter: React.FC<FilterProps> = ({
3737 < div className = "mb-5 flex justify-between" >
3838 < div className = "flex w-full justify-between" >
3939 < div >
40- < Text variant = "headingMd" className = ' text-primaryBlue uppercase' > Filters</ Text >
40+ < Text variant = "headingMd" className = " uppercase text-primaryText" >
41+ Filters
42+ </ Text >
4143 </ div >
4244 < div >
43- < Button kind = "tertiary" className = ' text-secondaryOrange' onClick = { handleReset } >
45+ < Button
46+ kind = "tertiary"
47+ className = " font-medium text-secondaryText"
48+ onClick = { handleReset }
49+ >
4450 Reset
4551 </ Button >
4652 </ div >
@@ -56,10 +62,18 @@ const Filter: React.FC<FilterProps> = ({
5662 < div className = "flex flex-col gap-5" >
5763 { Object . entries ( options ) . map ( ( [ category , data ] , index ) => (
5864 < div key = { index } >
59- < Accordion type = "single" collapsible className = "w-full" >
60- < AccordionItem value = { category } className = ' border-surfaceDefault' >
61- < AccordionTrigger className = "flex w-full flex-wrap items-center gap-2 rounded-1 bg-[#219EBC26] py-2 hover:no-underline" >
62- < Text > { toTitleCase ( category ) } </ Text >
65+ < Accordion
66+ type = "single"
67+ collapsible
68+ defaultValue = { category }
69+ className = "w-full"
70+ >
71+ < AccordionItem
72+ value = { category }
73+ className = " border-surfaceDefault"
74+ >
75+ < AccordionTrigger className = "flex w-full flex-wrap items-center gap-2 rounded-1 bg-[#1F5F8D1A] py-[10px] px-3 hover:no-underline" >
76+ < Text fontWeight = "medium" > { toTitleCase ( category ) } </ Text >
6377 </ AccordionTrigger >
6478 < AccordionContent
6579 className = "flex w-full flex-col px-3 pb-0 pt-2"
You can’t perform that action at this time.
0 commit comments