Skip to content

Autofilled inputs in Chrome are bright #502

@aaronshekey

Description

@aaronshekey

Autofill suggestions are using a bright background at least in Chrome:

StackOverflow Dark usercss style solved this issue via an animation hack:

@-webkit-keyframes autofill {
  to {
    background-color: #111;
    background-image: none;
    color: #ddd;
  }
}
input:-webkit-autofill, input:-webkit-autofill:hover,
input:-webkit-autofill:focus, textarea:-webkit-autofill,
textarea:-webkit-autofill:hover, textarea:-webkit-autofill:focus,
select:-webkit-autofill, select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-animation-name: autofill !important;
  -webkit-animation-fill-mode: both !important;
}

Metadata

Metadata

Assignees

Labels

dark-modeA problem that only appears in dark mode

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions