Merge pull request #2615 from stuartbreckenridge/main

Adds assets for smart feeds
This commit is contained in:
Maurice Parker 2020-11-24 19:17:04 -06:00 committed by GitHub
commit 5bf6240e97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
}
}