Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix(frontend): use text-muted for v3 textarea and command placeholders (#7962)

claude[bot]f53538bdd55b
diff --git a/frontend/src/components/v3/generic/Command/Command.tsx b/frontend/src/components/v3/generic/Command/Command.tsx
index b6cea4127e..4ac038d6be 100644
--- a/frontend/src/components/v3/generic/Command/Command.tsx
+++ b/frontend/src/components/v3/generic/Command/Command.tsx
@@ -72,7 +72,7 @@ function CommandInput({
<CommandPrimitive.Input
data-slot="command-input"
className={cn(
- "placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",
+ "flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden placeholder:text-muted disabled:cursor-not-allowed disabled:opacity-50",
className
)}
{...props}
diff --git a/frontend/src/components/v3/generic/TextArea/TextArea.tsx b/frontend/src/components/v3/generic/TextArea/TextArea.tsx
index fe07c68729..c079248f4d 100644
--- a/frontend/src/components/v3/generic/TextArea/TextArea.tsx
+++ b/frontend/src/components/v3/generic/TextArea/TextArea.tsx
@@ -4,7 +4,7 @@ import { cva, type VariantProps } from "cva";
import { cn } from "../../utils";
const textAreaVariants = cva(
- "placeholder:text-muted-foreground flex min-h-16 thin-scrollbar w-full rounded-md border border-border bg-transparent px-2.5 py-2 text-sm text-foreground shadow-xs disabled:cursor-not-allowed disabled:opacity-50",
+ "placeholder:text-muted flex min-h-16 thin-scrollbar w-full rounded-md border border-border bg-transparent px-2.5 py-2 text-sm text-foreground shadow-xs disabled:cursor-not-allowed disabled:opacity-50",
{
variants: {
variant: {