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-04-15 22:03:05 +02:00
|
|
|
static var circleClosedImage: RSImage = {
|
|
|
|
return RSImage(named: "circleClosedImage")!
|
|
|
|
}()
|
|
|
|
|
|
|
|
static var circleOpenImage: RSImage = {
|
|
|
|
return RSImage(named: "circleOpenImage")!
|
|
|
|
}()
|
|
|
|
|
2019-04-17 17:15:44 +02:00
|
|
|
static var chevronDisclosureColor: UIColor = {
|
|
|
|
return UIColor(named: "chevronDisclosureColor")!
|
|
|
|
}()
|
|
|
|
|
|
|
|
static var chevronDownImage: RSImage = {
|
|
|
|
let image = RSImage(named: "chevronDownImage")!
|
2019-05-21 12:42:40 +02:00
|
|
|
return image.maskWithColor(color: AppAssets.chevronDisclosureColor.cgColor)!
|
2019-04-17 17:15:44 +02:00
|
|
|
}()
|
|
|
|
|
|
|
|
static var chevronRightImage: RSImage = {
|
|
|
|
let image = RSImage(named: "chevronRightImage")!
|
2019-05-21 12:42:40 +02:00
|
|
|
return image.maskWithColor(color: AppAssets.chevronDisclosureColor.cgColor)!
|
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-19 01:31:37 +02:00
|
|
|
|
2019-04-17 17:15:44 +02:00
|
|
|
static var masterFolderImage: RSImage = {
|
2019-06-20 14:18:43 +02:00
|
|
|
let image = RSImage(systemName: "folder.fill")!
|
2019-05-21 12:42:40 +02:00
|
|
|
return image.maskWithColor(color: AppAssets.masterFolderColor.cgColor)!
|
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-04-28 22:11:02 +02:00
|
|
|
static var smartFeedColor: UIColor = {
|
|
|
|
return UIColor(named: "smartFeedColor")!
|
|
|
|
}()
|
|
|
|
|
|
|
|
static var smartFeedImage: RSImage = {
|
|
|
|
let image = RSImage(named: "smartFeedImage")!
|
2019-05-21 12:42:40 +02:00
|
|
|
return image.maskWithColor(color: AppAssets.smartFeedColor.cgColor)!
|
2019-04-28 22:11:02 +02:00
|
|
|
}()
|
|
|
|
|
2019-04-15 22:03:05 +02:00
|
|
|
static var starColor: UIColor = {
|
|
|
|
return UIColor(named: "starColor")!
|
|
|
|
}()
|
|
|
|
|
|
|
|
static var starClosedImage: RSImage = {
|
|
|
|
return RSImage(named: "starClosedImage")!
|
|
|
|
}()
|
|
|
|
|
|
|
|
static var starOpenImage: RSImage = {
|
|
|
|
return RSImage(named: "starOpenImage")!
|
|
|
|
}()
|
|
|
|
|
|
|
|
static var timelineStarImage: RSImage = {
|
|
|
|
let image = RSImage(named: "starClosedImage")!
|
2019-05-21 12:42:40 +02:00
|
|
|
return image.maskWithColor(color: AppAssets.starColor.cgColor)!
|
2019-04-15 22:03:05 +02:00
|
|
|
}()
|
|
|
|
|
|
|
|
static var timelineUnreadCircleColor: UIColor = {
|
|
|
|
return UIColor(named: "timelineUnreadCircleColor")!
|
|
|
|
}()
|
|
|
|
|
|
|
|
}
|