Update search placeholder to Compound Design Token for placeholder text (#28427)

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2024-11-14 10:19:39 +00:00 committed by GitHub
parent 4f7c61ff68
commit 346b45751c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View file

@ -109,6 +109,10 @@ Please see LICENSE files in the repository root for full details.
border: none; border: none;
padding: 8px 12px; padding: 8px 12px;
border-radius: 4px 0; border-radius: 4px 0;
&::placeholder {
color: var(--cpd-color-text-placeholder);
}
} }
button { button {

View file

@ -155,7 +155,7 @@ Please see LICENSE files in the repository root for full details.
display: inline-block; display: inline-block;
pointer-events: none; pointer-events: none;
white-space: nowrap; white-space: nowrap;
color: $tertiary-content; color: var(--cpd-color-text-placeholder);
} }
} }