From fbc4107262dca8b4785f834268eb35fcbe64190e Mon Sep 17 00:00:00 2001 From: Danny Coates Date: Fri, 31 Jul 2020 08:49:24 -0700 Subject: [PATCH] fixed dark-theme password input style. fixes #1504 --- app/ui/downloadPassword.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/ui/downloadPassword.js b/app/ui/downloadPassword.js index 387b27b3..86c98fd9 100644 --- a/app/ui/downloadPassword.js +++ b/app/ui/downloadPassword.js @@ -69,8 +69,13 @@ module.exports = function(state, emit) { const input = document.getElementById('password-input'); const btn = document.getElementById('password-btn'); label.classList.add('invisible'); - input.classList.remove('border-red'); - btn.classList.remove('bg-red', 'hover:bg-red', 'focus:bg-red'); + input.classList.remove('border-red', 'dark:border-red-40'); + btn.classList.remove( + 'bg-red', + 'hover:bg-red', + 'focus:bg-red', + 'dark:bg-red-40' + ); } function checkPassword(event) {