Replies: 1 comment 1 reply
-
Have you tried setting the desired colors based on the colorScheme environment key: https://www.hackingwithswift.com/quick-start/swiftui/how-to-detect-dark-mode |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I’m struggling to make the confetti colours switch with light/dark modes. I can make it switch but it requires quitting the app and relaunching. Any tips on how to do this? For now the confetti colour was a variable which I made dependent on the light or dark mode but it’s only half working as I described.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions