From 749141c10e344692d530c601ff934273e82f4380 Mon Sep 17 00:00:00 2001 From: lyswhut Date: Sun, 19 Jan 2020 18:05:16 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E9=85=8D=E8=BE=93=E5=85=A5=E6=A1=86?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E6=96=87=E6=9C=AC=E9=A2=9C=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/assets/styles/index.less | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/renderer/assets/styles/index.less b/src/renderer/assets/styles/index.less index b3b1ff64..febfbdd8 100644 --- a/src/renderer/assets/styles/index.less +++ b/src/renderer/assets/styles/index.less @@ -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}';