mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-03 13:30:14 +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")!
|
return UIColor(named: "secondaryAccentColor")!
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
static var sectionHeaderColor: UIColor = {
|
||||||
|
return UIColor(named: "sectionHeaderColor")!
|
||||||
|
}()
|
||||||
|
|
||||||
static var shareImage: UIImage = {
|
static var shareImage: UIImage = {
|
||||||
return UIImage(systemName: "square.and.arrow.up")!
|
return UIImage(systemName: "square.and.arrow.up")!
|
||||||
}()
|
}()
|
||||||
|
@ -169,7 +169,7 @@ private extension MasterFeedTableViewSectionHeader {
|
|||||||
|
|
||||||
func addBackgroundView() {
|
func addBackgroundView() {
|
||||||
self.backgroundView = UIView(frame: self.bounds)
|
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