나머지 .font를 .appFont로 변경하여 한국어 텍스트와 다른 언어 텍스트에 다른 폰트 적용
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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 :
|
||||
|
||||
Reference in New Issue
Block a user