fiatjaf / window.nostr.js

drop-in <script> that adds seamless NIP-46 support to apps that rely on window.nostr
https://git.njump.me/wnj
19 stars 1 forks source link

poor contrast in window "login" box #5

Open alltheseas opened 3 months ago

alltheseas commented 3 months ago

I cannot see what I am typing, as dark grey text is displayed in a black BG box.

Screenshot 2024-06-10 at 8 43 24 AM

Not sure if this is a keypub, or a window issue.

cc @staab @dtonon

dtonon commented 3 months ago

The problem seems related to how keypub manage the dark mode, this is the css that overwrite wnj's ones causing the issue:

.text-neutral-800 {
    --tw-text-opacity: 1;
    color: rgb(38 38 38 / var(--tw-text-opacity));
}

Probably we could "protect" the styles, I need to think about this.

alltheseas commented 3 months ago

Probably we could "protect" the styles, I need to think about this.

Please, consider keeping it easy on my poor eyes. Keep contrast at maximum.

Light mode: white background, black text Dark mode: black background, white text