probo
probo copied to clipboard
Dark mode aware company logo
Hi @gearnode, I'd like to work on this issue. One question: should dark mode variants apply to just the square logo, or both square and horizontal logos?
My proposed approach:
- Add logo_dark_file_id (and horizontal_logo_dark_file_id if needed) to the Organization model
- Expose logoDarkUrl / horizontalLogoDarkUrl via GraphQL
- Frontend detects theme via matchMedia and displays the appropriate logo
- Fallback: show light logo if no dark variant is uploaded
Let me know if this aligns with what you had in mind!
Done