I read through the documentation regarding: https://developer.apple.com/documentation/appkit/supporting_dark_mode_in_your_interface
When the user chan
I think for colors is better to use
UIColor.init { (trait) -> UIColor in return trait.userInterfaceStyle == .dark ? .label : .black }
because this way if the system change, the color change too automatically.