Skip to content

Commit

Permalink
fix(canary-web-components): update webkit autofill colours for date i…
Browse files Browse the repository at this point in the history
…nput dark mode

Update webkit autofill colours for date input dark mode so that it appears correctly after a browser
suggestion

. #2915
  • Loading branch information
GCHQ-Developer-530 authored and GCHQ-Developer-741 committed Jan 8, 2025
1 parent 0220f96 commit 2800ef2
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 2800ef2

Please sign in to comment.