Is it possible to make the app's background more transparent? #124
-
Hi! This is a beginner question, and I hope I'm in the right spot to ask. Please feel free to redirect me otherwise. I'm wondering if there's a way to change the semi-transparent gray background that comes with the visionOS starter app? I'd like to make it more transparent so that my app blends in with the environment more. I see that I could edit the background color with CSS if I wanted to make it darker for whatever reason, but I'm wanting to go the other way. Maybe this is just impossible to do or ill-advised, but I thought I'd ask. Thanks in advance for the help! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hey! Thanks for asking this question, this made me wonder how is it possible that React Native visionOS apps are a little bit darker than SwiftUI apps and I've found the root cause (we had an additional color set on the background). Before(SwiftUI on the left, React Native on the right) AfterI'll create a PR with the fix soon 👍🏻 |
Beta Was this translation helpful? Give feedback.
Hey!
Thanks for asking this question, this made me wonder how is it possible that React Native visionOS apps are a little bit darker than SwiftUI apps and I've found the root cause (we had an additional color set on the background).
Before
(SwiftUI on the left, React Native on the right)
After
I'll create a PR with the fix soon 👍🏻