diff --git a/FuelBoard/Assets.xcassets/AppIconArtwork.imageset/AppIconArtwork.png b/FuelBoard/Assets.xcassets/AppIconArtwork.imageset/AppIconArtwork.png new file mode 100644 index 0000000..197666e Binary files /dev/null and b/FuelBoard/Assets.xcassets/AppIconArtwork.imageset/AppIconArtwork.png differ diff --git a/FuelBoard/Assets.xcassets/AppIconArtwork.imageset/Contents.json b/FuelBoard/Assets.xcassets/AppIconArtwork.imageset/Contents.json new file mode 100644 index 0000000..22ad04b --- /dev/null +++ b/FuelBoard/Assets.xcassets/AppIconArtwork.imageset/Contents.json @@ -0,0 +1,13 @@ +{ + "images" : [ + { + "filename" : "AppIconArtwork.png", + "idiom" : "universal", + "scale" : "1x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/FuelBoard/OnboardingView.swift b/FuelBoard/OnboardingView.swift index 043ad29..0527604 100644 --- a/FuelBoard/OnboardingView.swift +++ b/FuelBoard/OnboardingView.swift @@ -96,12 +96,14 @@ struct OnboardingView: View { VStack(spacing: 0) { Spacer() ZStack { - Circle() - .fill(LinearGradient(colors: [.green, .blue], startPoint: .topLeading, endPoint: .bottomTrailing)) + // The app icon itself, with the standard iOS rounded-corner + // treatment (~22% of the size), so onboarding matches the + // Home Screen. + Image("AppIconArtwork") + .resizable() + .scaledToFill() .frame(width: 96, height: 96) - Image(systemName: "fuelpump.fill") - .font(.system(size: 44, weight: .bold)) - .foregroundStyle(.white) + .clipShape(RoundedRectangle(cornerRadius: 21, style: .continuous)) } .padding(.bottom, 28)