from PIL import ImageColor from enum import IntEnum # Global Color Pallet COLOR_BACKGROUND = tuple([e/255 for e in ImageColor.getcolor("#29132E","RGBA")]) COLOR_1 = tuple([e/255 for e in ImageColor.getcolor("#321450","RGBA")]) COLOR_2 = tuple([e/255 for e in ImageColor.getcolor("#860029","RGBA")]) COLOR_3 = tuple([e/255 for e in ImageColor.getcolor("#DE004E","RGBA")]) COLOR_TEXT = tuple([e/255 for e in ImageColor.getcolor("#F887FF","RGBA")]) COLOR_TEXT_PASSED = tuple([e/255 for e in ImageColor.getcolor("#1AFE49","RGBA")]) COLOR_TEXT_FAILED = tuple([e/255 for e in ImageColor.getcolor("#FF124F","RGBA")]) class LayoutOptions(IntEnum): EDITOR = 1 GRAPHER = 2