Skip to content

Commit

Permalink
Merge pull request #2917 from mi6/2915-ic-date-input-browser-auto-fil…
Browse files Browse the repository at this point in the history
…led-date-has-incorrect-background-colour-in-dark-mode

fix(canary-web-components): update webkit autofill colours for date input dark mode
  • Loading branch information
GCHQ-Developer-530 authored Dec 18, 2024
2 parents d02c621 + 0723ff9 commit 349e6b2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ input::-webkit-inner-spin-button {
}

input:-webkit-autofill {
box-shadow: 0 0 0 var(--ic-space-sm) var(--ic-architectural-white) inset;
box-shadow: 0 0 0 var(--ic-space-sm) var(--ic-color-background-primary) inset;
-webkit-text-fill-color: var(--ic-date-input-text-filled) !important;
}

input::placeholder {
Expand Down

0 comments on commit 349e6b2

Please sign in to comment.