mastodon-app-ufficiale-ipho.../MastodonSDK/Sources/MastodonUI/Service/ThemeService/SystemTheme.swift

46 lines
2.0 KiB
Swift
Raw Normal View History

2021-07-05 10:07:17 +02:00
//
// SystemTheme.swift
// Mastodon
//
// Created by MainasuK Cirno on 2021-7-5.
//
import UIKit
import MastodonAsset
import MastodonCommon
2021-07-05 10:07:17 +02:00
struct SystemTheme: Theme {
let themeName: ThemeName = .system
2021-07-05 10:07:17 +02: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 13:17:41 +02:00
let sidebarBackgroundColor = Asset.Theme.System.sidebarBackground.color
2021-09-24 13:58:50 +02:00
2021-07-05 10:07:17 +02:00
let tabBarBackgroundColor = Asset.Theme.System.tabBarBackground.color
2021-10-29 08:58:09 +02:00
let tabBarItemSelectedIconColor = ThemeService.tintColor
2021-07-05 10:07:17 +02: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
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
let composeToolbarBackgroundColor = Asset.Theme.System.composeToolbarBackground.color
let notificationStatusBorderColor = Asset.Theme.System.notificationStatusBorderColor.color
2021-07-05 10:07:17 +02:00
}