From 57a4a7d0e4d6170695765abf5b03777503437f58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Thu, 10 Oct 2019 15:54:10 +0200 Subject: [PATCH] Increase contast between text and placeholder in input fields MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- core/css/inputs.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/core/css/inputs.scss b/core/css/inputs.scss index 6daefccdeee..375a5cdc360 100644 --- a/core/css/inputs.scss +++ b/core/css/inputs.scss @@ -52,7 +52,7 @@ div[contenteditable=true], padding: 7px 6px; font-size: 13px; background-color: var(--color-main-background); - color: var(--color-text-lighter); + color: var(--color-main-text); border: 1px solid var(--color-border-dark); outline: none; border-radius: var(--border-radius); @@ -934,3 +934,9 @@ label.infield { height: 1px; overflow: hidden; } + +::placeholder, +::-ms-input-placeholder, +::-webkit-input-placeholder { + color: var(--color-text-maxcontrast); +}