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 committed Dec 18, 2024
1 parent ef60f25 commit 0723ff9
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 0723ff9

Please sign in to comment.