Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
style: use placeholder color for empty value on secret input
Scott Wilsona2d7fb7540f7
diff --git a/frontend/src/components/v2/SecretInput/SecretInput.tsx b/frontend/src/components/v2/SecretInput/SecretInput.tsxindex f1d86335a6..f97083c483 100644--- a/frontend/src/components/v2/SecretInput/SecretInput.tsx+++ b/frontend/src/components/v2/SecretInput/SecretInput.tsx@@ -179,12 +179,7 @@ export const SecretInput = forwardRef<HTMLTextAreaElement, Props>(<div className="relative overflow-hidden"><pre aria-hidden className="pointer-events-none relative z-10 m-0"><code className={`inline-block w-full ${commonClassName}`}>- <span- className={twMerge(- "whitespace-break-spaces",- placeholder && !value && "text-gray-500/50"- )}- >+ <span className={twMerge("whitespace-break-spaces", !value && "text-muted")}>{syntaxHighlight(value,isVisible || (isSecretFocused && !valueAlwaysHidden),