File tree 1 file changed +9
-4
lines changed 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -872,12 +872,17 @@ img.ui.avatar,
872
872
border-color : var (--color-error-border ) !important ;
873
873
}
874
874
875
- /* A fix for text visibility issue in Chrome autofill in dark mode. */
876
- /* It's a problem from Formatic UI, and this rule overrides it. */
877
- .ui .form .field .field input : -webkit-autofill {
878
- -webkit-text-fill-color : var (--color-black ) !important ;
875
+ .ui .form .field .field input : -webkit-autofill ,
876
+ .ui .form .field .field input : -webkit-autofill : focus ,
877
+ .ui .form .field .field input : -webkit-autofill : hover ,
878
+ .ui .form .field .field input : -webkit-autofill : active {
879
+ -webkit-background-clip : text !important ;
880
+ -webkit-text-fill-color : var (--color-autofill-text ) !important ;
881
+ box-shadow : 0 0 0 100px var (--color-primary-light-6 ) inset !important ;
882
+ border-color : var (--color-primary-light-4 ) !important ;
879
883
}
880
884
885
+
881
886
.ui .form .field .muted {
882
887
opacity : var (--opacity-disabled );
883
888
}
You can’t perform that action at this time.
0 commit comments