Fixed: Autocompleted input colors

This commit is contained in:
Sercan Yemen 2023-11-20 09:27:11 +03:00
parent e64ad63f8a
commit c05f572e28

View File

@ -19,20 +19,22 @@ textarea {
@apply text-hint; @apply text-hint;
} }
&:-webkit-autofill { /* Autofill color fix */
transition: background-color 600000s 0s, color 600000s 0s !important; &:-webkit-autofill,
} &:-webkit-autofill:hover,
&:-webkit-autofill:focus,
&:-webkit-autofill:hover {
transition: background-color 600000s 0s, color 600000s 0s !important;
}
&:-webkit-autofill:focus {
transition: background-color 600000s 0s, color 600000s 0s !important;
}
&:-webkit-autofill:active { &:-webkit-autofill:active {
transition: background-color 600000s 0s, color 600000s 0s !important; -webkit-background-clip: text;
transition: background-color 5000s !important;
}
.dark & {
&:-webkit-autofill,
&:-webkit-autofill:hover,
&:-webkit-autofill:focus,
&:-webkit-autofill:active {
-webkit-text-fill-color: rgba(255, 255, 255, 0.87);
}
} }
[data-autocompleted] { [data-autocompleted] {