File tree 5 files changed +10
-8
lines changed 5 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @programmer_network/yail" ,
3
- "version" : " 1.0.23 " ,
3
+ "version" : " 1.0.24 " ,
4
4
"description" : " Programmer Network's official UI library for React" ,
5
5
"author" : " Aleksandar Grbic - (https://programmer.network)" ,
6
6
"publishConfig" : {
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ const IconArrowDown: FC<IIconProps> = (props: SVGProps<SVGSVGElement>) => {
7
7
return (
8
8
< svg
9
9
xmlns = 'http://www.w3.org/2000/svg'
10
- viewBox = '0 0 24 24'
11
10
data-testid = 'icon-arrow-down'
11
+ viewBox = '7 10 10 5'
12
12
{ ...props }
13
13
>
14
14
< path fill = 'currentColor' d = 'm7 10l5 5l5-5z' > </ path >
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ const IconArrowUp: FC<IIconProps> = (props: SVGProps<SVGSVGElement>) => {
7
7
return (
8
8
< svg
9
9
xmlns = 'http://www.w3.org/2000/svg'
10
- viewBox = '0 0 24 24'
11
10
data-testid = 'icon-arrow-up'
11
+ viewBox = '7 9 10 5'
12
12
{ ...props }
13
13
>
14
14
< path fill = 'currentColor' d = 'm7 14l5-5l5 5z' > </ path >
Original file line number Diff line number Diff line change @@ -24,8 +24,10 @@ const Template = () => {
24
24
key = { iconName }
25
25
className = 'flex flex-col items-center justify-center gap-2 p-8'
26
26
>
27
- < Icon className = 'h-16 w-16 text-primary' />
28
- < span className = 'font-bold text-primary' > { iconName } </ span >
27
+ < Icon className = 'h-16 w-16 text-white' />
28
+ < span className = 'font-bold text-primary-text-color' >
29
+ { iconName }
30
+ </ span >
29
31
</ div >
30
32
) ;
31
33
} ) }
Original file line number Diff line number Diff line change @@ -19,14 +19,14 @@ const Reactions: FC<IReactionsProps> = ({
19
19
} ) => {
20
20
return (
21
21
< div className = 'flex gap-4 py-2 text-primary-text-color' >
22
- < div className = 'flex gap-4 ' >
22
+ < div className = 'flex gap-8 ' >
23
23
< div className = 'my-0 flex items-center justify-center gap-1' >
24
24
{ isLiking ? (
25
25
< IconSpinner className = 'w-5' />
26
26
) : (
27
27
< >
28
28
< IconArrowUp
29
- className = { classNames ( "w-12 " , {
29
+ className = { classNames ( "w-6 " , {
30
30
"fill-primary-text-color" : ! hasLiked ,
31
31
"cursor-not-allowed text-primary" : hasLiked || isDisliking ,
32
32
"cursor-pointer hover:text-primary" : ! hasLiked
@@ -43,7 +43,7 @@ const Reactions: FC<IReactionsProps> = ({
43
43
) : (
44
44
< >
45
45
< IconArrowDown
46
- className = { classNames ( "w-12 " , {
46
+ className = { classNames ( "w-6 " , {
47
47
"fill-primary-text-color" : ! hasDisliked ,
48
48
"cursor-not-allowed text-rose-500" : hasDisliked || isLiking ,
49
49
"cursor-pointer hover:text-rose-500" :
You can’t perform that action at this time.
0 commit comments