I realized we can calculate the colors because know the background colors for adwaita, so we just need to check light/dark and go from there.
But i saw something about some new algorithm and when I was looking I was having issues parsing the math and couldn’t find the links we were looking at previously for this.
I don’t suppose anyone remembers what they were or is able to find them again?
The new code definitely looks better to my eyes. There are several names that are unreadable in at least one of the two windows for the current code, but they’re all readable in the new code.
Cool! As I mentioned on discord and alluded to above, this is based on XEP-0392 so these colors should match other XMPP clients that implement this XEP and potentially other clients too.