This commit is contained in:
Belen Curcio 2020-10-14 19:29:38 -03:00
parent 7b3de99805
commit 74b14ef2a4

View File

@ -8,7 +8,7 @@ interface Props {
}
function getRandomPairOfColors() {
const colors = ['#f33', '#7928ca', '#50e3c2', '#7928ca', '#7928CA']
const colors = ['#37B679', '#DA3C3C', '#3291FF', '#7928CA', '#79FFE1']
const getRandomIdx = () => random(0, colors.length - 1)
let idx = getRandomIdx()
let idx2 = getRandomIdx()