Dark mode & layout fix

This commit is contained in:
Florian Gabach
2019-11-11 16:56:30 +01:00
parent fcc1b6f893
commit cc51d8fa12
36 changed files with 102 additions and 1404 deletions
+5 -7
View File
@@ -11,23 +11,21 @@ public struct OpenSourceControllerConfig {
/// Sub-stuct holding configuration relevant to UI presentation !
public struct UIConfig {
/// Will be applied to the navigation bar
public var barTintColor: UIColor?
/// Will be applied to the navigation bar
public var backgroundColor: UIColor = .white
public var backgroundColor: UIColor = Style.background
/// Will be applied to licence text
public var licenceBackgroundColor: UIColor?
public var licenceBackgroundColor: UIColor = Style.background
/// Will be applied to the navigation bar
public var closeButtonColor: UIColor?
public var closeButtonColor: UIColor = Style.label
/// Will be applied to licence text
public var licenceTextColor: UIColor?
public var licenceTextColor: UIColor = Style.label
/// Will be applied to licence text
public var titleColor: UIColor?
public var titleColor: UIColor = Style.label
}
/// Will be applied to the navigation bar title