Switched to using constants for colors

This commit is contained in:
Pax1601
2024-10-20 17:01:28 +02:00
parent 7fa39561e3
commit 4946807d88
6 changed files with 106 additions and 66 deletions

View File

@@ -367,3 +367,13 @@ export enum AudioMessageType {
audio,
settings,
}
export const CONTEXT_ACTION_COLORS = [null, "white", "green", "purple", "blue", "red"];
export enum ContextActionColors {
NO_COLOR,
MOVE,
OTHER,
ADMIN,
ENGAGE,
DELETE
}