Skip to content

sparkouttech/DarkMode-Demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DarkMode-Demo

Dark mode & Light mode handling tutorial

Dark mode handling

You need only light mode

You need only dark mode

Steps:

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

Swift code 

let color = UIColor(named: "Theme")
       
button.backgroundColor = color

4.Run the code!

ScreenShots:

Light Mode Dark Mode

|

About

Dark mode & Light mode handling tutorial

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 100.0%