From d9ab60104e17c025a2cffe4bfb5e4a9c8a4e2310 Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com> Date: Wed, 17 Dec 2025 21:23:28 +0530 Subject: [PATCH] [WEB-5742] fix: input field background #8369 --- apps/web/core/components/pages/modals/page-form.tsx | 4 ++-- packages/propel/src/scrollarea/scrollarea.tsx | 5 ++--- packages/ui/src/form-fields/input.tsx | 2 +- packages/ui/src/form-fields/password/password-input.tsx | 2 +- packages/ui/src/scroll-area.tsx | 4 ++-- 5 files changed, 8 insertions(+), 9 deletions(-) diff --git a/apps/web/core/components/pages/modals/page-form.tsx b/apps/web/core/components/pages/modals/page-form.tsx index 2a98f671c1..169a5cb302 100644 --- a/apps/web/core/components/pages/modals/page-form.tsx +++ b/apps/web/core/components/pages/modals/page-form.tsx @@ -67,9 +67,9 @@ export function PageForm(props: Props) { isOpen={isOpen} handleToggle={(val: boolean) => setIsOpen(val)} className="flex items-center justify-center flex-shrink0" - buttonClassName="flex items-center justify-center" + buttonClassName="flex items-center justify-center bg-layer-2 hover:bg-layer-2-hover rounded-md" label={ - + <> {formData?.logo_props?.in_use ? ( diff --git a/packages/propel/src/scrollarea/scrollarea.tsx b/packages/propel/src/scrollarea/scrollarea.tsx index 6dcfe81644..d942794a99 100644 --- a/packages/propel/src/scrollarea/scrollarea.tsx +++ b/packages/propel/src/scrollarea/scrollarea.tsx @@ -80,8 +80,7 @@ const ScrollBar = React.memo(function ScrollBar({ orientation === "vertical" && verticalSizeStyles[size], orientation === "horizontal" && horizontalSizeStyles[size], scrollType === "always" && "opacity-100", - scrollType === "scroll" && - "data-[scrolling]:opacity-100 data-[scrolling]:delay-0 data-[scrolling]:duration-75", + scrollType === "scroll" && "data-[scrolling]:opacity-100 data-[scrolling]:delay-0 data-[scrolling]:duration-75", scrollType === "hover" && "data-[hovering]:opacity-100 data-[hovering]:delay-0 data-[hovering]:duration-75", className )} @@ -90,7 +89,7 @@ const ScrollBar = React.memo(function ScrollBar({ diff --git a/packages/ui/src/form-fields/input.tsx b/packages/ui/src/form-fields/input.tsx index cf856a80ef..376803660e 100644 --- a/packages/ui/src/form-fields/input.tsx +++ b/packages/ui/src/form-fields/input.tsx @@ -30,7 +30,7 @@ const Input = React.forwardRef(function Input(props: InputProps, ref: React.Forw type={type} name={name} className={cn( - "block rounded-md bg-layer-1 text-13 placeholder-tertiary border-subtle-1 focus:outline-none", + "block rounded-md bg-layer-transparent text-13 placeholder-tertiary border-subtle-1 focus:outline-none", { "rounded-md border-[0.5px]": mode === "primary", "rounded-sm border-none bg-transparent ring-0 transition-all focus:ring-1 focus:ring-custom-primary": diff --git a/packages/ui/src/form-fields/password/password-input.tsx b/packages/ui/src/form-fields/password/password-input.tsx index 5cba938228..34e99a8af8 100644 --- a/packages/ui/src/form-fields/password/password-input.tsx +++ b/packages/ui/src/form-fields/password/password-input.tsx @@ -31,7 +31,7 @@ export function PasswordInput({ value={value} onChange={(e) => onChange(e.target.value)} className={cn( - "w-full px-3 py-2 pr-10 text-secondary border rounded-md bg-surface-1 focus:outline-none focus:ring-2 focus:ring-custom-primary-100 placeholder:text-placeholder focus:border-transparent transition-all duration-200", + "w-full px-3 py-2 pr-10 text-secondary border rounded-md bg-surface-1 focus:outline-none focus:ring-2 focus:ring-accent-strong placeholder:text-placeholder focus:border-transparent transition-all duration-200", { "border-strong": !error, "border-red-500": error, diff --git a/packages/ui/src/scroll-area.tsx b/packages/ui/src/scroll-area.tsx index 5473d26734..088f54bfba 100644 --- a/packages/ui/src/scroll-area.tsx +++ b/packages/ui/src/scroll-area.tsx @@ -42,7 +42,7 @@ export function ScrollArea(props: TScrollAreaProps) { > @@ -56,7 +56,7 @@ export function ScrollArea(props: TScrollAreaProps) { >