Skip to content

Commit

Permalink
[Feat/#29] MeetingInfoState enum 구현
Browse files Browse the repository at this point in the history
  • Loading branch information
kms0233 committed Jan 15, 2025
1 parent 3f1c289 commit 1e839b8
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions Gongbaek_iOS/Gongbaek_iOS/Global/Enum/MeetingInfoState.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
//
// MeetingInfoState.swift
// Gongbaek_iOS
//
// Created by 김민서 on 1/16/25.
//

import SwiftUI

enum MeetingInfoState {
case cell
case detail
}

extension MeetingInfoState {
var titleFont: Font {
switch self {
case .cell: return .pretendard(.body1_m_16)
case .detail: return .pretendard(.body1_sb_16)
}
}

var infoFont: Font {
switch self {
case .cell: return .pretendard(.caption2_r_12)
case .detail: return .pretendard(.caption2_m_12)
}
}
}

0 comments on commit 1e839b8

Please sign in to comment.