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-06-21 09:29:20 +02:00
|
|
|
static var circleClosedImage: UIImage = {
|
|
|
|
return UIImage(systemName: "circle.fill")!
|
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-06-28 00:56:33 +02:00
|
|
|
return image
|
|
|
|
// 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-06-28 00:56:33 +02:00
|
|
|
return image
|
|
|
|
// return image.withTintColor(AppAssets.chevronDisclosureColor, renderingMode: .alwaysOriginal)
|
2019-04-17 17:15:44 +02:00
|
|
|
}()
|
|
|
|
|
2019-04-29 14:07:57 +02:00
|
|
|
static var faviconTemplateImage: RSImage = {
|
|
|
|
return RSImage(named: "faviconTemplateImage")!
|
|
|
|
}()
|
|
|
|
|
2019-04-29 00:22:54 +02:00
|
|
|
static var feedImage: RSImage = {
|
2019-06-19 01:31:37 +02:00
|
|
|
return RSImage(named: "feedImage")!
|
2019-04-15 22:03:05 +02:00
|
|
|
}()
|
|
|
|
|
|
|
|
static var masterFolderColor: UIColor = {
|
|
|
|
return UIColor(named: "masterFolderColor")!
|
|
|
|
}()
|
2019-06-21 09:29:20 +02:00
|
|
|
|
|
|
|
static var masterFolderImage: UIImage = {
|
|
|
|
let image = UIImage(systemName: "folder.fill")!
|
2019-06-28 00:56:33 +02:00
|
|
|
return image
|
|
|
|
// return image.withTintColor(AppAssets.masterFolderColor, renderingMode: .alwaysOriginal)
|
2019-04-15 22:03:05 +02:00
|
|
|
}()
|
|
|
|
|
2019-06-19 01:31:37 +02:00
|
|
|
static var netNewsWireBlueColor: UIColor = {
|
|
|
|
return UIColor(named: "netNewsWireBlueColor")!
|
2019-04-21 00:12:39 +02:00
|
|
|
}()
|
|
|
|
|
2019-06-29 20:53:34 +02:00
|
|
|
static var settingsImage: UIImage = {
|
|
|
|
return UIImage(named: "settingsImage")!
|
|
|
|
}()
|
|
|
|
|
2019-04-28 22:11:02 +02:00
|
|
|
static var smartFeedColor: UIColor = {
|
|
|
|
return UIColor(named: "smartFeedColor")!
|
|
|
|
}()
|
|
|
|
|
2019-06-21 09:29:20 +02:00
|
|
|
static var smartFeedImage: UIImage = {
|
|
|
|
let image = UIImage(systemName: "gear")!
|
2019-06-28 00:56:33 +02:00
|
|
|
return image
|
|
|
|
// return image.withTintColor(AppAssets.smartFeedColor, renderingMode: .alwaysOriginal)
|
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-06-21 09:29:20 +02:00
|
|
|
static var timelineStarImage: UIImage = {
|
|
|
|
let image = UIImage(systemName: "star.fill")!
|
2019-06-28 00:56:33 +02:00
|
|
|
return image
|
|
|
|
// return image.withTintColor(AppAssets.starColor, renderingMode: .alwaysOriginal)
|
2019-04-15 22:03:05 +02:00
|
|
|
}()
|
2019-06-21 09:29:20 +02:00
|
|
|
|
2019-04-15 22:03:05 +02:00
|
|
|
static var timelineUnreadCircleColor: UIColor = {
|
|
|
|
return UIColor(named: "timelineUnreadCircleColor")!
|
|
|
|
}()
|
|
|
|
|
|
|
|
}
|