1
Fork 0
mirror of https://github.com/wlinator/luminara.git synced 2024-10-02 18:03:12 +00:00

refactor: Update Theme enum values to use integers instead of strings

This commit is contained in:
wlinator 2024-09-03 06:18:21 -04:00
parent c8dab31b13
commit 6ebefd06d2

View file

@ -7,11 +7,11 @@ from lib.const import CONST
class Theme(Enum): class Theme(Enum):
ERROR = "error" ERROR = 1
SUCCESS = "success" SUCCESS = 2
INFO = "info" INFO = 3
WARNING = "warning" WARNING = 4
DEFAULT = "default" DEFAULT = 5
class Builder: class Builder: