diff --git a/iphone/Maps/Core/Theme/Colors.swift b/iphone/Maps/Core/Theme/Colors.swift index 8196729a13..15c42cb560 100644 --- a/iphone/Maps/Core/Theme/Colors.swift +++ b/iphone/Maps/Core/Theme/Colors.swift @@ -24,6 +24,7 @@ class DayColors: IColors { var blackSecondaryText = UIColor(0, 0, 0, alpha54) var blackHintText = UIColor(0, 0, 0, alpha26) var blackDividers = UIColor(0, 0, 0, alpha12) + var solidDividers = UIColor(224, 224, 224, alpha100) var white = UIColor(255, 255, 255, alpha100) var whitePrimaryText = UIColor(255, 255, 255, alpha87); var whitePrimaryTextHighlighted = UIColor(255, 255, 255, alpha30); @@ -94,6 +95,7 @@ class NightColors: IColors { var blackSecondaryText = UIColor(255, 255, 255, alpha70) var blackHintText = UIColor(255, 255, 255, alpha30) var blackDividers = UIColor(255, 255, 255, alpha12) + var solidDividers = UIColor(84, 86, 90, alpha100) var white = UIColor(60, 64, 68, alpha100) var whitePrimaryText = UIColor(255, 255, 255, alpha87) var whitePrimaryTextHighlighted = UIColor(255, 255, 255, alpha30) diff --git a/iphone/Maps/Core/Theme/Components/IColors.swift b/iphone/Maps/Core/Theme/Components/IColors.swift index c71dcebdd4..3d5b5c8c78 100644 --- a/iphone/Maps/Core/Theme/Components/IColors.swift +++ b/iphone/Maps/Core/Theme/Components/IColors.swift @@ -34,6 +34,7 @@ let alpha100: CGFloat = 1.0 var blackSecondaryText: UIColor { get } var blackHintText: UIColor { get } var blackDividers: UIColor { get } + var solidDividers: UIColor { get } var white: UIColor { get } var whitePrimaryText: UIColor { get } var whitePrimaryTextHighlighted: UIColor { get } diff --git a/iphone/Maps/Core/Theme/GlobalStyleSheet.swift b/iphone/Maps/Core/Theme/GlobalStyleSheet.swift index d7f2c2b413..8d5a2e6215 100644 --- a/iphone/Maps/Core/Theme/GlobalStyleSheet.swift +++ b/iphone/Maps/Core/Theme/GlobalStyleSheet.swift @@ -82,6 +82,10 @@ class GlobalStyleSheet: IStyleSheet { s.backgroundColor = colors.blackDividers } + theme.add(styleName: "SolidDivider") { (s) -> (Void) in + s.backgroundColor = colors.solidDividers + } + theme.add(styleName: "Background") { (s) -> (Void) in s.backgroundColor = colors.white } diff --git a/iphone/Maps/UI/PlacePage/PlacePage.storyboard b/iphone/Maps/UI/PlacePage/PlacePage.storyboard index 2f394f65e1..958afe9e80 100644 --- a/iphone/Maps/UI/PlacePage/PlacePage.storyboard +++ b/iphone/Maps/UI/PlacePage/PlacePage.storyboard @@ -1,9 +1,9 @@ - + - + @@ -47,7 +47,7 @@ - +