chore: make background black and set alpha 0.9 for the artwork

This commit is contained in:
CMK 2021-03-02 11:49:27 +08:00
parent 08d9f67f00
commit 965756b0f8
1 changed files with 2 additions and 1 deletions

View File

@ -65,7 +65,6 @@ extension WelcomeViewController {
setupOnboardingAppearance()
if traitCollection.userInterfaceIdiom == .phone {
view.backgroundColor = Asset.Welcome.Illustration.backgroundCyan.color
welcomeIllustrationView.translatesAutoresizingMaskIntoConstraints = false
view.addSubview(welcomeIllustrationView)
welcomeIllustrationViewBottomAnchorLayoutConstraint = welcomeIllustrationView.bottomAnchor.constraint(equalTo: view.bottomAnchor)
@ -74,6 +73,8 @@ extension WelcomeViewController {
welcomeIllustrationView.rightAnchor.constraint(equalTo: view.rightAnchor, constant: 44),
welcomeIllustrationViewBottomAnchorLayoutConstraint!,
])
view.backgroundColor = .black
welcomeIllustrationView.alpha = 0.9
}
view.addSubview(logoImageView)