2019-04-15 22:03:05 +02:00
|
|
|
//
|
|
|
|
// AppAssets.swift
|
|
|
|
// NetNewsWire
|
|
|
|
//
|
|
|
|
// Created by Maurice Parker on 4/8/19.
|
|
|
|
// Copyright © 2019 Ranchero Software. All rights reserved.
|
|
|
|
//
|
|
|
|
import UIKit
|
|
|
|
import RSCore
|
|
|
|
|
|
|
|
struct AppAssets {
|
|
|
|
|
2019-06-20 18:58:26 +02:00
|
|
|
static var avatarBackgroundColor: UIColor = {
|
|
|
|
return UIColor(named: "avatarBackgroundColor")!
|
|
|
|
}()
|
2019-06-14 22:33:13 +02:00
|
|
|
|
2019-08-23 19:27:45 +02:00
|
|
|
static var barBackgroundColor: UIColor = {
|
|
|
|
return UIColor(named: "barBackgroundColor")!
|
|
|
|
}()
|
|
|
|
|
2019-06-21 09:29:20 +02:00
|
|
|
static var circleClosedImage: UIImage = {
|
2019-09-18 03:26:49 +02:00
|
|
|
return UIImage(systemName: "largecircle.fill.circle")!
|
2019-04-15 22:03:05 +02:00
|
|
|
}()
|
|
|
|
|
2019-06-21 09:29:20 +02:00
|
|
|
static var circleOpenImage: UIImage = {
|
|
|
|
return UIImage(systemName: "circle")!
|
2019-04-15 22:03:05 +02:00
|
|
|
}()
|
|
|
|
|
2019-04-17 17:15:44 +02:00
|
|
|
static var chevronDisclosureColor: UIColor = {
|
|
|
|
return UIColor(named: "chevronDisclosureColor")!
|
|
|
|
}()
|
|
|
|
|
2019-06-21 09:29:20 +02:00
|
|
|
static var chevronDownImage: UIImage = {
|
|
|
|
let image = UIImage(systemName: "chevron.down")!
|
2019-08-03 23:34:35 +02:00
|
|
|
return image.withTintColor(AppAssets.chevronDisclosureColor, renderingMode: .alwaysOriginal)
|
2019-04-17 17:15:44 +02:00
|
|
|
}()
|
|
|
|
|
2019-06-21 09:29:20 +02:00
|
|
|
static var chevronRightImage: UIImage = {
|
|
|
|
let image = UIImage(systemName: "chevron.right")!
|
2019-08-03 23:34:35 +02:00
|
|
|
return image.withTintColor(AppAssets.chevronDisclosureColor, renderingMode: .alwaysOriginal)
|
2019-04-17 17:15:44 +02:00
|
|
|
}()
|
|
|
|
|
2019-08-16 20:27:41 +02:00
|
|
|
static var copyImage: UIImage = {
|
|
|
|
return UIImage(systemName: "doc.on.doc")!
|
|
|
|
}()
|
|
|
|
|
|
|
|
static var editImage: UIImage = {
|
|
|
|
UIImage(systemName: "square.and.pencil")!
|
|
|
|
}()
|
|
|
|
|
2019-04-29 14:07:57 +02:00
|
|
|
static var faviconTemplateImage: RSImage = {
|
|
|
|
return RSImage(named: "faviconTemplateImage")!
|
|
|
|
}()
|
|
|
|
|
2019-08-20 00:26:09 +02:00
|
|
|
static var markAllInFeedAsReadImage: UIImage = {
|
|
|
|
return UIImage(systemName: "asterisk.circle")!
|
|
|
|
}()
|
|
|
|
|
2019-08-19 00:34:53 +02:00
|
|
|
static var markOlderAsReadDownImage: UIImage = {
|
|
|
|
return UIImage(systemName: "arrowtriangle.down.circle")!
|
|
|
|
}()
|
|
|
|
|
|
|
|
static var markOlderAsReadUpImage: UIImage = {
|
|
|
|
return UIImage(systemName: "arrowtriangle.up.circle")!
|
|
|
|
}()
|
|
|
|
|
2019-06-21 09:29:20 +02:00
|
|
|
static var masterFolderImage: UIImage = {
|
2019-09-12 02:29:27 +02:00
|
|
|
return UIImage(systemName: "folder.fill")!
|
2019-04-15 22:03:05 +02:00
|
|
|
}()
|
|
|
|
|
2019-08-19 22:45:52 +02:00
|
|
|
static var moreImage: UIImage = {
|
|
|
|
return UIImage(systemName: "ellipsis.circle")!
|
|
|
|
}()
|
|
|
|
|
|
|
|
static var openInSidebarImage: UIImage = {
|
|
|
|
return UIImage(systemName: "arrow.turn.down.left")!
|
|
|
|
}()
|
|
|
|
|
2019-09-18 09:49:57 +02:00
|
|
|
static var primaryAccentColor: UIColor = {
|
|
|
|
return UIColor(named: "primaryAccentColor")!
|
|
|
|
}()
|
|
|
|
|
2019-08-16 20:27:41 +02:00
|
|
|
static var safariImage: UIImage = {
|
|
|
|
return UIImage(systemName: "safari")!
|
|
|
|
}()
|
|
|
|
|
2019-09-18 03:26:49 +02:00
|
|
|
static var searchFeedImage: UIImage = {
|
2019-09-18 10:00:12 +02:00
|
|
|
return UIImage(systemName: "magnifyingglass")!
|
2019-06-29 20:53:34 +02:00
|
|
|
}()
|
|
|
|
|
2019-09-18 09:49:57 +02:00
|
|
|
static var secondaryAccentColor: UIColor = {
|
|
|
|
return UIColor(named: "secondaryAccentColor")!
|
|
|
|
}()
|
|
|
|
|
2019-08-20 01:09:38 +02:00
|
|
|
static var shareImage: UIImage = {
|
|
|
|
return UIImage(systemName: "square.and.arrow.up")!
|
|
|
|
}()
|
|
|
|
|
2019-06-21 09:29:20 +02:00
|
|
|
static var smartFeedImage: UIImage = {
|
2019-09-12 02:29:27 +02:00
|
|
|
return UIImage(systemName: "gear")!
|
2019-04-28 22:11:02 +02:00
|
|
|
}()
|
|
|
|
|
2019-04-15 22:03:05 +02:00
|
|
|
static var starColor: UIColor = {
|
|
|
|
return UIColor(named: "starColor")!
|
|
|
|
}()
|
|
|
|
|
2019-06-21 09:29:20 +02:00
|
|
|
static var starClosedImage: UIImage = {
|
|
|
|
return UIImage(systemName: "star.fill")!
|
2019-04-15 22:03:05 +02:00
|
|
|
}()
|
|
|
|
|
2019-06-21 09:29:20 +02:00
|
|
|
static var starOpenImage: UIImage = {
|
|
|
|
return UIImage(systemName: "star")!
|
2019-04-15 22:03:05 +02:00
|
|
|
}()
|
|
|
|
|
2019-09-18 03:26:49 +02:00
|
|
|
static var starredFeedImage: UIImage = {
|
|
|
|
return UIImage(systemName: "star.fill")!
|
|
|
|
}()
|
|
|
|
|
2019-09-03 07:39:01 +02:00
|
|
|
static var tableViewCellHighlightedTextColor: UIColor = {
|
|
|
|
return UIColor(named: "tableViewCellHighlightedTextColor")!
|
|
|
|
}()
|
|
|
|
|
2019-06-21 09:29:20 +02:00
|
|
|
static var timelineStarImage: UIImage = {
|
|
|
|
let image = UIImage(systemName: "star.fill")!
|
2019-08-03 23:34:35 +02:00
|
|
|
return image.withTintColor(AppAssets.starColor, renderingMode: .alwaysOriginal)
|
2019-04-15 22:03:05 +02:00
|
|
|
}()
|
2019-06-21 09:29:20 +02:00
|
|
|
|
2019-09-18 03:26:49 +02:00
|
|
|
static var todayFeedImage: UIImage = {
|
|
|
|
return UIImage(systemName: "sun.max.fill")!
|
|
|
|
}()
|
|
|
|
|
2019-08-16 20:27:41 +02:00
|
|
|
static var trashImage: UIImage = {
|
|
|
|
return UIImage(systemName: "trash")!
|
|
|
|
}()
|
|
|
|
|
2019-09-18 03:26:49 +02:00
|
|
|
static var unreadFeedImage: UIImage = {
|
|
|
|
return UIImage(systemName: "largecircle.fill.circle")!
|
|
|
|
}()
|
|
|
|
|
2019-04-15 22:03:05 +02:00
|
|
|
}
|