Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[IB-1908]: [UI] Color of bottom bar should be black
- Loading branch information
|
|
@@ -331,7 +331,12 @@ extension TabToolbar: TabToolbarProtocol { |
|
|
|
|
|
extension TabToolbar: Themeable, PrivateModeUI { |
|
|
func applyTheme() { |
|
|
backgroundColor = UIColor.theme.browser.background |
|
|
// CLIQZ: because of design inconsistency for Cliqz we have to use different color. |
|
|
#if PAID |
|
|
backgroundColor = UIColor.theme.browser.background |
|
|
#else |
|
|
backgroundColor = UIColor.theme.homePanel.toolbarBackground |
|
|
#endif |
|
|
helper?.setTheme(forButtons: actionButtons) |
|
|
} |
|
|
|
|
|
|
|
|
@@ -94,7 +94,7 @@ fileprivate class DarkTextFieldColor: TextFieldColor { |
|
|
} |
|
|
|
|
|
fileprivate class DarkHomePanelColor: HomePanelColor { |
|
|
override var toolbarBackground: UIColor { return defaultBackground } |
|
|
override var toolbarBackground: UIColor { return UIColor.black } |
|
|
override var toolbarHighlight: UIColor { return UIColor.Photon.Blue40 } |
|
|
override var toolbarTint: UIColor { return UIColor.Photon.Grey30 } |
|
|
override var panelBackground: UIColor { return UIColor.Photon.Grey90 } |
|
|
|