discord-api-docs icon indicating copy to clipboard operation
discord-api-docs copied to clipboard

Document role gradient colors

Open DA-344 opened this issue 7 months ago • 3 comments

Adds documentation for the role's gradient colors

DA-344 avatar May 09 '25 14:05 DA-344

I might be wrong here, but it seems like the holographic style needs the following config: primary (11127295), secondary (16759788), tertiary (16761760) And tertiary can't be set for normal gradients.

I haven't tested around enough, but that was my impression

Lulalaby avatar May 09 '25 23:05 Lulalaby

I assumed that was a client only restriction, is it enforced server side?

advaith1 avatar May 10 '25 00:05 advaith1

I might be wrong here, but it seems like the holographic style needs the following config: primary (11127295), secondary (16759788), tertiary (16761760) And tertiary can't be set for normal gradients.

I haven't tested around enough, but that was my impression

I also haven't tested enough with the holographic style, but afaik the restriction was only enforced on client side - similar to how channel cooldowns used to be in it

DA-344 avatar May 27 '25 16:05 DA-344

turns out the holographic role colors are validated. this needs to be documented

advaith1 avatar Jun 24 '25 02:06 advaith1

Make sure to run npm run test:links to figure out which links aren't formatted properly and then npm run fix:tables when you're done to auto format the tables

anthonydiscord avatar Jun 25 '25 22:06 anthonydiscord

Make sure to run npm run test:links to figure out which links aren't formatted properly and then npm run fix:tables when you're done to auto format the tables

Done

DA-344 avatar Jun 26 '25 07:06 DA-344

Amazing!! Thanks again for the in depth contribution!

anthonydiscord avatar Jun 26 '25 15:06 anthonydiscord