style: color adjustments

This commit is contained in:
Riccardo
2024-01-19 20:53:53 +01:00
parent 3af079a0f5
commit bd0b222398
7 changed files with 372 additions and 420 deletions

9
utils/getRandomGrey.ts Normal file
View File

@@ -0,0 +1,9 @@
export function getRandomGrey() {
const letters = 'ABCDEF';
let color = '#';
const greyShade = Math.floor(Math.random() * 6);
for (let i = 0; i < 6; i++) {
color += letters[greyShade];
}
return color;
}