Skip to content

Commit

Permalink
Changed event modal border and backdrop colors
Browse files Browse the repository at this point in the history
  • Loading branch information
j-hariharan committed Apr 29, 2024
1 parent 3f8f7c4 commit 0c79d4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/events/EventModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ export default function EventModal ({ event, initial, handleClose }) {
return (
<motion.div
className="fixed left-0 top-0 h-screen w-screen z-50 flex justify-center items-center"
animate = {{ backgroundColor: "#000000aa" }}
exit = {{ backgroundColor: "#00000000" }}
animate = {{ backgroundColor: "#111111dd" }}
exit = {{ backgroundColor: "#11111100" }}
onClick = {handleClose}
>
<motion.div
className="bg-secondary-600 sm:rounded-lg shadow-lg overflow-hidden flex justify-center items-top"
className="bg-secondary-600 sm:rounded-lg sm:border-[1px] border-accent-200 overflow-hidden flex justify-center items-top"
initial = {{ ...initial }}
animate = {{ width: "initial", height: "initial", x: 0, y: 0}}
exit = {{ opacity: 0, scale: 0.6 }}
Expand Down

0 comments on commit 0c79d4d

Please sign in to comment.