summaryrefslogtreecommitdiffstats
path: root/ui/src/utils.ts
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2020-03-04 23:36:42 -0500
committerDessalines <tyhou13@gmx.com>2020-03-04 23:36:42 -0500
commiteeef752a5ce1af441c69a701d95ba8a2dec651c4 (patch)
tree6d1d276a5b28b596fba2dd6ad3e88eefacc79122 /ui/src/utils.ts
parentc999579c05ded42ea6ec68753d59b288123cc652 (diff)
Adding left border color, removing indent.
Diffstat (limited to 'ui/src/utils.ts')
-rw-r--r--ui/src/utils.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/src/utils.ts b/ui/src/utils.ts
index 46b393d9..bdd629c7 100644
--- a/ui/src/utils.ts
+++ b/ui/src/utils.ts
@@ -767,3 +767,7 @@ export function postSort(
);
}
}
+
+export function randomHsl() {
+ return `hsla(${Math.random() * 360}, 100%, 50%, 1)`;
+}