适配输入框提示文本颜色

pull/166/head
lyswhut 2020-01-19 18:05:16 +08:00
parent e2c7c0596c
commit 749141c10e
1 changed files with 13 additions and 0 deletions

View File

@ -124,6 +124,12 @@ svg {
transition-property: fill;
}
input, textarea {
&::placeholder {
color: @color-theme_2-font-label;
}
}
.hover, a {
cursor: pointer;
transition: color .2s ease;
@ -194,6 +200,13 @@ each(@themes, {
}
}
}
input, textarea {
&::placeholder {
color: ~'@{color-@{value}-theme_2-font-label}';
}
}
.badge {
&.badge-theme-success {
color: ~'@{color-@{value}-badge-success-font}';