From fa960c1437a737f73e7b3cf8418c5d21276ef495 Mon Sep 17 00:00:00 2001 From: DigiDuncan Date: Sun, 27 Oct 2024 21:20:25 -0400 Subject: [PATCH] Add Arcade theme colors to arcade.color (#2438) * add some colors * fix test --- arcade/color/__init__.py | 3 +++ tests/unit/color/test_module_color.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/arcade/color/__init__.py b/arcade/color/__init__.py index 90f3ff455..23ebf27dc 100644 --- a/arcade/color/__init__.py +++ b/arcade/color/__init__.py @@ -35,6 +35,8 @@ APRICOT = Color(251, 206, 177, 255) AQUA = Color(0, 255, 255, 255) AQUAMARINE = Color(127, 255, 212, 255) +ARCADE_GREEN = Color(39, 160, 92, 255) +ARCADE_YELLOW = Color(250, 242, 142, 255) ARMY_GREEN = Color(75, 83, 32, 255) ARSENIC = Color(59, 68, 75, 255) ARTICHOKE = Color(143, 151, 121, 255) @@ -175,6 +177,7 @@ CHAMOISEE = Color(160, 120, 90, 255) CHAMPAGNE = Color(247, 231, 206, 255) CHARCOAL = Color(54, 69, 79, 255) +CHARM_GREEN = Color(149, 223, 170, 255) CHARLESTON_GREEN = Color(35, 43, 43, 255) CHARM_PINK = Color(230, 143, 172, 255) CHARTREUSE = Color(127, 255, 0, 255) diff --git a/tests/unit/color/test_module_color.py b/tests/unit/color/test_module_color.py index 7095819e8..16c221d22 100644 --- a/tests/unit/color/test_module_color.py +++ b/tests/unit/color/test_module_color.py @@ -3,4 +3,4 @@ def test_colors(): from arcade import color names = color.__dict__.keys() # number of colors + 1 real import + 1 annotations - assert 1013 + 1 + 1 == len(names) + assert 1016 + 1 + 1 == len(names)