viewof colorStore = {
const inputs = Inputs.input({
quest: Inputs.input({
stroke: "#ff7700",
strokeAlpha: 0xff,
color1: "#ff9442",
alpha1: 0x22,
position1: 10,
color2: "#ff9442",
alpha2: 0x22,
position2: 50,
color3: "#ff9442",
alpha3: 0x46,
position3: 95
}),
fate: Inputs.input({
stroke: "#6698d3",
strokeAlpha: 0xff,
color1: "#6698d3",
alpha1: 0x22,
position1: 10,
color2: "#6698d3",
alpha2: 0x22,
position2: 50,
color3: "#6698d3",
alpha3: 0x46,
position3: 95
}),
leve: Inputs.input({
stroke: "#49b135",
strokeAlpha: 0xff,
color1: "#68bc57",
alpha1: 0x22,
position1: 10,
color2: "#68bc57",
alpha2: 0x22,
position2: 50,
color3: "#68bc57",
alpha3: 0x46,
position3: 95
})
});
inputs.addEventListener('input', ()=>{
console.log(2)
})
inputs.value.quest.addEventListener('input', ()=>{
inputs.dispatchEvent(new Event("input", {bubbles: true}))
})
inputs.value.fate.addEventListener('input', ()=>{
inputs.dispatchEvent(new Event("input", {bubbles: true}))
})
inputs.value.leve.addEventListener('input', ()=>{
inputs.dispatchEvent(new Event("input", {bubbles: true}))
})
return inputs
}