Dark mode & Light mode handling tutorial
You need only light mode
You need only dark mode
1.Open Assets and Creat new color sets ex: Theme
2.Just use the colorset to Buttons, views and where you need.
3.You can use your asset color programmatically
let color = UIColor(named: "Theme")
button.backgroundColor = color
4.Run the code!
Light Mode | Dark Mode |
---|