Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

[IB-1908]: [UI] Color of bottom bar should be black

  • Loading branch information
naira-cliqz committed Jun 28, 2019
1 parent c39f047 commit d9d7209a8bbcfc2e90ed96a45ef7c75a0d0decae
Showing with 7 additions and 2 deletions.
  1. +6 −1 Client/Frontend/Browser/TabToolbar.swift
  2. +1 −1 Cliqz/Theme/GhosteryDarkTheme.swift
@@ -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 }

0 comments on commit d9d7209

Please sign in to comment.