Skip to content

Commit b6bd0c8

Browse files
TheGigaBobDotCom
authored andcommitted
fix: change Colour.embed_background() colors to correspond to new colors (#1931)
1 parent 2297a66 commit b6bd0c8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

discord/colour.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,8 @@ def embed_background(cls: type[CT], theme: str = "dark") -> CT:
338338
"""A factory method that returns a :class:`Color` corresponding to the
339339
embed colors on discord clients, with a value of:
340340
341-
- ``0x2F3136`` (dark)
342-
- ``0xf2f3f5`` (light)
341+
- ``0x2B2D31`` (dark)
342+
- ``0xEEEFF1`` (light)
343343
- ``0x000000`` (amoled).
344344
345345
.. versionadded:: 2.0
@@ -350,8 +350,8 @@ def embed_background(cls: type[CT], theme: str = "dark") -> CT:
350350
The theme color to apply, must be one of "dark", "light", or "amoled".
351351
"""
352352
themes_cls = {
353-
"dark": 0x2F3136,
354-
"light": 0xF2F3F5,
353+
"dark": 0x2B2D31,
354+
"light": 0xEEEFF1,
355355
"amoled": 0x000000,
356356
}
357357

0 commit comments

Comments
 (0)