Use Multiple Shadows With .foregroundStyle
Daily Coding Tip 166
It is possible to combine multiple shadows, because every type that conforms to ShapeStyle has this function provided by Apple:
extension ShapeStyle {
public static func shadow(_ style: ShadowStyle) -> some ShapeStyle
}In other words, any ShapeStyle can return a new ShapeStyle that has a shadow applied to it.
A shadow Sha…


