2021-07-05 10:07:17 +02:00
|
|
|
//
|
|
|
|
// Theme.swift
|
|
|
|
// Mastodon
|
|
|
|
//
|
|
|
|
// Created by MainasuK Cirno on 2021-7-5.
|
|
|
|
//
|
|
|
|
|
|
|
|
import UIKit
|
2022-04-13 14:43:16 +02:00
|
|
|
import MastodonCommon
|
2021-07-05 10:07:17 +02:00
|
|
|
|
2021-07-19 11:12:45 +02:00
|
|
|
public protocol Theme {
|
2021-07-27 07:54:03 +02:00
|
|
|
|
|
|
|
var themeName: ThemeName { get }
|
2021-07-20 13:24:24 +02:00
|
|
|
|
2021-07-05 10:07:17 +02:00
|
|
|
var systemBackgroundColor: UIColor { get }
|
|
|
|
var secondarySystemBackgroundColor: UIColor { get }
|
|
|
|
var tertiarySystemBackgroundColor: UIColor { get }
|
|
|
|
|
|
|
|
var systemElevatedBackgroundColor: UIColor { get }
|
|
|
|
|
|
|
|
var systemGroupedBackgroundColor: UIColor { get }
|
|
|
|
var secondarySystemGroupedBackgroundColor: UIColor { get }
|
|
|
|
var tertiarySystemGroupedBackgroundColor: UIColor { get }
|
|
|
|
|
|
|
|
var navigationBarBackgroundColor: UIColor { get }
|
2021-09-24 13:58:50 +02:00
|
|
|
|
|
|
|
var sidebarBackgroundColor: UIColor { get }
|
2021-07-05 10:07:17 +02:00
|
|
|
|
|
|
|
var tabBarBackgroundColor: UIColor { get }
|
|
|
|
var tabBarItemSelectedIconColor: UIColor { get }
|
|
|
|
var tabBarItemFocusedIconColor: UIColor { get }
|
|
|
|
var tabBarItemNormalIconColor: UIColor { get }
|
|
|
|
var tabBarItemDisabledIconColor: UIColor { get }
|
|
|
|
|
|
|
|
var separator: UIColor { get }
|
|
|
|
|
2023-03-30 22:18:19 +02:00
|
|
|
var tableViewBackgroundColor: UIColor { get }
|
2021-07-05 10:07:17 +02:00
|
|
|
var tableViewCellBackgroundColor: UIColor { get }
|
|
|
|
var tableViewCellSelectionBackgroundColor: UIColor { get }
|
|
|
|
|
|
|
|
var contentWarningOverlayBackgroundColor: UIColor { get }
|
|
|
|
var profileFieldCollectionViewBackgroundColor: UIColor { get }
|
2021-07-20 13:24:24 +02:00
|
|
|
var composeToolbarBackgroundColor: UIColor { get }
|
2022-10-26 12:35:10 +02:00
|
|
|
var composePollRowBackgroundColor: UIColor { get }
|
2021-07-22 08:05:20 +02:00
|
|
|
var notificationStatusBorderColor: UIColor { get }
|
2021-07-05 10:07:17 +02:00
|
|
|
|
|
|
|
}
|