feat: Create portal UI improvements (#5261)

This commit is contained in:
Muhsin Keloth
2022-08-18 17:11:19 +05:30
committed by GitHub
parent ea918d9c5a
commit a788e7ac7a
20 changed files with 629 additions and 57 deletions

View File

@@ -0,0 +1,8 @@
export const getRandomColor = () => {
const letters = '0123456789ABCDEF';
let color = '#';
for (let i = 0; i < 6; i += 1) {
color += letters[Math.floor(Math.random() * 16)];
}
return color;
};