File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ const TimetableCard = ({
141141 < div
142142 className = { `w-full h-full p-20 flex justify-center rounded-lg ${ semesterToBgColor (
143143 timetable . semester
144- ) } cursor-pointer transition-opacity duration-500 `}
144+ ) } cursor-pointer animate-fade-in `}
145145 >
146146 < SemesterIcon semester = { timetable . semester } />
147147 </ div >
@@ -188,7 +188,7 @@ const TimetableCard = ({
188188 < div
189189 className = { `w-full h-full p-20 flex justify-center rounded-lg ${ semesterToBgColor (
190190 timetable . semester
191- ) } cursor-pointer transition-opacity duration-500 `}
191+ ) } cursor-pointer animate-fade-in `}
192192 >
193193 < SemesterIcon semester = { timetable . semester } />
194194 </ div >
Original file line number Diff line number Diff line change @@ -78,10 +78,15 @@ export default {
7878 height : "0" ,
7979 } ,
8080 } ,
81+ 'fade-in' : {
82+ '0%' : { opacity : '0' } ,
83+ '100%' : { opacity : '1' } ,
84+ }
8185 } ,
8286 animation : {
8387 "accordion-down" : "accordion-down 0.2s ease-out" ,
8488 "accordion-up" : "accordion-up 0.2s ease-out" ,
89+ 'fade-in' : 'fade-in 0.4s ease-in-out' ,
8590 } ,
8691 } ,
8792 } ,
You can’t perform that action at this time.
0 commit comments