Skip to content

Commit 50455a3

Browse files
committed
update button styles
1 parent 106d776 commit 50455a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/imageLightbox.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ export function ImageLightbox({
7575

7676
<Dialog.Content className="image-lightbox-content fixed left-[50%] top-[50%] z-50 max-h-[90vh] max-w-[90vw] translate-x-[-50%] translate-y-[-50%]">
7777
{/* Close button */}
78-
<Dialog.Close className="absolute right-4 top-4 z-10 rounded-sm bg-black/50 p-2 text-white opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2 focus:ring-offset-black/50">
79-
<X className="h-4 w-4" />
78+
<Dialog.Close className="absolute right-4 top-4 z-10 rounded-sm bg-[var(--flame0)] border border-white/20 p-2 text-white opacity-90 transition-all duration-200 hover:opacity-100 hover:bg-[var(--flame1)] hover:border-white/30 hover:scale-105 focus:outline-none focus:ring-2 focus:ring-white active:scale-95 flex items-center justify-center">
79+
<X className="h-4 w-4 stroke-[2.5]" />
8080
<span className="sr-only">Close</span>
8181
</Dialog.Close>
8282

0 commit comments

Comments
 (0)