Created
October 6, 2019 15:24
-
-
Save sgl0v/a5dfb5934bf185ae4f41a52feebc5e9e to your computer and use it in GitHub Desktop.
Backward compatible Dark Mode on iOS - Theme.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
| struct Theme { | |
| enum `Type` { | |
| case light | |
| case dark | |
| } | |
| let type: Type | |
| let colors: ColorPalette | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment