Merge pull request #3956 from Nayrode/master
Some checks are pending
Node.js CI / build (push) Waiting to run

Fix autofill styling inconsistency in dark theme
This commit is contained in:
Mike Cao 2026-01-14 21:34:52 -08:00 committed by GitHub
commit a270b0afea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -41,3 +41,18 @@ a:hover {
border: 4px solid rgba(0, 0, 0, 0);
background-clip: padding-box;
}
/* Fix autofill background color to match dark theme */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
-webkit-box-shadow: 0 0 0 1000px var(--background-color) inset !important;
transition: color 5000s ease-in-out 0s;
}