aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/colour.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/discord/colour.py b/discord/colour.py
index ccaa7e05..c26602e2 100644
--- a/discord/colour.py
+++ b/discord/colour.py
@@ -235,4 +235,13 @@ class Colour:
"""A factory method that returns a :class:`Colour` with a value of ``0x99aab5``."""
return cls(0x99aab5)
+ @classmethod
+ def dark_theme(cls):
+ """A factory method that returns a :class:'Colour' with a value of ``0x36393F``.
+ Will appear transparent on Discord's dark theme and be the text colour on Discord's light theme.
+
+ .. versionadded:: 1.5
+ """
+ return cls(0x36393F)
+
Color = Colour