Join Nostr
2025-10-06 14:15:49 UTC
in reply to

Lea Rosema on Nostr: Uh, didn't know about that technique, nice ☺️ I often use "currentColor" as focus ...

Uh, didn't know about that technique, nice ☺️

I often use "currentColor" as focus ring color; this way, the focus ring auto-adapts to the current color and has always enough contrast to the background (because you want to always make sure the content is readable). By default, it has the same color as the content, which can be a bit disadvabtageous to the visibility, but I usually also define a :hover,:focus color which fixes that.