Edit a piece
A piece is a plain .pzl file in app/components/ui/. There is no package to configure, wrap or fight: when it does not do what you need, change it like any other component.
The quick look would be better with the album's cover across the top. The Dialog has header and footer slots, but nothing above the header, so give it one. Every slot is optional: callers that leave it empty, which is every other dialog in your app, render as before.
pieces.lock keeps the hash of each file as it was copied. Your edit makes Dialog.pzl differ from it, which is how a later update can tell your changes from the registry's.
Your turn
- In
Dialog.pzl, add<Slot name="cover"/>as the first thing inside<dialog>, before the body<div>. - In
Shop.pzl, fill it. Put this first inside the<Dialog>tag:
<div slot="cover" class="cover quick-cover" style="--hue: { peek.hue ?? 0 }"></div>
Open a quick look again. The cover is Music's own .cover gradient, sized for the dialog by .quick-cover in app.css.