Skip to content

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

style: override auto-fill styling on input

Scott Wilsonbcd1a93c4c49
diff --git a/frontend/src/index.css b/frontend/src/index.css
index 1e284ee108..2c48c7c63c 100644
--- a/frontend/src/index.css
+++ b/frontend/src/index.css
@@ -23,6 +23,17 @@
html {
@apply overflow-hidden;
}
+
+ /* Override browser/password-manager autofill styling for dark theme */
+ input:-webkit-autofill,
+ input:-webkit-autofill:hover,
+ input:-webkit-autofill:focus,
+ input:-webkit-autofill:active {
+ -webkit-background-clip: text !important;
+ -webkit-text-fill-color: var(--color-foreground) !important;
+ caret-color: var(--color-foreground);
+ transition: background-color 5000s ease-in-out 0s;
+ }
}
:root {