fix: alpha colors (#8418)

This commit is contained in:
Aaryan Khandelwal 2025-12-22 16:52:09 +05:30 committed by GitHub
parent 5a2e2e7e11
commit 7a3cebdb6b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 7 additions and 5 deletions

View file

@ -116,7 +116,7 @@ function CloseButton({ onClick }: { onClick?: () => void }) {
return (
<button
onClick={onClick}
className="rounded-sm p-1 hover:bg-black/5 dark:hover:bg-white/5 transition-colors"
className="rounded-sm p-1 hover:bg-alpha-black-100 dark:hover:bg-alpha-white-100 transition-colors"
aria-label="Dismiss"
>
<svg

View file

@ -95,7 +95,7 @@ export function ModalPortal({
>
{showOverlay && (
<div
className={cn("absolute inset-0 bg-black bg-opacity-50 transition-opacity duration-300", overlayClassName)}
className={cn("absolute inset-0 bg-alpha-black-700 transition-opacity duration-300", overlayClassName)}
onClick={handleOverlayClick}
aria-hidden="true"
/>