Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.

Commit bbaa3e7

Browse files
authored
Display WiKit Input placeholder correct color for v2.x release (#626)
* Display WiKit Input placeholder correct color (#624) Bug: T312633 * Emtpy commit for CI
1 parent 9b13bd8 commit bbaa3e7

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

tokens/properties/alias.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,9 @@
380380
"opacity": {
381381
"overlay": {
382382
"value": "{opacity.65.value}"
383+
},
384+
"base": {
385+
"value": "{opacity.100.value}"
383386
}
384387
},
385388
"dimension": {

tokens/properties/components/Input.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@
4545
},
4646
"color": {
4747
"value": "{font.color.subtle.value}"
48+
},
49+
"opacity": {
50+
"value": "{opacity.base.value}"
4851
}
4952
},
5053
"disabled": {

vue-components/src/components/Input.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@ export default Vue.extend( {
7878
outline: none;
7979
}
8080
81+
&::placeholder {
82+
color: $wikit-Input-placeholder-color;
83+
opacity: $wikit-Input-placeholder-opacity;
84+
}
85+
8186
&:not(&--error):not(&--warning) {
8287
&:not(:disabled) {
8388
&:hover {

0 commit comments

Comments
 (0)