mirror of
https://github.com/docmost/docmost.git
synced 2026-05-18 23:44:24 +08:00
fix collab user
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
export const userColors = [
|
||||
"#958DF1",
|
||||
"#F98181",
|
||||
"#FBBC88",
|
||||
"#FAF594",
|
||||
"#70CFF8",
|
||||
"#94FADB",
|
||||
"#B9F18D",
|
||||
];
|
||||
|
||||
export function randomElement(array: Array<any>) {
|
||||
return array[Math.floor(Math.random() * array.length)];
|
||||
}
|
||||
Reference in New Issue
Block a user