callstack / react-native-visionos

A framework for building native visionOS applications using React
https://callstack.github.io/react-native-visionos-docs/
MIT License
847 stars 28 forks source link

fix: use clearColor instead of systemBackgroundColor for visionOS #125

Closed okwasniewski closed 4 months ago

okwasniewski commented 4 months ago

Summary:

This PR changes the background color to clearColor for visionOS. This makes app background a little lighter:

Before (SwiftUI on the left)

CleanShot 2024-02-29 at 09 38 07@2x

After

CleanShot 2024-02-29 at 09 38 40@2x

Changelog:

[VISIONOS] [CHANGED] - use clearColor instead of systemBackgroundColor for visionOS

Test Plan:

Check if app background is now lighter

matthargett commented 4 months ago

I’d love to figure out how to do screenshot testing to pin this kind of behavior. Do we have any contacts at Sauce Labs, or similar?