summaryrefslogtreecommitdiffstats
path: root/ui/src/utils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/utils.ts')
-rw-r--r--ui/src/utils.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/src/utils.ts b/ui/src/utils.ts
index bdd629c7..058be6ae 100644
--- a/ui/src/utils.ts
+++ b/ui/src/utils.ts
@@ -768,6 +768,8 @@ export function postSort(
}
}
+export const colorList: Array<string> = [...Array(10)].map(() => randomHsl());
+
export function randomHsl() {
return `hsla(${Math.random() * 360}, 100%, 50%, 1)`;
}