[#439] Update illustrations (#440)

Closes #439
This commit is contained in:
Michal Fousek 2022-10-26 23:24:49 +02:00 committed by GitHub
parent 46e3d9646b
commit 9a5631d114
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
27 changed files with 46 additions and 60 deletions

View File

@ -36,15 +36,7 @@ struct OnboardingContentView: View {
.lineSpacing(2)
.padding(EdgeInsets(top: 0, leading: 10, bottom: 10, trailing: 10))
if viewStore.isInitialStep {
VStack(alignment: .leading) {
image
title
text
Spacer()
}
.ignoresSafeArea(edges: [.top])
} else if viewStore.isFinalStep {
if viewStore.isFinalStep {
VStack(alignment: .leading) {
title
.padding(.top, 73 * imageScale)
@ -55,13 +47,10 @@ struct OnboardingContentView: View {
} else {
VStack(alignment: .leading) {
image
.padding(.top, 73 * imageScale)
title
text
Spacer()
}
.ignoresSafeArea(edges: [.top])
}
}
}

View File

@ -26,17 +26,13 @@ struct RecoveryPhraseValidationFlowView: View {
.padding(.horizontal, 44)
.opacity(0.53)
}
.padding(.bottom, 20)
.padding(.bottom, 40)
CircularFrame()
.backgroundImage(
Asset.Assets.Backgrounds.calloutBackupFlow1.image
)
Asset.Assets.Backgrounds.calloutBackupFlow1.image
.frame(
width: circularFrameUniformSize(width: proxy.size.width, height: proxy.size.height),
height: circularFrameUniformSize(width: proxy.size.width, height: proxy.size.height)
)
.badgeIcon(.person)
Spacer()

View File

@ -24,15 +24,11 @@ struct RecoveryPhraseBackupFailedView: View {
}
.padding(.bottom, 40)
CircularFrame()
.backgroundImage(
Asset.Assets.Backgrounds.calloutBackupFailed.image
)
Asset.Assets.Backgrounds.calloutBackupFailed.image
.frame(
width: circularFrameUniformSize(width: proxy.size.width, height: proxy.size.height),
height: circularFrameUniformSize(width: proxy.size.width, height: proxy.size.height)
)
.badgeIcon(.error)
Spacer()
@ -74,7 +70,7 @@ struct RecoveryPhraseBackupFailedView: View {
}
.padding()
.navigationBarHidden(true)
.applyErredScreenBackground()
.applyScreenBackground()
}
}
}

View File

@ -28,15 +28,11 @@ struct RecoveryPhraseBackupSucceededView: View {
.padding(.vertical, 40)
VStack {
CircularFrame()
.backgroundImage(
Asset.Assets.Backgrounds.calloutBackupSucceeded.image
)
Asset.Assets.Backgrounds.calloutBackupSucceeded.image
.frame(
width: circularFrameUniformSize(width: proxy.size.width, height: proxy.size.height),
height: circularFrameUniformSize(width: proxy.size.width, height: proxy.size.height)
)
.badgeIcon(.shield)
}
.padding(.bottom, 40)
@ -76,7 +72,7 @@ struct RecoveryPhraseBackupSucceededView: View {
}
}
.navigationBarHidden(true)
.applySucceededScreenBackground()
.applyScreenBackground()
}
}

View File

@ -1,22 +1,25 @@
{
"images" : [
{
"filename" : "calloutBackupFailed.png",
"idiom" : "universal",
"scale" : "1x"
"filename" : "illus_alert_lighttheme.pdf",
"idiom" : "universal"
},
{
"filename" : "calloutBackupFailed@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "illus_alert_darktheme.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 228 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 797 KiB

View File

@ -1,22 +1,25 @@
{
"images" : [
{
"filename" : "calloutBackupFlow1.png",
"idiom" : "universal",
"scale" : "1x"
"filename" : "illus_bank_lighttheme.pdf",
"idiom" : "universal"
},
{
"filename" : "calloutBackupFlow1@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "illus_bank_darktheme.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 205 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 710 KiB

View File

@ -1,22 +1,25 @@
{
"images" : [
{
"filename" : "calloutBackupSucceeded.png",
"idiom" : "universal",
"scale" : "1x"
"filename" : "illus_bigsuccess_lighttheme.pdf",
"idiom" : "universal"
},
{
"filename" : "calloutBackupSucceeded@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "illus_bigsuccess_darktheme.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 689 KiB