Skip to content

Commit

Permalink
fixed contact us dialog background (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikrakuscek authored Feb 20, 2024
1 parent 83f48b3 commit f95d142
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkgs/hanzo-ui/common/contact-dialog/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ const ContactDialog: React.FC<ButtonModalProps> = ({
<DialogTrigger asChild>
<Button {...buttonProps} >{buttonText}</Button>
</DialogTrigger>
<DialogContent className="sm:max-w-[500px] p-0 gap-0 light-theme">
<DialogHeader className='py-6 text-foreground'>
<DialogContent className="sm:max-w-[500px] p-0 gap-0 bg-background border">
<DialogHeader className='py-6 text-foreground'>
<DialogTitle className='text-4xl font-heading text-center text-inherit'>{title}</DialogTitle>
{byline && (<DialogDescription className='text-inherit text-xl text-center'>{byline} </DialogDescription>)}
</DialogHeader>
Expand Down
2 changes: 1 addition & 1 deletion pkgs/hanzo-ui/primitives/dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const DialogClose = React.forwardRef<
<DialogPrimitive.Close
ref={ref}
className={cn(
"absolute right-4 top-3 p-1 justify-self-start hover:brightness-105 hover:scale-110 duration-100 ring-1 ring-secondary-400 transition bg-secondary-500 hover:text-primary-text focus:outline-none rounded-full items-center",
"absolute right-4 top-3 p-1 justify-self-start hover:brightness-105 hover:scale-110 duration-100 ring-1 ring-muted transition bg-secondary-500 hover:text-primary-text focus:outline-none rounded-full items-center",
className
)}
{...props}
Expand Down

0 comments on commit f95d142

Please sign in to comment.