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
|
|
|
|
|
|
|
struct SystemTheme: Theme {
|
2021-07-27 13:54:03 +08:00
|
|
|
|
|
|
|
let themeName: ThemeName = .system
|
|
|
|
|
2021-07-05 16:07:17 +08:00
|
|
|
let systemBackgroundColor = Asset.Theme.System.systemBackground.color
|
|
|
|
let secondarySystemBackgroundColor = Asset.Theme.System.secondarySystemBackground.color
|
|
|
|
let tertiarySystemBackgroundColor = Asset.Theme.System.tertiarySystemBackground.color
|
|
|
|
|
|
|
|
let systemElevatedBackgroundColor = Asset.Theme.System.systemElevatedBackground.color
|
|
|
|
|
|
|
|
let systemGroupedBackgroundColor = Asset.Theme.System.systemGroupedBackground.color
|
|
|
|
let secondarySystemGroupedBackgroundColor = Asset.Theme.System.secondaryGroupedSystemBackground.color
|
|
|
|
let tertiarySystemGroupedBackgroundColor = Asset.Theme.System.tertiarySystemGroupedBackground.color
|
|
|
|
|
|
|
|
let navigationBarBackgroundColor = Asset.Theme.System.navigationBarBackground.color
|
|
|
|
|
2021-10-28 19:17:41 +08:00
|
|
|
let sidebarBackgroundColor = Asset.Theme.System.sidebarBackground.color
|
2021-09-24 19:58:50 +08:00
|
|
|
|
2021-07-05 16:07:17 +08:00
|
|
|
let tabBarBackgroundColor = Asset.Theme.System.tabBarBackground.color
|
2023-06-02 09:52:12 +02:00
|
|
|
let tabBarItemSelectedIconColor = Asset.Colors.Brand.blurple.color
|
2021-07-05 16:07:17 +08:00
|
|
|
let tabBarItemFocusedIconColor = Asset.Theme.System.tabBarItemInactiveIconColor.color
|
|
|
|
let tabBarItemNormalIconColor = Asset.Theme.System.tabBarItemInactiveIconColor.color
|
|
|
|
let tabBarItemDisabledIconColor = Asset.Theme.System.tabBarItemInactiveIconColor.color
|
|
|
|
|
|
|
|
let separator = Asset.Theme.System.separator.color
|
|
|
|
|
2023-03-30 22:18:19 +02:00
|
|
|
let tableViewBackgroundColor: UIColor = .clear
|
2021-07-05 16:07:17 +08:00
|
|
|
let tableViewCellBackgroundColor = Asset.Theme.System.tableViewCellBackground.color
|
|
|
|
let tableViewCellSelectionBackgroundColor = Asset.Theme.System.tableViewCellSelectionBackground.color
|
|
|
|
|
|
|
|
let contentWarningOverlayBackgroundColor = Asset.Theme.System.contentWarningOverlayBackground.color
|
|
|
|
let profileFieldCollectionViewBackgroundColor = Asset.Theme.System.profileFieldCollectionViewBackground.color
|
2021-07-20 19:24:24 +08:00
|
|
|
let composeToolbarBackgroundColor = Asset.Theme.System.composeToolbarBackground.color
|
2022-10-26 18:35:10 +08:00
|
|
|
let composePollRowBackgroundColor = Asset.Theme.System.composePollRowBackground.color
|
2021-07-22 14:05:20 +08:00
|
|
|
let notificationStatusBorderColor = Asset.Theme.System.notificationStatusBorderColor.color
|
2021-07-05 16:07:17 +08:00
|
|
|
}
|