NetNewsWire/iOS/AppAssets.swift

91 lines
2.2 KiB
Swift
Raw Normal View History

//
// AppAssets.swift
// NetNewsWire
//
// Created by Maurice Parker on 4/8/19.
// Copyright © 2019 Ranchero Software. All rights reserved.
//
import UIKit
import RSCore
struct AppAssets {
static var avatarBackgroundColor: UIColor = {
return UIColor(named: "avatarBackgroundColor")!
}()
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")!
return image.maskWithColor(color: AppAssets.chevronDisclosureColor.cgColor)!
2019-04-17 17:15:44 +02:00
}()
static var chevronRightImage: RSImage = {
let image = RSImage(named: "chevronRightImage")!
return image.maskWithColor(color: AppAssets.chevronDisclosureColor.cgColor)!
2019-04-17 17:15:44 +02:00
}()
static var faviconTemplateImage: RSImage = {
return RSImage(named: "faviconTemplateImage")!
}()
static var feedImage: RSImage = {
return RSImage(named: "feedImage")!
}()
static var masterFolderColor: UIColor = {
return UIColor(named: "masterFolderColor")!
}()
2019-04-17 17:15:44 +02:00
static var masterFolderImage: RSImage = {
let image = RSImage(systemName: "folder.fill")!
return image.maskWithColor(color: AppAssets.masterFolderColor.cgColor)!
}()
static var netNewsWireBlueColor: UIColor = {
return UIColor(named: "netNewsWireBlueColor")!
}()
static var smartFeedColor: UIColor = {
return UIColor(named: "smartFeedColor")!
}()
static var smartFeedImage: RSImage = {
let image = RSImage(named: "smartFeedImage")!
return image.maskWithColor(color: AppAssets.smartFeedColor.cgColor)!
}()
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")!
return image.maskWithColor(color: AppAssets.starColor.cgColor)!
}()
static var timelineUnreadCircleColor: UIColor = {
return UIColor(named: "timelineUnreadCircleColor")!
}()
}