21
21
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22
22
DEALINGS IN THE SOFTWARE.
23
23
"""
24
+
24
25
from __future__ import annotations
25
26
26
27
import colorsys
@@ -457,20 +458,59 @@ def greyple(cls) -> Self:
457
458
"""
458
459
return cls (0x99AAB5 )
459
460
461
+ @classmethod
462
+ def ash_theme (cls ) -> Self :
463
+ """A factory method that returns a :class:`Colour` with a value of ``0x2E2E34``.
464
+
465
+ This will appear transparent on Discord's ash theme.
466
+
467
+ .. colour:: #2E2E34
468
+
469
+ .. versionadded:: 2.6
470
+ """
471
+ return cls (0x2E2E34 )
472
+
460
473
@classmethod
461
474
def dark_theme (cls ) -> Self :
462
- """A factory method that returns a :class:`Colour` with a value of ``0x313338 ``.
475
+ """A factory method that returns a :class:`Colour` with a value of ``0x1A1A1E ``.
463
476
464
477
This will appear transparent on Discord's dark theme.
465
478
466
- .. colour:: #313338
479
+ .. colour:: #1A1A1E
467
480
468
481
.. versionadded:: 1.5
469
482
470
483
.. versionchanged:: 2.2
471
484
Updated colour from previous ``0x36393F`` to reflect discord theme changes.
485
+
486
+ .. versionchanged:: 2.6
487
+ Updated colour from previous ``0x313338`` to reflect discord theme changes.
472
488
"""
473
- return cls (0x313338 )
489
+ return cls (0x1A1A1E )
490
+
491
+ @classmethod
492
+ def onyx_theme (cls ) -> Self :
493
+ """A factory method that returns a :class:`Colour` with a value of ``0x070709``.
494
+
495
+ This will appear transparent on Discord's onyx theme.
496
+
497
+ .. colour:: #070709
498
+
499
+ .. versionadded:: 2.6
500
+ """
501
+ return cls (0x070709 )
502
+
503
+ @classmethod
504
+ def light_theme (cls ) -> Self :
505
+ """A factory method that returns a :class:`Colour` with a value of ``0xFBFBFB``.
506
+
507
+ This will appear transparent on Discord's light theme.
508
+
509
+ .. colour:: #FBFBFB
510
+
511
+ .. versionadded:: 2.6
512
+ """
513
+ return cls (0xFBFBFB )
474
514
475
515
@classmethod
476
516
def fuchsia (cls ) -> Self :
@@ -492,25 +532,52 @@ def yellow(cls) -> Self:
492
532
"""
493
533
return cls (0xFEE75C )
494
534
535
+ @classmethod
536
+ def ash_embed (cls ) -> Self :
537
+ """A factory method that returns a :class:`Colour` with a value of ``0x37373E``.
538
+
539
+ .. colour:: #37373E
540
+
541
+ .. versionadded:: 2.6
542
+
543
+ """
544
+ return cls (0x37373E )
545
+
495
546
@classmethod
496
547
def dark_embed (cls ) -> Self :
497
- """A factory method that returns a :class:`Colour` with a value of ``0x2B2D31 ``.
548
+ """A factory method that returns a :class:`Colour` with a value of ``0x242429 ``.
498
549
499
- .. colour:: #2B2D31
550
+ .. colour:: #242429
500
551
501
552
.. versionadded:: 2.2
553
+
554
+ .. versionchanged:: 2.6
555
+ Updated colour from previous ``0x2B2D31`` to reflect discord theme changes.
556
+ """
557
+ return cls (0x242429 )
558
+
559
+ @classmethod
560
+ def onyx_embed (cls ) -> Self :
561
+ """A factory method that returns a :class:`Colour` with a value of ``0x131416``.
562
+
563
+ .. colour:: #131416
564
+
565
+ .. versionadded:: 2.6
502
566
"""
503
- return cls (0x2B2D31 )
567
+ return cls (0x131416 )
504
568
505
569
@classmethod
506
570
def light_embed (cls ) -> Self :
507
- """A factory method that returns a :class:`Colour` with a value of ``0xEEEFF1 ``.
571
+ """A factory method that returns a :class:`Colour` with a value of ``0xFFFFFF ``.
508
572
509
573
.. colour:: #EEEFF1
510
574
511
575
.. versionadded:: 2.2
576
+
577
+ .. versionchanged:: 2.6
578
+ Updated colour from previous ``0xEEEFF1`` to reflect discord theme changes.
512
579
"""
513
- return cls (0xEEEFF1 )
580
+ return cls (0xFFFFFF )
514
581
515
582
@classmethod
516
583
def pink (cls ) -> Self :
0 commit comments