Commit d326ba42 authored by Johannes Winter's avatar Johannes Winter

make colors pastell

change colors to hsl
rel: #53
parent 5bf6c90c
Pipeline #336 passed with stages
in 6 minutes and 35 seconds
......@@ -828,8 +828,8 @@ export default {
this.budget.size = this.budget.eSum - this.budget.iSum
let colors = this.budget.data.map(() =>
'#' + Math.random().toString(16).slice(-6)
) // from: https://codegolf.stackexchange.com/questions/12563/random-css-color-code#comment24646_12565
`hsl(${Math.random()*360}, 50%,75%)`
)
this.datacollection = {
labels: this.budget.labels,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment