Skip to content

Commit

Permalink
難しいテキスト立場の設定
Browse files Browse the repository at this point in the history
  • Loading branch information
hypebeans committed Oct 20, 2023
1 parent cfcf64f commit 3ee21e1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
Binary file not shown.
7 changes: 7 additions & 0 deletions PumpkinSmash/GameFieldView/ScoreResultsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,17 @@ struct ScoreResultsView: View {
Color("PrimaryColor")
.ignoresSafeArea()
VStack {
Text("ゲーム終了")
.font(.custom("Kiwi Maru", size: 60))
.fontWeight(.black)
.foregroundColor(Color.white)
.overlay(
Text("ゲーム終了")
.font(.custom("Kiwi Maru", size: 60))
.fontWeight(.black)
.foregroundColor(Color("FourthColor"))
.offset(x: 2, y: 4)
)

Spacer()
Text("あなたのスコア結果")
Expand Down
6 changes: 4 additions & 2 deletions PumpkinSmash/TitleView/HowToPlayView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -125,14 +125,16 @@ struct HowToPlayView: View {
Image("normalTitle")
.resizable()
.aspectRatio(contentMode: .fit)
.scaleEffect(0.85)
.offset(x: -5)
.scaleEffect(0.9)
.offset(x: -25)
.frame(maxWidth: .infinity)
Text(mediumDesc)
.font(.custom("Kiwi Maru", size: 12))
.fontWeight(.bold)
.padding(.leading, -5)
}
.padding()

Spacer()
HStack(spacing: 0) {
Image("hardTitle")
Expand Down

0 comments on commit 3ee21e1

Please sign in to comment.