Skip to content

Commit

Permalink
Fix opacity
Browse files Browse the repository at this point in the history
  • Loading branch information
chasefleming committed Dec 17, 2024
1 parent 2779713 commit 3013e05
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ui/design-system/src/lib/Components/Modal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const Modal: React.FC<ModalProps> = ({ isOpen, onClose, title, children, classNa
leaveFrom="opacity-100"
leaveTo="opacity-0"
>
<div className="fixed inset-0 bg-black/30 dark:bg-black/70 backdrop-blur-sm" />
<div className="fixed inset-0 bg-black/20 dark:bg-black/60 backdrop-blur-sm" />
</Transition.Child>

{/* Modal Panel */}
Expand All @@ -40,13 +40,13 @@ const Modal: React.FC<ModalProps> = ({ isOpen, onClose, title, children, classNa
>
<Dialog.Panel
className={clsx(
"w-full max-w-md transform rounded-md border bg-white text-black shadow-xl transition-all dark:bg-gray-900 dark:text-gray-100 dark:border-gray-700",
"w-full max-w-md transform rounded-md border bg-gray-100 text-black shadow-2xl transition-all dark:bg-gray-800 dark:text-gray-100 dark:border-gray-700",
className
)}
>
{/* Header */}
{title && (
<div className="px-4 py-3 border-b border-gray-200 dark:border-gray-700">
<div className="px-4 py-3 border-b border-gray-300 dark:border-gray-700">
<Dialog.Title as="h3" className="text-lg font-semibold">
{title}
</Dialog.Title>
Expand Down

0 comments on commit 3013e05

Please sign in to comment.