Created
October 6, 2019 15:26
-
-
Save sgl0v/ae15d14af99b2292b987f30752ce58c5 to your computer and use it in GitHub Desktop.
Backward compatible Dark Mode on iOS - Themes.swift
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extension Theme { | |
| static let light = Theme(type: .light, colors: .light) | |
| static let dark = Theme(type: .dark, colors: .dark) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment