Skip to content

Commit

Permalink
style(kselect): update placeholder color
Browse files Browse the repository at this point in the history
  • Loading branch information
aanchalm01 committed Jul 21, 2022
1 parent 7842cee commit 6b1b708
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/KSelect/KSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
:label="label && overlayLabel ? label : null"
:overlay-label="overlayLabel"
:placeholder="selectedItem && appearance === 'select' ? selectedItem.label : placeholderText"
:class="{ 'cursor-default prevent-pointer-events': !filterIsEnabled }"
:class="{ 'cursor-default prevent-pointer-events': !filterIsEnabled ,'input-placeholder-dark': appearance === 'select'}"
class="k-select-input"
@keypress="onInputKeypress"
@keyup="!$attrs.disabled ? triggerFocus(isToggled) : null"
Expand Down Expand Up @@ -479,6 +479,10 @@ export default {
}
}
.input-placeholder-dark input::placeholder {
color: var(--KInputColor, var(--black-70, rgba(0, 0, 0, 0.7))) !important;
}
input.k-input {
padding: var(--spacing-xs);
height: 44px;
Expand Down

0 comments on commit 6b1b708

Please sign in to comment.