File tree Expand file tree Collapse file tree 2 files changed +13
-14
lines changed Expand file tree Collapse file tree 2 files changed +13
-14
lines changed Original file line number Diff line number Diff line change @@ -32,18 +32,16 @@ export const Card = ({
32
32
const card = (
33
33
< div
34
34
className = { clsx (
35
- 'shadow-sm border rounded-xl flex p-3 flex-col items-center justify-center' ,
35
+ 'shadow-sm border dark:border-gray-800 rounded-2xl flex p-3 flex-col items-center justify-center' ,
36
36
className ,
37
37
) }
38
38
>
39
39
{ icon && (
40
- < div className = "" >
41
- < img
42
- src = { icon }
43
- alt = { title }
44
- className = "w-10 h-10 object-contain mb-2"
45
- />
46
- </ div >
40
+ < img
41
+ src = { icon }
42
+ alt = { title }
43
+ className = "w-10 h-10 object-contain mb-2 dark:filter dark:invert dark:opacity-80"
44
+ />
47
45
) }
48
46
< div className = "flex items-center justify-center flex-col" >
49
47
< h3 className = "font-semibold" > { title } </ h3 >
@@ -55,7 +53,7 @@ export const Card = ({
55
53
return link ? (
56
54
< a
57
55
href = { link }
58
- className = "hover:shadow-sm overflow-hidden rounded-xl transition-shadow duration-200"
56
+ className = "hover:shadow-sm overflow-hidden rounded-2xl transition-shadow duration-200"
59
57
target = "_blank"
60
58
>
61
59
{ card }
Original file line number Diff line number Diff line change 1
- export * from './Callout/Callout' ;
2
- export * from './Accordion/Accordion' ;
3
- export * from './Steps/Steps' ;
1
+ export * from './utils' ;
2
+ export * from './Card/Card' ;
4
3
export * from './Tabs/Tabs' ;
4
+ export * from './Steps/Steps' ;
5
+ export * from './Callout/Callout' ;
6
+ export * from './Image/ImageZoom' ;
5
7
export * from './Code/Code.Server' ;
6
8
export * from './Code/Code.Client' ;
9
+ export * from './Accordion/Accordion' ;
7
10
export * from './Typography/Typography' ;
8
- export * from './utils' ;
9
- export * from './Image/ImageZoom' ;
You can’t perform that action at this time.
0 commit comments