summaryrefslogtreecommitdiff
path: root/cameltris/color.py
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2021-11-15 22:06:43 +0100
committerOlivier Gayot <olivier.gayot@sigexec.com>2021-11-15 22:06:43 +0100
commit8382b7923ddc57b80409c01e212fe716c9d22357 (patch)
tree58283992842d907a44ad56cb4b6dfc9b950bd9b8 /cameltris/color.py
parentf4049ca3bbd79c2c6568e519cde92836cc79769a (diff)
Change enum constants to uppercase
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'cameltris/color.py')
-rw-r--r--cameltris/color.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/cameltris/color.py b/cameltris/color.py
index 3fc2f9d..ac3e660 100644
--- a/cameltris/color.py
+++ b/cameltris/color.py
@@ -2,12 +2,12 @@ from enum import Enum
class Color(Enum):
- black = (0, 0, 0)
- white = (0xff, 0xff, 0xff)
- brown = (163, 75, 31)
- blue = (30, 34, 164)
- green = (30, 164, 59)
- red = (164, 30, 30)
- purple = (126, 30, 164)
- yellow = (164, 164, 30)
- cyan = (30, 164, 150)
+ BLACK = (0, 0, 0)
+ WHITE = (0XFF, 0XFF, 0XFF)
+ BROWN = (163, 75, 31)
+ BLUE = (30, 34, 164)
+ GREEN = (30, 164, 59)
+ RED = (164, 30, 30)
+ PURPLE = (126, 30, 164)
+ YELLOW = (164, 164, 30)
+ CYAN = (30, 164, 150)