Skip to content

Commit 398930b

Browse files
committed
feat(Select): add --vs-input-placeholder-color CSS variable
1 parent 7dd108d commit 398930b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Select.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,8 @@ onBeforeUnmount(() => {
443443
:root {
444444
--vs-input-bg: #fff;
445445
--vs-input-outline: #3b82f6;
446+
--vs-input-placeholder-color: #52525b;
447+
446448
--vs-padding: 0.25rem 0.5rem;
447449
--vs-border: 1px solid #e4e4e7;
448450
--vs-border-radius: 4px;
@@ -592,6 +594,10 @@ onBeforeUnmount(() => {
592594
color: var(--vs-text-color);
593595
outline: none;
594596
z-index: 1;
597+
598+
&::placeholder {
599+
color: var(--vs-input-placeholder-color);
600+
}
595601
}
596602
597603
.indicators-container {

0 commit comments

Comments
 (0)