Base · Feedback
Progress bar
Thin bars for progress and distribution: <Bar pct tone /> and <StackBar parts height />.
Notes
Bar: a 5px track (.bar-wrap,rgba(0,0,0,.08)) with aninkfill;tonered·amber·greenrecolours the fill by status meaning.StackBar: segments in proportion (parts: [{label, v, color}], 2px gaps, 10px tall by default), each with alabel · vtitle. Colour alone never carries the bucket: print the counts next to it.- Not used in the Solarus app.
Trajectory, the graduated scale with itsaccentpart, stands in for it.
Code
// React · window.Solarus
<Bar pct tone />
<StackBar parts />