mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +00:00
[ios] Reduced turn style shadow in dark mode
Signed-off-by: Yannik Bloscheck <git@yannikbloscheck.com>
This commit is contained in:
committed by
Yannik Bloscheck
parent
f84461bff8
commit
b761a60246
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user