Files
winf-photobooth-app/AGENTS.md

15 lines
1.6 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Photobooth app conventions
- Use primary color `#84bf65` and secondary color `#4caee3` throughout the UI and camera overlays.
- Use a professional light UI with clear, concise instructions in German and matching English directly below. Avoid playful copy.
- Show the camera edge to edge, preserving aspect ratio with a centered cover crop.
- Make sensible, focused commits using Conventional Commits (`feat:`, `fix:`, `docs:`, etc.).
- Target the Linux KMS backend: let the backend choose screen dimensions and fullscreen behavior. Do not force window sizes or fullscreen in application code.
- Brand the header as `winf photobooth`, using the standard winf.at favicon, without a tagline or live-camera badge.
- Size instruction panels to their content and use consistent padding at the screen edges.
- Scale branding, icons, typography, and spacing with screen dimensions; cap the centered instruction panel width on large monitors.
- The monitor provides room lighting: keep the translucent white overlay on throughout the countdown and until photo capture returns; do not fade it out early.
- Display the countdown as a large semi-transparent number directly over the lighting overlay, without a box or supporting text.
- The primary kiosk monitor is a 19-inch 1907FPVT LCD at 1280×1024 (5:4). Check overlays at that resolution; constrain scaling by width as well as height, keep instructions in two columns, and leave the central camera area clear.
- Always mirror camera frames horizontally for a selfie view, including the initial preview. Run palm detection in the same mirrored coordinates so overlays remain aligned.