Skip to content

Add new Discord ui colors #10151

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2br-2b opened this issue Mar 25, 2025 · 4 comments
Open

Add new Discord ui colors #10151

2br-2b opened this issue Mar 25, 2025 · 4 comments
Labels
feature request This is a feature request.

Comments

@2br-2b
Copy link
Contributor

2br-2b commented Mar 25, 2025

Summary

Add new Discord ui colors

What is the feature request for?

The core library

The Problem

Discord just revamped their UI (again). With this comes a few new background colors:

https://discord.com/blog/player-release-q12025

Image

These should be added to colour.py.

I don't have time to look at it now, but if I have the chance I'll grab the colors and add them to the list

The Ideal Solution

Add the colors to colour.py

The Current Solution

No response

Additional Context

No response

@2br-2b 2br-2b added the feature request This is a feature request. label Mar 25, 2025
@2br-2b
Copy link
Contributor Author

2br-2b commented Mar 25, 2025

I would recommend that the colors be called ui_light, ui_ash, ui_dark, and ui_onyx?

@rrbailey89
Copy link

can someone tell me please how this affects a bot? Im not being sarcastic or trying to be rude, just trying to understand.

@AbstractUmbra
Copy link
Contributor

can someone tell me please how this affects a bot? Im not being sarcastic or trying to be rude, just trying to understand.

Discord.py has historically kept classmethods on discord.Color/Colour that refer to Discord branding colours, think of the default role colours, etc.
Lately this also includes a wider array of them.

This PR would simply add the dominant background colour of the new themes. It's just shortcut methods to access those colours for things like embeds.

@LeoCx1000
Copy link
Contributor

LeoCx1000 commented May 2, 2025

@rrbailey89 this wouldn't affect a bot, this issue is just asking for new colour constants to be added to the discord.Colour class, so they can be used to colour the border of an embed, or anything else using this class.

See #10152 for an implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request This is a feature request.
Projects
None yet
Development

No branches or pull requests

5 participants
@rrbailey89 @LeoCx1000 @AbstractUmbra @2br-2b and others