diff --git a/apps/mana/apps/web/src/lib/modules/picture/components/ImageLightbox.svelte b/apps/mana/apps/web/src/lib/modules/picture/components/ImageLightbox.svelte index 0700966bc..9fbd0210b 100644 --- a/apps/mana/apps/web/src/lib/modules/picture/components/ImageLightbox.svelte +++ b/apps/mana/apps/web/src/lib/modules/picture/components/ImageLightbox.svelte @@ -7,34 +7,40 @@ keeps ownership because the component is typed against `picture.types.Image` and speaks prompt/model/dims vocabulary. - The lightbox is dumb: it accepts an optional `image` and an - `onClose` callback. Pass a non-null image to open, null/undefined - to hide. Module-specific actions (Favorit-Toggle, Archiv, Download, - "In Picture öffnen" …) go through the `actions` snippet so each - caller wires only what makes sense there. A plain backdrop click - and ESC both close the modal. + Design: borderless, image-first. The picture fills the entire + viewport (object-contain so aspect ratio is preserved). No card + chrome — the dark backdrop alone frames the image. Metadata sits + in the bottom-right corner as small grey text overlay so the eye + goes to the image first; the only persistent control is a close + affordance in the top-right. Module-specific buttons (Favorit / + Archiv / "In Picture öffnen") render in the bottom-left via the + `actions` snippet. Backdrop click and ESC both close. + + Colour note: text uses literal white-alpha + black-alpha utilities + via a scoped `