diff --git a/Riot/Managers/Theme/Theme.swift b/Riot/Managers/Theme/Theme.swift index 554b6c6d4..e0b1c5ba4 100644 --- a/Riot/Managers/Theme/Theme.swift +++ b/Riot/Managers/Theme/Theme.swift @@ -82,6 +82,8 @@ import UIKit // MARK: - Colors not defined in the design palette + + var secondaryCircleButtonBackgroundColor: UIColor { get } /// fading behind dialog modals var overlayBackgroundColor: UIColor { get } diff --git a/Riot/Managers/Theme/Themes/DarkTheme.swift b/Riot/Managers/Theme/Themes/DarkTheme.swift index 653d6ed66..85804a69e 100644 --- a/Riot/Managers/Theme/Themes/DarkTheme.swift +++ b/Riot/Managers/Theme/Themes/DarkTheme.swift @@ -82,6 +82,7 @@ class DarkTheme: NSObject, Theme { var callScreenButtonTintColor: UIColor = UIColor(rgb: 0xFFFFFF) var overlayBackgroundColor: UIColor = UIColor(white: 0.7, alpha: 0.5) var matrixSearchBackgroundImageTintColor: UIColor = UIColor(rgb: 0x7E7E7E) + var secondaryCircleButtonBackgroundColor: UIColor = UIColor(rgb: 0xE3E8F0) func applyStyle(onTabBar tabBar: UITabBar) { tabBar.unselectedItemTintColor = self.tabBarUnselectedItemTintColor diff --git a/Riot/Managers/Theme/Themes/DefaultTheme.swift b/Riot/Managers/Theme/Themes/DefaultTheme.swift index 8ea63ec80..38e1ab12b 100644 --- a/Riot/Managers/Theme/Themes/DefaultTheme.swift +++ b/Riot/Managers/Theme/Themes/DefaultTheme.swift @@ -92,6 +92,8 @@ class DefaultTheme: NSObject, Theme { var overlayBackgroundColor: UIColor = UIColor(white: 0.7, alpha: 0.5) var matrixSearchBackgroundImageTintColor: UIColor = UIColor(rgb: 0xE7E7E7) + var secondaryCircleButtonBackgroundColor: UIColor = UIColor(rgb: 0xE3E8F0) + func applyStyle(onTabBar tabBar: UITabBar) { tabBar.unselectedItemTintColor = self.tabBarUnselectedItemTintColor tabBar.tintColor = self.tintColor