Use new tile theme color

This commit is contained in:
ismailgulek 2021-05-04 19:25:24 +03:00
parent 95fa650c7e
commit 13f485a5c3
No known key found for this signature in database
GPG key ID: E96336D42D9470A9
4 changed files with 1 additions and 8 deletions

View file

@ -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

View file

@ -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) {

View file

@ -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

View file

@ -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