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

[IB-1912]: [UI] Impossible to distinguish private tabs and normal tabs

  • Loading branch information
naira-cliqz committed Jun 28, 2019
1 parent d9d7209 commit 719cf4b2a1929dec0c56dc0fe604c6d5720d2fb2
Showing with 2 additions and 2 deletions.
  1. +2 −2 Cliqz/Theme/GhosteryDarkTheme.swift
@@ -41,7 +41,7 @@ fileprivate class DarkURLBarColor: URLBarColor {
return !isPrivate ? UIColor.lightGray : UIColor.lightGray
}
override func textSelectionHighlight(_ isPrivate: Bool) -> TextSelectionHighlight {
let color = isPrivate ? defaultTextSelectionColor : defaultTextSelectionColor
let color = isPrivate ? UIColor(colorString: "AEC5DA") : defaultTextSelectionColor
return (labelMode: color.withAlphaComponent(1), textFieldMode: color)

}
@@ -87,7 +87,7 @@ fileprivate class DarkTopTabsColor: TopTabsColor {
fileprivate class DarkTextFieldColor: TextFieldColor {
override func background(_ isPrivate: Bool) -> UIColor {
// TODO: it needs to be checked for the final designreview if both should be white or not. It was UIColor(colorString: "3D3F4E") before. But it seems this is not right color
return isPrivate ? UIColor.white : UIColor.white
return isPrivate ? UIColor(colorString: "2B6895") : UIColor.white
}
override var textAndTint: UIColor { return defaultTextAndTint }

0 comments on commit 719cf4b

Please sign in to comment.