forked from crowetic/commerce
Changes
This commit is contained in:
parent
7b3de99805
commit
74b14ef2a4
@ -8,7 +8,7 @@ interface Props {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getRandomPairOfColors() {
|
function getRandomPairOfColors() {
|
||||||
const colors = ['#f33', '#7928ca', '#50e3c2', '#7928ca', '#7928CA']
|
const colors = ['#37B679', '#DA3C3C', '#3291FF', '#7928CA', '#79FFE1']
|
||||||
const getRandomIdx = () => random(0, colors.length - 1)
|
const getRandomIdx = () => random(0, colors.length - 1)
|
||||||
let idx = getRandomIdx()
|
let idx = getRandomIdx()
|
||||||
let idx2 = getRandomIdx()
|
let idx2 = getRandomIdx()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user