Skip to content

NIP-84: add highlight colors#2197

Open
ChristianChiarulli wants to merge 1 commit intonostr-protocol:masterfrom
ChristianChiarulli:colored-highlights
Open

NIP-84: add highlight colors#2197
ChristianChiarulli wants to merge 1 commit intonostr-protocol:masterfrom
ChristianChiarulli:colored-highlights

Conversation

@ChristianChiarulli
Copy link
Contributor

No description provided.

@vitorpamplona
Copy link
Collaborator

Not against this, but why would a highlight writer set up the color that the reader should see?

Also no "additional color formats". Let's just pick one and stick with it so we don't need to code lots of decoders.

@ChristianChiarulli
Copy link
Contributor Author

i think most clients will ignore it but if you wanted a more personal client where the user only sees their own highlights it could be useful.

we can probably just go with hex, if you agree i'll update the nip to just use that.

@pablof7z
Copy link
Member

yeah, either don't do it or just leave it as a single format, hex might make sense, or perhaps hsl would be better since its marginally better to compute a color that works in light/dark mode settings

@staab
Copy link
Member

staab commented Feb 10, 2026

I think just hue would probably be best. Then clients can adjust the saturation and lightness to fit their theme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants