2021-07-05 16:07:17 +08:00
|
|
|
//
|
|
|
|
// SystemTheme.swift
|
|
|
|
// Mastodon
|
|
|
|
//
|
|
|
|
// Created by MainasuK Cirno on 2021-7-5.
|
|
|
|
//
|
|
|
|
|
|
|
|
import UIKit
|
2022-01-27 21:23:39 +08:00
|
|
|
import MastodonAsset
|
2022-04-13 20:43:16 +08:00
|
|
|
import MastodonCommon
|
2021-07-05 16:07:17 +08:00
|
|
|
|
2023-09-27 15:08:12 +02:00
|
|
|
public enum SystemTheme {
|
|
|
|
public static let tintColor = UIColor.label
|
2021-07-27 13:54:03 +08:00
|
|
|
|
2023-09-27 15:08:12 +02:00
|
|
|
public static let systemElevatedBackgroundColor = Asset.Theme.System.systemElevatedBackground.color
|
|
|
|
public static let navigationBarBackgroundColor = Asset.Theme.System.navigationBarBackground.color
|
2021-07-27 13:54:03 +08:00
|
|
|
|
2023-09-27 15:08:12 +02:00
|
|
|
public static let sidebarBackgroundColor = Asset.Theme.System.sidebarBackground.color
|
2021-09-24 19:58:50 +08:00
|
|
|
|
2023-09-27 15:08:12 +02:00
|
|
|
public static let tabBarBackgroundColor = Asset.Theme.System.tabBarBackground.color
|
|
|
|
public static let tabBarItemSelectedIconColor = Asset.Colors.Brand.blurple.color
|
|
|
|
public static let tabBarItemFocusedIconColor = Asset.Theme.System.tabBarItemInactiveIconColor.color
|
|
|
|
public static let tabBarItemNormalIconColor = Asset.Theme.System.tabBarItemInactiveIconColor.color
|
|
|
|
public static let tabBarItemDisabledIconColor = Asset.Theme.System.tabBarItemInactiveIconColor.color
|
2021-07-05 16:07:17 +08:00
|
|
|
|
2023-09-27 15:08:12 +02:00
|
|
|
public static let separator = Asset.Theme.System.separator.color
|
2021-07-05 16:07:17 +08:00
|
|
|
|
2023-09-27 15:08:12 +02:00
|
|
|
public static let tableViewBackgroundColor: UIColor = .clear
|
|
|
|
public static let tableViewCellBackgroundColor = Asset.Theme.System.tableViewCellBackground.color
|
|
|
|
public static let tableViewCellSelectionBackgroundColor = Asset.Theme.System.tableViewCellSelectionBackground.color
|
2021-07-05 16:07:17 +08:00
|
|
|
|
2023-09-27 15:08:12 +02:00
|
|
|
public static let contentWarningOverlayBackgroundColor = Asset.Theme.System.contentWarningOverlayBackground.color
|
|
|
|
public static let composeToolbarBackgroundColor = Asset.Theme.System.composeToolbarBackground.color
|
|
|
|
public static let composePollRowBackgroundColor = Asset.Theme.System.composePollRowBackground.color
|
2021-07-05 16:07:17 +08:00
|
|
|
}
|