Skip to content

Commit

Permalink
fix: 탭바 타이틀 폰트 수정(#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chandrarla committed Oct 30, 2024
1 parent b4a3884 commit 92159c4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Presentation/Sources/TabBar/RecordyTabBarController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ public final class RecordyTabBarController: UITabBarController, UITabBarControll

private func setStyle() {
let appearance = UITabBarAppearance()
appearance.backgroundColor = CommonAsset.recordyBG.color
appearance.stackedLayoutAppearance.normal.titleTextAttributes = [.foregroundColor: UIColor.clear]
appearance.backgroundColor = CommonAsset.viskitBlack.color
let font = ViskitFont.title3.font
appearance.stackedLayoutAppearance.normal.titleTextAttributes = [
.font: font
]
appearance.stackedLayoutAppearance.selected.titleTextAttributes = [.foregroundColor: UIColor.clear]
tabBar.backgroundColor = .clear
tabBar.tintColor = .clear
Expand Down

0 comments on commit 92159c4

Please sign in to comment.