나머지 .font를 .appFont로 변경하여 한국어 텍스트와 다른 언어 텍스트에 다른 폰트 적용

This commit is contained in:
Yu Sung
2026-01-23 03:46:11 +09:00
parent b3331d5512
commit 9533b06d1e
21 changed files with 48 additions and 87 deletions

View File

@@ -20,12 +20,7 @@ struct ContentMainContentThemeView: View {
ForEach(0..<themeList.count, id: \.self) { index in
let theme = themeList[index]
Text(theme)
.font(
.custom(
selectedTheme == theme ? Font.preBold.rawValue : Font.preRegular.rawValue,
size: 16
)
)
.appFont(size: 16, weight: selectedTheme == theme ? .bold : .regular)
.foregroundColor(.white)
.padding(.horizontal, 24)
.padding(.vertical, 12)

View File

@@ -72,14 +72,7 @@ struct ContentMainViewV2: View {
let tabItem = tabItemList[index]
Text(tabItem.title)
.font(
.custom(
selectedTab == tabItem.tab ?
Font.bold.rawValue :
Font.medium.rawValue,
size: 16
)
)
.appFont(size: 16, weight: selectedTab == tabItem.tab ? .bold : .medium)
.foregroundColor(
selectedTab == tabItem.tab ?
.button :