mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Unify the colori scheme into primary and secondary accent colors
This commit is contained in:
@@ -26,7 +26,7 @@ class NNWTableViewCell: UITableViewCell {
|
||||
/// Subclass overrides should call super
|
||||
func applyThemeProperties() {
|
||||
let selectedBackgroundView = UIView(frame: .zero)
|
||||
selectedBackgroundView.backgroundColor = AppAssets.tableViewCellSelectionColor
|
||||
selectedBackgroundView.backgroundColor = AppAssets.primaryAccentColor
|
||||
self.selectedBackgroundView = selectedBackgroundView
|
||||
}
|
||||
}
|
||||
|
||||
@@ -40,15 +40,15 @@ class ThemedNavigationController: UINavigationController {
|
||||
} else {
|
||||
let navigationAppearance = UINavigationBarAppearance()
|
||||
navigationAppearance.backgroundColor = AppAssets.barBackgroundColor
|
||||
navigationAppearance.titleTextAttributes = [.foregroundColor: AppAssets.barTitleColor]
|
||||
navigationAppearance.largeTitleTextAttributes = [.foregroundColor: AppAssets.barTitleColor]
|
||||
navigationAppearance.titleTextAttributes = [.foregroundColor: UIColor.label]
|
||||
navigationAppearance.largeTitleTextAttributes = [.foregroundColor: UIColor.label]
|
||||
navigationBar.standardAppearance = navigationAppearance
|
||||
navigationBar.tintColor = AppAssets.barTintColor
|
||||
navigationBar.tintColor = AppAssets.primaryAccentColor
|
||||
|
||||
let toolbarAppearance = UIToolbarAppearance()
|
||||
toolbarAppearance.backgroundColor = UIColor.white
|
||||
toolbar.standardAppearance = toolbarAppearance
|
||||
toolbar.tintColor = AppAssets.barTintColor
|
||||
toolbar.tintColor = AppAssets.primaryAccentColor
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user