mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
Use new tile theme color
This commit is contained in:
parent
95fa650c7e
commit
13f485a5c3
4 changed files with 1 additions and 8 deletions
|
@ -97,9 +97,6 @@ import DesignKit
|
|||
/// Color to use in shadows. Should be contrast to `backgroundColor`.
|
||||
var shadowColor: UIColor { get }
|
||||
|
||||
/// Color for background of call tiles.
|
||||
var callTileBackgroundColor: UIColor { get }
|
||||
|
||||
// MARK: - Customisation methods
|
||||
|
||||
|
||||
|
|
|
@ -90,8 +90,6 @@ class DarkTheme: NSObject, Theme {
|
|||
|
||||
var shadowColor: UIColor = UIColor(rgb: 0xFFFFFF)
|
||||
|
||||
var callTileBackgroundColor: UIColor = UIColor(rgb: 0x394049)
|
||||
|
||||
var messageTickColor: UIColor = .white
|
||||
|
||||
func applyStyle(onTabBar tabBar: UITabBar) {
|
||||
|
|
|
@ -100,8 +100,6 @@ class DefaultTheme: NSObject, Theme {
|
|||
|
||||
var shadowColor: UIColor = UIColor(rgb: 0x000000)
|
||||
|
||||
var callTileBackgroundColor: UIColor = UIColor(rgb: 0xF4F6FA)
|
||||
|
||||
func applyStyle(onTabBar tabBar: UITabBar) {
|
||||
tabBar.unselectedItemTintColor = self.tabBarUnselectedItemTintColor
|
||||
tabBar.tintColor = self.tintColor
|
||||
|
|
|
@ -103,7 +103,7 @@ extension CallBubbleCellBaseContentView: Themable {
|
|||
paginationLabel.textColor = theme.tintColor
|
||||
paginationSeparatorView.backgroundColor = theme.tintColor
|
||||
|
||||
bgView.backgroundColor = theme.callTileBackgroundColor
|
||||
bgView.backgroundColor = theme.colors.tile
|
||||
callerNameLabel.textColor = theme.textPrimaryColor
|
||||
callIconView.tintColor = theme.textTertiaryColor
|
||||
callTypeLabel.textColor = theme.textSecondaryColor
|
||||
|
|
Loading…
Reference in a new issue