Skip to content

Add dark mode preview images#32

Merged
msaps merged 1 commit into
mainfrom
feature/dark-preview-images
May 22, 2026
Merged

Add dark mode preview images#32
msaps merged 1 commit into
mainfrom
feature/dark-preview-images

Conversation

@msaps
Copy link
Copy Markdown
Member

@msaps msaps commented May 22, 2026

Summary

Adds dark mode image variants for the two feature preview cards on the Feature Preview page, ensuring screenshots match the user's system appearance.

Changes

  • Add predictive-occupancy-dark.webp — dark variant of the Predictive Occupancy preview image
  • Add trends-dark.webp — dark variant of the Trends preview image
  • Update PreviewFeatures.tsx to reference imageDark for both bento items
  • Refresh predictive-occupancy.webp and trends.webp (light variants optimised)

Testing

  • Verify preview images switch correctly when toggling between light and dark mode in system preferences
  • Confirm both bento items render the dark variant under prefers-color-scheme: dark

@msaps msaps enabled auto-merge (squash) May 22, 2026 14:30
@vercel
Copy link
Copy Markdown

vercel Bot commented May 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
loungebird Ready Ready Preview, Comment May 22, 2026 2:30pm

@msaps msaps merged commit f4be7d9 into main May 22, 2026
3 checks passed
@msaps msaps deleted the feature/dark-preview-images branch May 22, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant