Widen the end-vs-internal fill contrast

End rhymes 34%, internals 13% (phrases 22/10) — scheme structure
reads at a glance without the old underlines.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-07 03:13:20 -04:00
parent ba0c8a715f
commit 359ed2c00d
+1 -1
View File
@@ -466,7 +466,7 @@ function render(){
if(!w && !p){ h += text; continue; }
// fills only: words paint their group color; phrase rhymes paint
// the stretches between, so multi-word matches still read as units
const alpha = w ? (w.end ? 24 : 15) : (p.end ? 18 : 12);
const alpha = w ? (w.end ? 34 : 13) : (p.end ? 22 : 10);
const color = w ? colorOf(w) : colorOf(p);
h += `<span class="hseg" style="background:color-mix(in srgb, ${color} ${alpha}%, transparent);">${text}</span>`;
}