fixed dark-theme password input style. fixes #1504

Co-authored-by: timvisee <tim@visee.me>
This commit is contained in:
Danny Coates 2020-07-31 08:49:24 -07:00 committed by timvisee
parent 3631bc8f39
commit 239fba452a
No known key found for this signature in database
GPG Key ID: B8DB720BC383E172
1 changed files with 7 additions and 2 deletions

View File

@ -69,8 +69,13 @@ module.exports = function(state, emit) {
const input = document.getElementById('password-input'); const input = document.getElementById('password-input');
const btn = document.getElementById('password-btn'); const btn = document.getElementById('password-btn');
label.classList.add('invisible'); label.classList.add('invisible');
input.classList.remove('border-red'); input.classList.remove('border-red', 'dark:border-red-40');
btn.classList.remove('bg-red', 'hover:bg-red', 'focus:bg-red'); btn.classList.remove(
'bg-red',
'hover:bg-red',
'focus:bg-red',
'dark:bg-red-40'
);
} }
function checkPassword(event) { function checkPassword(event) {