File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -56,32 +56,30 @@ const ExpandableCard = ({
56
56
< Accordion type = "single" collapsible className = "mb-4" >
57
57
< AccordionItem
58
58
value = "item-1"
59
- className = "rounded-sm border border-gray-200/50 hover:bg-gray-100/50 dark:border-gray-600 dark:hover:bg-gray-800 "
59
+ className = "rounded-sm border hover:bg-background-highlight "
60
60
>
61
61
< AccordionTrigger
62
62
hideIcon
63
63
onClick = { onClick }
64
- className = "w-full p-6 transition-colors hover:bg-gray-50 hover:text-black md:p-6 dark:hover:bg-gray-800 dark:hover:text-white [&[data-state=open]]:bg-transparent [&[data-state=open]]:text-black dark:[&[data-state=open]]:text-white"
64
+ className = "w-full p-6 transition-colors hover:bg-background-highlight hover:text-black md:p-6 dark:hover:text-white [&[data-state=open]]:bg-transparent [&[data-state=open]]:text-black dark:[&[data-state=open]]:text-white"
65
65
>
66
66
< Flex className = "w-full flex-col items-center text-left sm:flex-row" >
67
- < VStack className = "items-center" >
67
+ < VStack className = "items-center md:items-start " >
68
68
< HStack className = "mb-2 mt-4" >
69
69
{ Svg && < Svg className = "mr-6" /> }
70
70
< h3 className = "text-xl font-semibold" > { title } </ h3 >
71
71
</ HStack >
72
- < p className = "mb-0 w-fit text-sm text-gray-600 " >
72
+ < p className = "w-fit text-sm text-body-medium " >
73
73
{ contentPreview }
74
74
</ p >
75
75
</ VStack >
76
- < span className = "my-auto text-md text-purple-600 sm:ml-auto dark:text-purple-400 " >
76
+ < span className = "my-auto text-md text-primary sm:ml-auto" >
77
77
{ t ( isVisible ? "less" : "more" ) }
78
78
</ span >
79
79
</ Flex >
80
80
</ AccordionTrigger >
81
- < AccordionContent className = "cursor-pointer p-6 pt-0 md:p-6 md:pt-0" >
82
- < div className = "border-t border-gray-200 pt-6 text-md text-gray-800 dark:border-gray-600 dark:text-white" >
83
- { children }
84
- </ div >
81
+ < AccordionContent className = "p-6 pt-0 md:p-6 md:pt-0" >
82
+ < div className = "border-t pt-6 text-md text-body" > { children } </ div >
85
83
</ AccordionContent >
86
84
</ AccordionItem >
87
85
</ Accordion >
You can’t perform that action at this time.
0 commit comments