[ios] Reduced turn style shadow in dark mode

Signed-off-by: Yannik Bloscheck <git@yannikbloscheck.com>
This commit is contained in:
Yannik Bloscheck
2025-08-28 14:28:03 +02:00
committed by Yannik Bloscheck
parent f84461bff8
commit b761a60246

View File

@@ -92,13 +92,14 @@ extension MapStyleSheet: IStyleSheet {
s.backgroundColor = colors.linkBlue s.backgroundColor = colors.linkBlue
s.cornerRadius = .buttonSmall s.cornerRadius = .buttonSmall
s.shadowRadius = 2 s.shadowRadius = 2
s.shadowColor = colors.blackHintText s.shadowColor = colors.shadow
s.shadowOpacity = 1 s.shadowOpacity = 0.2
s.shadowOffset = CGSize(width: 0, height: 2) s.shadowOffset = CGSize(width: 0, height: 2)
} }
case .mapSecondTurnView: case .mapSecondTurnView:
return .addFrom(Self.mapFirstTurnView) { s in return .addFrom(Self.mapFirstTurnView) { s in
s.backgroundColor = colors.white s.backgroundColor = colors.white
s.shadowColor = colors.blackPrimaryText
} }
case .mapAutoupdateView: case .mapAutoupdateView:
return .add { s in return .add { s in