나머지 .font를 .appFont로 변경하여 한국어 텍스트와 다른 언어 텍스트에 다른 폰트 적용
This commit is contained in:
@@ -39,7 +39,7 @@ struct QuarterTimePickerView: View {
|
||||
|
||||
Button(action: { self.isShowing = false }) {
|
||||
Text("확인")
|
||||
.font(.system(size: 16))
|
||||
.appFont(size: 16)
|
||||
.foregroundColor(Color(hex: "eeeeee"))
|
||||
.padding(.vertical, 10)
|
||||
.frame(width: proxy.size.width)
|
||||
|
||||
@@ -29,7 +29,7 @@ struct SelectDatePicker: View {
|
||||
|
||||
Button(action: { self.isShowing = false }) {
|
||||
Text("확인")
|
||||
.font(.system(size: 16))
|
||||
.appFont(size: 16)
|
||||
.foregroundColor(Color(hex: "eeeeee"))
|
||||
.padding(.vertical, 10)
|
||||
.frame(width: proxy.size.width - 53.4)
|
||||
|
||||
@@ -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 :
|
||||
|
||||
@@ -98,12 +98,7 @@ struct DayOfWeekDayView: View {
|
||||
|
||||
var body: some View {
|
||||
Text(dayOfWeek)
|
||||
.font(
|
||||
.custom(
|
||||
isSelected ? Font.preBold.rawValue : Font.preRegular.rawValue,
|
||||
size: 18
|
||||
)
|
||||
)
|
||||
.appFont(size: 18, weight: isSelected ? .bold : .regular)
|
||||
.foregroundColor(.white)
|
||||
.padding(.vertical, 8)
|
||||
.padding(.horizontal, 11)
|
||||
|
||||
@@ -19,12 +19,7 @@ struct SeriesMainGenreView: View {
|
||||
ForEach(0..<genreList.count, id: \.self) { index in
|
||||
let genre = genreList[index]
|
||||
Text(genre.genre)
|
||||
.font(
|
||||
.custom(
|
||||
selectedGenre.genre == genre.genre ? Font.preBold.rawValue : Font.preRegular.rawValue,
|
||||
size: 16
|
||||
)
|
||||
)
|
||||
.appFont(size: 16, weight: selectedGenre.genre == genre.genre ? .bold : .regular)
|
||||
.foregroundColor(.white)
|
||||
.padding(.horizontal, 24)
|
||||
.padding(.vertical, 12)
|
||||
|
||||
Reference in New Issue
Block a user