Fix vault dialog autofill: prevent browser password manager from overriding dark theme colors

This commit is contained in:
Ryan Moon
2026-03-30 07:18:58 -05:00
parent 1510133074
commit 4438188362
2 changed files with 15 additions and 6 deletions

View File

@@ -88,3 +88,12 @@ body {
border-color: #2a3a52 !important;
transition: background-color 5000s ease-in-out 0s;
}
/* Prevent browser autofill from overriding dark theme input colors */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
-webkit-box-shadow: 0 0 0 1000px hsl(var(--background)) inset !important;
-webkit-text-fill-color: hsl(var(--foreground)) !important;
transition: background-color 5000s ease-in-out 0s;
}