-
Notifications
You must be signed in to change notification settings - Fork 3.9k
fix: input fields bg #8389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: input fields bg #8389
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -37,9 +37,9 @@ const TextArea = React.forwardRef(function TextArea( | |||||
| ref={textAreaRef} | ||||||
| value={value} | ||||||
| className={cn( | ||||||
| "no-scrollbar w-full bg-transparent placeholder-(--text-color-placeholder) outline-none", | ||||||
| "no-scrollbar w-full bg-layer-2 placeholder-(--text-color-placeholder) outline-none", | ||||||
| { | ||||||
| "rounded-md border-[0.5px] border-subtle": mode === "primary", | ||||||
| "rounded-md border-[0.5px] border-subtle-1": mode === "primary", | ||||||
|
||||||
| "rounded-md border-[0.5px] border-subtle-1": mode === "primary", | |
| "rounded-md border-[0.5px] border-subtle": mode === "primary", |
Copilot
AI
Dec 18, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The background color change from bg-transparent to bg-layer-2 on line 40 conflicts with this mode. When mode is "transparent", the bg-transparent class on line 43 will override the bg-layer-2 class from line 40, which may not be the intended behavior. Consider whether the transparent mode should also use bg-layer-2 or if line 40 should conditionally apply bg-layer-2 only for non-transparent modes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The background color change from bg-layer-transparent to bg-layer-2 on line 33 conflicts with this mode. When mode is "transparent", the bg-transparent class on line 36 will override the bg-layer-2 class from line 33, which may not be the intended behavior. Consider whether the transparent mode should also use bg-layer-2 or if line 33 should conditionally apply bg-layer-2 only for non-transparent modes.