From 01d6525861ac6106486be1995ad4a3fc1dfb0259 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Wed, 3 Jan 2018 14:51:35 +0100 Subject: [PATCH] Fixed dark text on dark background --- templates/base.html | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/templates/base.html b/templates/base.html index 4dd1414..21f4f12 100644 --- a/templates/base.html +++ b/templates/base.html @@ -28,14 +28,9 @@ color: {{ theme.CHIP_TEXT }}; } /* label color */ - .input-field label + .input-field .prefix ~ input, .input-field .prefix ~ textarea, .input-field .prefix ~ label, .input-field .prefix ~ .validate ~ label, .input-field .prefix ~ .autocomplete-content { - color: {{ theme.TEXTHEX }}; - } - /* label focus color */ - .input-field input[type=text]:focus + label - { - color: {{ theme.TEXTHEX }}; + color: {{ theme.TEXTHEX }} !important; }