Skip to content

Document role gradient colors#7549

Merged
anthonydiscord merged 13 commits into
discord:mainfrom
DA-344:role-gradient-colors
Jun 26, 2025
Merged

Document role gradient colors#7549
anthonydiscord merged 13 commits into
discord:mainfrom
DA-344:role-gradient-colors

Conversation

@DA-344

@DA-344 DA-344 commented May 9, 2025

Copy link
Copy Markdown
Contributor

Adds documentation for the role's gradient colors

@DA-344
DA-344 requested a review from a team as a code owner May 9, 2025 14:52
@DA-344
DA-344 requested review from anthonydiscord and removed request for a team May 9, 2025 14:52
Comment thread docs/topics/permissions.md Outdated
Co-authored-by: Suspense <[email protected]>
@Lulalaby

Lulalaby commented May 9, 2025

Copy link
Copy Markdown
Contributor

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

@advaith1

Copy link
Copy Markdown
Contributor

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

@anthonydiscord anthonydiscord added the not released This issue or PR is referencing a change that is not yet widely released and/or subject to change. label May 19, 2025
@DA-344

DA-344 commented May 27, 2025

Copy link
Copy Markdown
Contributor Author

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

@advaith1

Copy link
Copy Markdown
Contributor

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

@anthonydiscord anthonydiscord removed the not released This issue or PR is referencing a change that is not yet widely released and/or subject to change. label Jun 24, 2025
Comment thread docs/topics/permissions.md Outdated
Comment thread docs/topics/permissions.md Outdated
Comment thread docs/topics/permissions.md Outdated
Comment thread docs/resources/guild.mdx Outdated
Comment thread docs/topics/permissions.md Outdated
@DA-344
DA-344 requested a review from anthonydiscord June 25, 2025 07:35

@anthonydiscord anthonydiscord left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just noticed one more spot for changes and then this looks good to me! Thanks again for taking the time to do this

Comment thread docs/resources/guild.mdx Outdated
Comment thread docs/resources/guild.mdx Outdated
Co-authored-by: Anthony <[email protected]>
@anthonydiscord

Copy link
Copy Markdown
Contributor

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

@DA-344

DA-344 commented Jun 26, 2025

Copy link
Copy Markdown
Contributor Author

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

@anthonydiscord

Copy link
Copy Markdown
Contributor

Amazing!! Thanks again for the in depth contribution!

@anthonydiscord
anthonydiscord merged commit be4846c into discord:main Jun 26, 2025
4 checks passed
Snazzah added a commit to Snazzah/slash-create that referenced this pull request Jun 27, 2025
mazylol pushed a commit to mazylol/discord-api-docs that referenced this pull request Jul 3, 2025
* feat: document role gradient colors

* object

* comma

* features and more clear docs

* tables

* typo on permissions.md

Co-authored-by: Suspense <[email protected]>

* add note about holographic style

* Reword info block on RoleColors

Co-authored-by: Anthony <[email protected]>

* 's

Co-authored-by: Anthony <[email protected]>

* Update based on the review

* 's

Co-authored-by: Anthony <[email protected]>

* apply suggestions and fix tables

---------

Co-authored-by: Suspense <[email protected]>
Co-authored-by: Anthony <[email protected]>
xavier-archlinux-tw pushed a commit to xavier-archlinux-tw/discord-api-docs that referenced this pull request Jul 14, 2026
* feat: document role gradient colors

* object

* comma

* features and more clear docs

* tables

* typo on permissions.md

Co-authored-by: Suspense <[email protected]>

* add note about holographic style

* Reword info block on RoleColors

Co-authored-by: Anthony <[email protected]>

* 's

Co-authored-by: Anthony <[email protected]>

* Update based on the review

* 's

Co-authored-by: Anthony <[email protected]>

* apply suggestions and fix tables

---------

Co-authored-by: Suspense <[email protected]>
Co-authored-by: Anthony <[email protected]>
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.

5 participants