TEAM LICENSES: Save money and learn new skills through a Hacking with Swift+ team license >>

Modifier that makes colors look better in light vs dark mode?

Forums > SwiftUI

I don't know if anyone might know what I'm talking about with this. But I have a vague memory of working on a project somewhere in the HWS universe where we are adding some effects like shadows to a button or something, and Paul shows us this nifty little modifier to add that will supposedly make the colors look better, or maybe adjust the opacity or something when the phone is in dark mode?

I can't remember exactly what it was, but I just have a vague memory of something like that, and wonder if anybody here might know what I am talking about. I have a sneaking suspicion that if I can remember what that modifier was, it might be useful to me right now. But I don't even remember where to look for it.

2      

Hacking with Swift is sponsored by RevenueCat.

SPONSORED Take the pain out of configuring and testing your paywalls. RevenueCat's Paywalls allow you to remotely configure your entire paywall view without any code changes or app updates.

Learn more here

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.