mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-18 12:31:01 +01:00
Make section headers lighter color. Issue #1225
This commit is contained in:
parent
c9d5fefa49
commit
3629108b09
@ -133,6 +133,10 @@ struct AppAssets {
|
||||
return UIColor(named: "secondaryAccentColor")!
|
||||
}()
|
||||
|
||||
static var sectionHeaderColor: UIColor = {
|
||||
return UIColor(named: "sectionHeaderColor")!
|
||||
}()
|
||||
|
||||
static var shareImage: UIImage = {
|
||||
return UIImage(systemName: "square.and.arrow.up")!
|
||||
}()
|
||||
|
@ -169,7 +169,7 @@ private extension MasterFeedTableViewSectionHeader {
|
||||
|
||||
func addBackgroundView() {
|
||||
self.backgroundView = UIView(frame: self.bounds)
|
||||
self.backgroundView?.backgroundColor = UIColor.secondarySystemBackground
|
||||
self.backgroundView?.backgroundColor = AppAssets.sectionHeaderColor
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,38 @@
|
||||
{
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
},
|
||||
"colors" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"color" : {
|
||||
"color-space" : "srgb",
|
||||
"components" : {
|
||||
"red" : "245",
|
||||
"alpha" : "1.000",
|
||||
"blue" : "247",
|
||||
"green" : "245"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"color" : {
|
||||
"color-space" : "srgb",
|
||||
"components" : {
|
||||
"red" : "33",
|
||||
"alpha" : "1.000",
|
||||
"blue" : "36",
|
||||
"green" : "33"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user