Skip to content

Commit ce6e303

Browse files
committed
Fixed Autocomplete style when fields are in dark mode.
1 parent df94a94 commit ce6e303

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

gwt-material/src/main/resources/gwt/material/design/client/resources/css/core-dark.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,4 +588,16 @@ blockquote {
588588

589589
pre {
590590
background: #323232 !important
591+
}
592+
593+
/** Autocomplete **/
594+
input:-webkit-autofill,
595+
input:-webkit-autofill:hover,
596+
input:-webkit-autofill:focus,
597+
textarea:-webkit-autofill,
598+
textarea:-webkit-autofill:hover,
599+
textarea:-webkit-autofill:focus {
600+
-webkit-text-fill-color: white;
601+
-webkit-box-shadow: 0 0 0px 1000px #2f2f2f inset !important;
602+
transition: background-color 5000s ease-in-out 0s;
591603
}

0 commit comments

Comments
 (0)