[ios] remove primary green background from the search screen header

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
This commit is contained in:
Kiryl Kaveryn
2025-05-19 17:22:42 +04:00
committed by Konstantin Pastbin
parent 2299de287f
commit 7be49ab00a
6 changed files with 72 additions and 21 deletions

View File

@@ -4,6 +4,7 @@ enum GlobalStyleSheet: String, CaseIterable {
case tableViewCell = "MWMTableViewCell"
case defaultTableViewCell
case tableViewHeaderFooterView = "TableViewHeaderFooterView"
case defaultSearchBar
case searchBar = "SearchBar"
case navigationBar = "NavigationBar"
case navigationBarItem = "NavigationBarItem"
@@ -95,6 +96,14 @@ extension GlobalStyleSheet: IStyleSheet {
s.font = fonts.medium14
s.fontColor = colors.blackSecondaryText
}
case .defaultSearchBar:
return .add { s in
s.backgroundColor = colors.pressBackground
s.barTintColor = colors.clear
s.fontColor = colors.blackPrimaryText
s.fontColorDetailed = UIColor.white
s.tintColor = colors.blackSecondaryText
}
case .searchBar:
return .add { s in
s.backgroundColor = colors.white
@@ -224,10 +233,11 @@ extension GlobalStyleSheet: IStyleSheet {
}
case .tabView:
return .add { s in
s.backgroundColor = colors.pressBackground
s.barTintColor = colors.primary
s.tintColor = colors.white
s.fontColor = colors.whitePrimaryText
s.backgroundColor = colors.white
s.barTintColor = colors.white
s.tintColor = colors.linkBlue
s.fontColor = colors.blackSecondaryText
s.fontColorHighlighted = colors.linkBlue
s.font = fonts.medium14
}
case .dialogView: