diff --git a/palette b/palette index b0cbc51..7dee7fb 100755 Binary files a/palette and b/palette differ diff --git a/web/static/app.css b/web/static/app.css index 1478e23..ad67cd0 100644 --- a/web/static/app.css +++ b/web/static/app.css @@ -241,6 +241,8 @@ td a.slug:hover { color: var(--accent); } flex-shrink: 0; } .pw-field .reveal:hover { color: var(--fg); } +.pw-field .reveal .eye-slash { display: none; } +.pw-field .reveal.off .eye-slash { display: block; } .pw-field svg { width: 20px; height: 20px; display: block; } /* custom URL input (#22) */ diff --git a/web/templates/new.html b/web/templates/new.html index 70692d3..78dfa9c 100644 --- a/web/templates/new.html +++ b/web/templates/new.html @@ -42,7 +42,7 @@

Protection

- +
@@ -84,6 +84,7 @@ $('pwreveal').addEventListener('click', () => { const pw = $('password'); const show = pw.type === 'password'; pw.type = show ? 'text' : 'password'; + $('pwreveal').classList.toggle('off', !show); $('pwreveal').title = show ? 'Hide password' : 'Show password'; });