From 465c99f742a5c08254dc308325c043105b94c634 Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com> Date: Thu, 18 Dec 2025 20:25:46 +0530 Subject: [PATCH] fix: input fields bg (#8389) --- apps/web/app/error/dev.tsx | 4 ++-- .../core/components/inbox/modals/create-modal/create-root.tsx | 2 +- .../issues/issue-modal/components/description-editor.tsx | 2 +- .../power-k/ui/modal/command-item-shortcut-badge.tsx | 4 ++-- packages/editor/src/core/extensions/code-inline/index.tsx | 2 +- packages/ui/src/form-fields/input.tsx | 2 +- packages/ui/src/form-fields/textarea.tsx | 4 ++-- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/apps/web/app/error/dev.tsx b/apps/web/app/error/dev.tsx index 68a2db27d7..2e87859f43 100644 --- a/apps/web/app/error/dev.tsx +++ b/apps/web/app/error/dev.tsx @@ -55,7 +55,7 @@ export function DevErrorComponent({ error, onGoHome, onReload }: DevErrorCompone

Error Data

-

{error.data}

+

{error.data}

@@ -95,7 +95,7 @@ export function DevErrorComponent({ error, onGoHome, onReload }: DevErrorCompone

Stack Trace

-
+                    
                       {error.stack}
                     
diff --git a/apps/web/core/components/inbox/modals/create-modal/create-root.tsx b/apps/web/core/components/inbox/modals/create-modal/create-root.tsx index 6691cca691..d07606b4ea 100644 --- a/apps/web/core/components/inbox/modals/create-modal/create-root.tsx +++ b/apps/web/core/components/inbox/modals/create-modal/create-root.tsx @@ -234,7 +234,7 @@ export const InboxIssueCreateRoot = observer(function InboxIssueCreateRoot(props data={formData} handleData={handleFormData} editorRef={descriptionEditorRef} - containerClassName="border-[0.5px] border-subtle py-3 min-h-[150px]" + containerClassName="bg-layer-2 border-[0.5px] border-subtle-1 py-3 min-h-[150px]" onEnterKeyPress={() => submitBtnRef?.current?.click()} onAssetUpload={(assetId) => setUploadedAssetIds((prev) => [...prev, assetId])} /> diff --git a/apps/web/core/components/issues/issue-modal/components/description-editor.tsx b/apps/web/core/components/issues/issue-modal/components/description-editor.tsx index ab010a29ae..5373378e8e 100644 --- a/apps/web/core/components/issues/issue-modal/components/description-editor.tsx +++ b/apps/web/core/components/issues/issue-modal/components/description-editor.tsx @@ -148,7 +148,7 @@ export const IssueDescriptionEditor = observer(function IssueDescriptionEditor(p }; return ( -
+
{descriptionHtmlData === undefined || !projectId ? ( diff --git a/apps/web/core/components/power-k/ui/modal/command-item-shortcut-badge.tsx b/apps/web/core/components/power-k/ui/modal/command-item-shortcut-badge.tsx index 36669ceaa8..fb00412539 100644 --- a/apps/web/core/components/power-k/ui/modal/command-item-shortcut-badge.tsx +++ b/apps/web/core/components/power-k/ui/modal/command-item-shortcut-badge.tsx @@ -70,7 +70,7 @@ export function ShortcutBadge({ shortcut }: { shortcut: string | undefined }) {
{formatted?.split("").map((char, index) => ( - + {char.toUpperCase()} @@ -98,7 +98,7 @@ export function KeySequenceBadge({ sequence }: { sequence: string | undefined })
{chars.map((char, index) => ( - + {char.toUpperCase()} {index < chars.length - 1 && then} diff --git a/packages/editor/src/core/extensions/code-inline/index.tsx b/packages/editor/src/core/extensions/code-inline/index.tsx index 58e54a9997..6a5a0d2906 100644 --- a/packages/editor/src/core/extensions/code-inline/index.tsx +++ b/packages/editor/src/core/extensions/code-inline/index.tsx @@ -35,7 +35,7 @@ export const CustomCodeInlineExtension = Mark.create({ return { HTMLAttributes: { class: - "rounded-sm bg-layer-1 px-[6px] py-[1.5px] font-mono font-medium text-orange-500 border-[0.5px] border-subtle", + "rounded-sm bg-layer-2 px-[6px] py-[1.5px] font-code font-medium text-(--extended-color-orange-600) border-[0.5px] border-subtle", spellcheck: "false", }, }; diff --git a/packages/ui/src/form-fields/input.tsx b/packages/ui/src/form-fields/input.tsx index a1bc34137e..a9094977f8 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-transparent text-13 placeholder-tertiary border-subtle-1 focus:outline-none", + "block rounded-md bg-layer-2 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-accent-strong": diff --git a/packages/ui/src/form-fields/textarea.tsx b/packages/ui/src/form-fields/textarea.tsx index 419d2c33fa..5f1b5ed948 100644 --- a/packages/ui/src/form-fields/textarea.tsx +++ b/packages/ui/src/form-fields/textarea.tsx @@ -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", "focus:ring-theme rounded-sm border-none bg-transparent ring-0 transition-all focus:ring-1": mode === "transparent", "rounded-sm border-none bg-transparent ring-0": mode === "true-transparent",