Adds assets for smart feeds

Fixes #2610
Fixes #2611
This commit is contained in:
Stuart Breckenridge 2020-11-25 09:07:18 +08:00
parent a7a12f3278
commit e5b97abe17
No known key found for this signature in database
GPG Key ID: 1F11FD62007DC331
9 changed files with 62 additions and 6 deletions

View File

@ -218,8 +218,8 @@ struct AppAssets {
}()
static var starredFeedImage: IconImage = {
let image = UIImage(systemName: "star.fill")!
return IconImage(image, isSymbol: true, preferredColor: AppAssets.starColor.cgColor)
let image = UIImage(named: "smartFeedStar")!
return IconImage(image, isSymbol: true, preferredColor: nil)
}()
static var tickMarkColor: UIColor = {
@ -232,8 +232,8 @@ struct AppAssets {
}()
static var todayFeedImage: IconImage = {
let image = UIImage(systemName: "sun.max.fill")!
return IconImage(image, isSymbol: true, preferredColor: UIColor.systemOrange.cgColor)
let image = UIImage(named: "smartFeedToday")!
return IconImage(image, isSymbol: true, preferredColor: nil)
}()
static var trashImage: UIImage = {
@ -241,8 +241,8 @@ struct AppAssets {
}()
static var unreadFeedImage: IconImage = {
let image = UIImage(systemName: "largecircle.fill.circle")!
return IconImage(image, isSymbol: true, preferredColor: AppAssets.secondaryAccentColor.cgColor)
let image = UIImage(named: "smartFeedUnread")!
return IconImage(image, isSymbol: true, preferredColor: nil)
}()
static var vibrantTextColor: UIColor = {

View File

@ -0,0 +1,12 @@
{
"images" : [
{
"filename" : "smartfeed.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"filename" : "today-any.pdf",
"idiom" : "universal"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "today-dark.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"filename" : "unread-any.pdf",
"idiom" : "universal"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "unread-dark.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}